Member
Member
dd-b   2008-09-01, 05:05
#1

A few of the better sites, like zenfolio.com, have their code pre-fetch images if the user hasn't requested anything else. This results in spectacularly fast advance from image to image much of the time (you can, of course, overrun it with fast clicks).

I've seen hints in a number of theme descriptions and I believe some forum posts that some themes in some mode support some kind of image pre-loading. But the ones I've tried (small random assortment) give ordinary, slow, speeds when advancing to the next image.

So, does anybody know which themes give good performance advancing through an album image by image?

Member
Member
krainbolt   2008-09-05, 05:39
#2

If you want to utilize pre-loading, place the following code into the `` tag in your image.php file:

``

Member
Member
dd-b   2008-09-06, 16:22
#3

This doesn't seem to have worked; it's still slow, and I can see the progress bar go across. (It's not horribly slow, but it certainly seems to be re-downloading the picture each time I view it; not even caching, it appears!!!!).

The image.php file to modify is the one in the themes subdirectory for the theme I'm currently using?

Should this work specifically with the "example" theme distributed? Or does it also have to be a "compatible" theme?

Member
Member
tomc   2008-09-06, 16:39
#4

you could use something with slimbox, it will make all the thumbnails available as it loads the rest of the photos

Member
Member
dd-b   2008-09-06, 19:43
#5

Oh, now I remember slimbox; it's the one that does fancy animation of the new photo coming in, such that even though the photo seems to be available instantly, you don't actually get to look at it for at least as long as it would have taken to download!

Epic fail!

(As used in the "Effervescence" theme, anyway; possibly that feature is selectable at the theme-writing level?)

  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.