Correction - it does work!! Sorry, I'd missed one of the quotes around the image file.
Great, thanks Jon On Saturday, 16 December 2017 20:32:43 UTC, Jon wrote: > > Hi Mark, > > thanks for your reply but unfortunately that doesn't seem to work... > > Jon > > On Saturday, 16 December 2017 20:15:42 UTC, Mark S. wrote: >> >> Try putting quotes around the attribute values: >> >> \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">> >> >> >> Good luck, >> Mark >> On Saturday, December 16, 2017 at 10:41:09 AM UTC-8, Jon wrote: >>> >>> Hi, >>> >>> I came across the macro below from Mark S (here >>> <https://groups.google.com/forum/#!msg/tiddlywiki/6pU_xG0VJec/G9S0xG3KhxMJ;context-place=searchin/tiddlywiki/tw5$20external$20images$20button%7Csort:date>) >>> which >>> creates a clickable thumbnail image which then opens full size. >>> >>> However, I've noticed that it doesn't work if the file name of the image >>> has a gap eg. "image name.jpg" >>> >>> Anyone know how to fix it for this situation? >>> >>> Thanks >>> Jon >>> >>> >>> \define imageit(image:"image.jpg") >>> <a href=$image$ target="new"><img src=$image$ width="25%" height="25%" >>> /></a> >>> \end >>> >>> e.g. >>> >>> <<imageit "TW-Images\chimps_77646868_3patrol.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/c93d0c60-8b97-404d-899d-ce2daf3bbd27%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.

