@Pak: Thanks for reminding us about the full <img>
tag (which I’m noticing only now, a year later, after a search on related questions).
After all, invoking the _canonical_uri
field takes over a whole tiddler’s behavior, and in some cases, dedicating a separate tiddler to each desired image is noisy and inefficient.
For example, imagine a whole set of book tiddlers, each of which has a single corresponding cover image online, which will generally be referenced only by that same tiddler.
Being able to paste the bare url into an image-url field right in that same tiddler is very convenient, and still permits us to apply style flexibly through templates using the <img>
tag approach.
(I am embarrassed to admit I had previously settled for putting the whole styled [img[...]]
markup into a field, after bumping up against the same problem as @Ori and failing to consider an html-tag solution. This meant that a style-change decision, such as wanting all those cover images to float right, would involve editing the relevant field in each affected tiddler. )
-Springer