Hi Mark, Do you mean using this macro alone, instead of what's gone before?
In which case I put it into a tiddler, changed your example folder path, tagged it with $:/tags/Macro and in a separate tiddler inserted <<imageit "Photoname.jpg">> However, no luck. What I did notice though is the macro tiddler produced a thumbnail which wanted to find...ImageFolder/$path$$image$. and the other tiddler didn't show anything. Cheers Jon On Sunday, 17 December 2017 20:57:31 UTC, Mark S. wrote: > > This should do literally what you want: > > \define imageit(image:"image.jpg",path:"TW-Images/2017/") > <a href="$path$$image$" target="new"><img src="$path$$image$" width="25%" > height="25%" /></a> > > BTW, I have a variation of Tobias' macro that allows me to configure the > image path with a drop-down selection of paths. So it's easier to hop > between platforms. At least in theory. > > -- Mark > > > > > On Saturday, December 16, 2017 at 11:42:55 PM UTC-8, Jon wrote: >> >> Hi, >> >> This macro provided by Mark S in an earlier post >> <https://groups.google.com/forum/#!topic/TiddlyWiki/Klz78UyX_mI> will >> give a clickable thumbnail image which will then go to full size in the >> browser. Inserting the macro in a tiddler and then tagging it with >> $:/tags/Macro >> will then, of course, make this a global effect for all photos in the wiki >> eg. <<imageit "PictureFolder/picture 1.jpg">> (the quotes around this >> part "$image$" now allows for a gap in the picture file name). >> >> \define imageit(image:"image.jpg") >>> <a href="$image$" target="new"><img src="$image$" width="25%" height= >>> "25%" /></a> >>> \end >>> >>> e.g. >>> >>> <<imageit "images/google_drive.png">> >>> >>> >>> >> I think this is brilliant, and I'm going to apply it retrospectively to >> all the pictures in my wiki. >> >> Whilst I'm at it, I'd also like to incorporate a global folder path for >> external images <http://tobibeer.github.io/tb5/#External%20Image%20Path>. >> >> So the question is, how do I join these two macros together? >> >> Thanks >> Jon >> >> -- 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/763efb2a-ac02-48ef-9f5d-635270e7a5f4%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.

