If you use a lot of images in your Twine game, it would be very good of you if you preloaded them at the start of the game - having to wait for images to load during a story, even momentarily, can be distracting.
Now you could bother to convert them all to inline Base64, but there's other, less intrusive ways. You could, rather, put every image in your story in invisible img tags in the Start passage:
<html> <img src=" [url of an image ] " style="visibility:hidden; width:0px; height:0px;" > ... </html>
(function(){var r="";var s=Wikifier.formatters;for(i=0;i < s.length;i++){if(s[i].name=="image"){r=s[i].lookahead;break;}}var div=$("storeArea").firstChild;while(div){if(r){k(new RegExp(r,"mg"),4);}var b=String.fromCharCode(92);var re="url"+b+"("+b+"s*['"+'"](.*?)'+"['"+'"]'+b+"s*"+b+")";k(new RegExp(re,"mg"),1);div=div.nextSibling;}function k(c,e){do{d=c.exec(div.innerHTML);if(d){var i=new Image();i.src=d[e];}}while(d);}}());
This will only work for images set using the "img" markup in Twine - images in HTML blocks won't be included.
Version history: