[jQuery] load new image only when fully loaded

2009-12-01 Thread jerome.chevreau
Hey guys, I am struggling to load my piuc at the right time. I am injecting an img which once loaded must call a function which will take care of adjusting the size according to the width and height of the gallery. Online there is a little delay, and my pics appears at the wrong time. [CODE] //

Re: [jQuery] Load image gallery faster - or tips

2009-11-17 Thread jerome.chevreau
Liam Byrne wrote: > > Images can only load as quickly as their connection will allow. > > Your best option is to load the first set of thumbnails (if there's, say, > 12 per page I load 24) and the first image, and then dynamically load the > remainder via ajax or other method. > > Liam > >

[jQuery] Load image gallery faster

2009-11-17 Thread jerome.chevreau
Hi everyone, I have an image gallery and i would like to know if there is a way to load my images faster so the user dont have to wait for a long time. The image size play a big role in it. I practically load all the images upfront before showing the big image and thumbs. Is it a good practice or