image pre-loading

81 views
Skip to first unread message

Peter Merel

unread,
Aug 18, 2015, 4:23:14 AM8/18/15
to TiddlyWiki
Dear tiddleymeisters,

I've seen lots of JS ways to pre-load images. I really only have 3 sizable ones to worry about, but I do worry about them. I'm wondering whether there's a good Tiddly idiom (tiddliom?) for pre-loading, and maybe some magic system tiddler where it would be best to do that. I'm thinking it should happen after the default tiddlers have rendered to avoid making the user wait for it ... ?

Thinking this must be a commonplace challenge I did google for it but only found a TWC discussion that talked about MarkupPreHead which doesn't seem to exist any more ... or I'm not finding it ...

Thanks in advance!

Pete.

PMario

unread,
Aug 18, 2015, 12:19:21 PM8/18/15
to TiddlyWiki
Hi Peter,

There is no need to preload images. If you embed them they are already loaded, if the TW is shown. So the display of images will be immediate, since they are part of the TW.
-mario

Peter Merel

unread,
Aug 18, 2015, 5:29:15 PM8/18/15
to tiddl...@googlegroups.com
Hi Mario,

That would make sense except http://xscale.wiki my use case is external facing so I use external images to avoid slow load times. Hence the need to figure out where to preload since these images aren't part of the TW.

Cheers,
Pete.

--
You received this message because you are subscribed to a topic in the Google Groups "TiddlyWiki" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/tiddlywiki/uQ01OQnf1ks/unsubscribe.
To unsubscribe from this group and all its topics, send an email to tiddlywiki+...@googlegroups.com.
To post to this group, send email to tiddl...@googlegroups.com.
Visit this group at http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/3ad2dc93-99d5-4042-a3b5-20dddce41d9f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages