Closed (fixed)
Project:
Views cycle
Version:
6.x-1.0-beta1
Component:
Miscellaneous
Priority:
Critical
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
23 Mar 2009 at 21:46 UTC
Updated:
7 Apr 2009 at 21:50 UTC
Hi there,
I have enabled this great module, and it's working just fine. I have set up a new block in my left-sidebar, in a "cycle" view, which displays 1 picture from all my galleries (500 pics). The problem is the browser downloads all of these images, and displays them under each other, and then reverts back to one picture, and fades to another. You can see that this download of 500 pics takes quite a while (500 x 4kb) means 2mb for each page view!!!
Users are experiencing a slow website after enabling this module. Is there a way to stop the browser from downloading all these images?
Greetings.
Comments
Comment #1
Crell commentedSince the cycle plugin for jquery requires a "real" list to begin with, not really. The non-JS version of the HTML is simply an unordered list of images. If images weren't loaded until they were used, it would also create a considerable slowdown as each image is loaded while trying to fade it in.
I think your best bet is to, well, not use 500 images. :-) If you still want access to all of them, you can have the view pull, say, 10 images at a time ordered by random. That way you get a different 10 images on each page load.