As I had to leave quickly when I first replied, here are some explanations.


This code works with ExternalImages <http://tiddlywiki.com/#ExternalImages>, 
so you would have to create tiddlers for each images (but the image is not 
fully integrated into the wiki), which may not be what you want.
You can try it directly in a new tiddler on tiddlywiki.com, the filter 
retrieves its two external images.
The CSS is here embedded into a style tag, but you can create a custom 
stylesheet <http://tiddlywiki.com/#Using%20Stylesheets> for that.

Another solution:

A first template tiddler for the modal, with this content:
<$image source=<<url>>/>

Then you use it with this code (that you can encapsulate in a macro, with 
the url as a parameter):
<$button class="tc-btn-invisible tc-thumbnail-image">
<$action-sendmessage $message="tm-modal" $param="template/picture" 
url="./images/Blurry%2520Lawn.jpg"/>
<$image source="./images/Blurry%2520Lawn.jpg" width={{!!imagewidth}}/>
</$button>




-- 
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 https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/2ff89e17-6ebf-4e14-9188-13c5e67071ab%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to