This looks nice! It appears to put all the right code in the right place. Now if only librarything servers would quit dying on me...
Are there any other widgets with :filter and :else options that I could use to do something similar w/ a link? Specifically, use isbn or isbn13 in link, but if they don't exist show this *other* link? I've been using [ext[ link format, but need to do some if/then... On Sunday, January 3, 2021 at 8:38:38 AM UTC-6 [email protected] wrote: > Here is an example on falling back to the generic image if no ISBN fields > are defined > > \define makeimg() > <$vars isbn={{{[{!!isbn}!is[blank]else{!!isbn13}]}}}> > <$image source={{{ [[ > http://covers.librarything.com/devkey/dev-key-goes-here/medium/isbn/]addsuffix<isbn>] > > :filter[<isbn>!is[blank]] :else[[generic image URL]] }}}/> > </$vars> > \end > > <<makeimg>> > -- 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 view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/3592f222-bdc1-422b-9221-b89ad6f5b6b3n%40googlegroups.com.

