One of the great things about macros written with TiddlyWiki is that, if you used all core components, they will continue to be backward compatible no matter how much time has passed.
I just ran a test, and the 4 year old code still works. With this particular macro, what is going to matter most is the directory structure of your images. It's expecting that you will put a directory below your TW directory, and then a subdirectory "thumbs" below that. The default image directory was TW-Images, but you can supply a different image path. So you might explain a bit about your set-up, and the image names you're using. Good luck -- Mark On Sunday, November 25, 2018 at 6:04:25 PM UTC-8, Roger Ferrari wrote: > > Hi, sorry to bring such old discussion, but I am trying to reproduce this > macro and it doesn't work for me. > > I created it with the tiddlywiki technique to implement global macros > (macros defined in tiddlers with the $:/tags/Macro tag) > > and the syntax is exactly the same as you show above, do you have any idea > what could I possibly be doing wrong? Thank you so much for any help and > your time. > > > On Monday, November 10, 2014 at 7:22:20 PM UTC-2, Mark S. wrote: >> >> You could roll your own macro that would do some of that: >> >> \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">> >> >> This produces a 1/4 size clickable "thumb" (no actual thumb is generated). >> >> To actually generate a thumb would probably take a FF plugin. >> >> The tiddlyclip plugin (http://tiddlyclip.tiddlyspot.com/) can capture >> screenshots of web pages, BTW. >> >> >> On Monday, November 10, 2014 10:57:50 AM UTC-8, steve wrote: >>> >>> Hi >>> >>> I am using TW5 to write documentation for a application and I would like >>> to embed screenshots in the text >>> So far I am able to have a clickable link to the image (see below) >>> >>> [ext[App Screenshot|./externalFiles/image.tiff]] >>> >>> What I would really like to do is: >>> * have the image displayed in the tiddler without having to click on a >>> link (good); >>> * have a thumbnail of the image displayed; click on thumbnail to see the >>> full resolution image (better) >>> * generate the thumbnail "on the fly" without having to a separate >>> thumbnail image; click on the thumbnail to see the full resolution image >>> (best) >>> >>> Steve Wharton >>> >> -- 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/54340cfb-75db-454d-8e22-b67989cfc397%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.

