Hello,

I wonder if these lazyload scripts that target images work really?!
For example, I have a page with 300 images. I pull the filenames out a
database and put them all on the screen.
I have a domready function that collects all images and set their src
to a spacer.gif
When I then look at the Net > Images tab in Firebug, I still see 300
requests to those (original) images and it takes an awful lot of time
to load the page.
In the end the images are replaced on screen with the spacer gif, but
I didn't win much time here.

At first I wondered if it was my php script that made a thumbnail of
the original image which for outputted (e.g. <img src="image.php?
file=blabla.jpg&size=....), but when I left that out and set the
original image file as src, it didn't make any difference.

Ehmm, am I missing something here or..? I was expecting that domready
event that replaced img.src with the spacer would prevent or cut off
the loading of the original image...

Reply via email to