Hi Mat, Thanks for your reply.
I don't know if this is what you intended, but I inserted your macro before the macro in the $:/macros/ximg <file:///C:/Users/Len/Downloads/MyWiki/MyWikiPersonal.html#%24%3A%2Fmacros%2Fximg> tiddler. I then typed <<ximg "Photo.jpg">> in a new tiddler which produced a photo from the global directory as before, but it didn't have the desired clickable action. (<<imageit "Photo.jpg">> produced an empty thumbnail) As you've probably gathered, I've no idea how these things go together. Should I have done something else? Thanks Jon On Sunday, 17 December 2017 13:00:02 UTC, Mat wrote: > > I think this should work > > \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 > > > > <:-) > > -- 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/44240393-f0f4-4cc4-b064-3fd7acf52312%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.

