Image pre-loading for faster "next"

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?

Comments

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

    `<?php printPreloadScript(); ?>`
  • 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?
  • you could use something with slimbox, it will make all the thumbnails available as it loads the rest of the photos
  • 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?)
Sign In or Register to comment.