Hi John,
My first thought is delivering smaller / lower res images that are saved as
> tiddlers and can be delivered via {{tiddler-image-name}} usage.
>
try this:
- define a tiddler eg: myImageMacro and tag it: $:/tags/Macro
\define image(uri, tiddler, altOnline:"online image not found"
altOffline:"offline image not found")
<$reveal state="offline" type="match" text="">
<$image source="""$uri$""" alt="""$altOnline$"""/>
</$reveal>
<$reveal state=offline type=match text="offline">
<$image source="""$tiddler$""" alt="""$altOffline$"""/>
</$reveal>
\end
Usage:
<<image uri:"https://example.com/your-image.jpg"
tiddler:"your-tiddler-small.jpg">>
You'll need 2 buttons somewhere to activate and deactivate offline mode eg:
<$button set="offline" setTo="offline" >
Activate Offline mode!
</$button>
<$button>
<$action-deletetiddler $tiddler="offline"/>
Activate online mode!
</$button>
have fun!
mario
--
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/3e1c71a4-e955-488f-850a-34d253dbd0cd%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.