Jon, this is how you would use this. Assume you have a subfolder in your TW 
directory (i.e where your TW resides) called "images".

In a tiddler you write 

title: whatever you want
tags: $:/tags/Macro
text:
\define imgpath(img) images/$img$

\define imageit(image:"image.jpg")
<$set name=path value=<<imgpath "$image$">>>
<a href="$image$" target="new"><img src=<<path>> width="25%" height="25%" 
/></a>
</$set>
\end

Then in another tiddler you use it like so: 

<<imageit "myprettyimage.jpg">>


<:-)

-- 
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/982e6aee-ea4b-4355-9956-a8648d5d35a9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to