The trick is to use the image widget. Instead of:
[img width=150 class="tw-image" [{{!!imgref}}]]
Try this:
<$image width="150" class="tw-image" source={{!!imgref}}/>
Details here:
http://tiddlywiki.com/#ImageWidget
Note that the [img[]] syntax is just a shortcut for simple uses of the
image widget.
Best wishes
Jeremy
On Sat, Jun 28, 2014 at 9:58 PM, Stephan Hradek <[email protected]>
wrote:
> A macro should work.
>
> Something like this:
>
> \define myimage(width class)
> [img width="$width$" class="$class$" [$(myimgref)$]]
> \end
>
> <$set name="myimgref" value={{!!imgref}}>
> <<myimage width="150" class="tw-image">>
> </$set>
>
>
> --
> 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.