Hi Dave

The [img[url]] syntax creates an instance of the <$image> widget. That
means that you can use it with URLs or with images that have been imported
as tiddlers. The HTML <img> syntax only works with URLs.

If you're just manually creating links to images then probably the main
reason to use the _canonical_uri approach is so that you can refer to an
image via a convenient tiddler title instead of the long URL. Users can
also open external image tiddlers directly in the story view, without
needing to open a tiddler and type some codes.

The purpose of the _canonical_uri field is to enable us to build
TiddlyWikis that refer to image tiddlers via a URL instead of embedding it
as a base 64 URI - it was actually implemented in response to your
experiments with 80MB TiddlyWiki's containing lots of images.

With external images, we can have a single representation of an image
tiddler on the server, but have the freedom to elect to serve it to the
browser either as an external image or embedded into the file.

Best wishes

Jeremy




On Tue, Dec 9, 2014 at 9:49 PM, David Gifford <[email protected]> wrote:

> Hi all
>
> Just curious what the practical difference is between creating a tiddler
> with an image link like this:
>
> <img src="http://blablabla.jpg";>
>
> and creating a tiddler with an image link like this:
>
> [img[http://blablabla.jpg]]
>
> and creating a tiddler with an image link like this:
>
> field: _canonical_uri http://blablabla.jpg
>
> Other than the fact that the second method takes longer and requires you
> to remember the long and techish term _canonical_uri?
>
> I have looked at several of the embedding images how tos (tiddlywiki.com,
> tb5, and Wiki reference wiki), but am left unclear why the last of the
> three methods was even created in the first place. I am confident there is
> a reason, thus my question. Thanks.
>
>
>
>  --
> You received this message because you are subscribed to the Google Groups
> "TiddlyWiki" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/tiddlywiki.
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Jeremy Ruston
mailto:[email protected]

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.

Reply via email to