Hi Mat, Thanks for this and the instructions.
To be on the safe side I created a subfolder called "images" and put a photo in it. This part<<imageit "myprettyimage.jpg">> produced the thumbnail alright but when clicked, there's a "File not found" message as it's still looking in the main folder rather than the "images" subfolder. Almost there! Jon On Sunday, 17 December 2017 22:37:45 UTC, Mat wrote: > > 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/1b12a54d-7054-402a-abfd-fba00cc4f579%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.

