I added it to the development version of the ExhibitPlus skin. Just a couple of point to note there - you didn't close your comment with a --> so potentially there should be an open comment. I also replaced:
I just tried it on a folder of my files, and it prints out correctly and didn't seem to cause any problem. Maybe some of yours didn't work, as kaya said, because the comment was open in the code. Thanks for the tip.
Just added this feature to BPP v2.3 (development version) here and just uploaded a sample album to the following address (the prefetching is ON): http://photos.armondavanes.com/
But can't experience any extra speed getting the next and previous slides! It's the same.... Seems the browser has not cahced the siblings although the JS code is there for each slide (you can check it)...
The next _image.src was correctly generated for each slide, except the last one, of course. Your code didn't look the same as the above, if it was the nextimagepreload script in the head. When I went to the French site, I could hear my browser clicking as it loaded the next page in the background. I didn't hear that with your page, so that implies it wasn't preloading. It wasn't excessively slow in any case, but apparently it didn't preload.
Your pages look great on my 56K iBook (it reminded me that I haven't really looked at the sky in awhile). I saw the references to preloadnextimage near the top of the page, and the src for the upcoming page was there. It's a great feature, for sure. The next picture just pops up.
I was thinking about putting it in the Blue++ I already made, but I notice your code is quite different from just tacking it on near the end of the body. Since Blu++ has such complicated code anyway, maybe I should just wait for the next version. I'd hate to find out that the tack-on method means only a few browsers can read it correctly.
Many thanks for your skin. I was planning to lay out all those photo pages by hand when I came across JAlbum and your skin. It's a fine style.
Thanks for all your kind words...
If you and other guys are needing this feature, I can try to come up with a quick version (but definitely with less features and bug fixes) so that you can have it pretty soon!
I hate to rush on projects myself, so don't overwork on my account. I was just noticing that you weave it into the rest of your extensive code rather than tack it on. I'm very happy with the style of the pages, whether they're fast or slow. Anything's better than tables of pictures with blue underlined Next and Previous links.
I implemented this PRELOAD feature on my new album, and it works great on a DSL connection, but it didn't help with a slideshow problem that I've discovered when using dial-up with the BluPlusPlus v2.2 skin.
I've set up an album using the BluPlusPlus skin with images that are about 50-70 KB. I've set the slideshow timer to 5 seconds. I tested it with a 56k dial-up connection, and the problem is that the slideshow moves to the next slide before the current image has completely downloaded.
It doesn't matter whether I add this PRELOAD feature or not, because 5 seconds isn't long enough to download 60 KB images on dial-up. The PRELOAD script does work, but on dial-up with the BluPlusPlus slideshow it doesn't get the chance to fetch the next image because it's too busy downloading the current image.
The problem isn't with the PRELOAD feature, but with how the BluPlusPlus slideshow is set up. Unfortunately, the slideshow timer begins counting immediately, instead of once the page has completely loaded with the entire image being displayed. I recommend that it be changed so that the counter doesn't start until the page has completely loaded.
Thanks for the PRELOAD script. Thanks also to Armond for the BluPlusPlus skin. Just wanted to let you know what's going on so that you can improve BluPlusPlus.