Question:
Image load time reduction?
anonymous
2009-05-17 01:53:16 UTC
I have a site which includes a gallery of dozens of images on their own page, neatly laid out in a table. but the load time for all of the images is very high i reduce them to thumbnail size using the code, with them being a link to the fullsized image (all are 1440x900)

is there a javascript or html code i could use to make them load faster?
Six answers:
hawkal2k5
2009-05-17 02:09:56 UTC
The thing is that the whole reason it is taking as long as it does to load the webpage is as other have said while they maybe thumbnails the browser still has to load the whole image.



There is nothing you can do in html or javascript that will change that. It's just the nature of the beast. If you really want to load your gallery quicker then make some seperate low resolution thumbnails that links to the full scale image.
Poo Rock
2009-05-17 03:05:45 UTC
The problem you are having is because code is still downloading the whole image and resizing it to a thumbnail size. This helps you on subsequent pages that view the images in full size because it will have been downloaded already. However, the initial page with all the images will be painfully slow to load and everyone will have left you site. This is why almost all sites will use separate thumbnail sized files.



What you might consider is to organize your images in separate folders and have a script duplicate the images in different sizes. For example, have 2 or 3 folders named: thumbnail, medium, and large. Then place the full sized images in the large folder and have a script copy and reduce the sizes in the medium and thumbnail folders. This way you can keep the file names the same in each folder.
sjamms
2009-05-17 02:00:05 UTC
Why not create separate thumbs? Make a macro in PS to automate the process. You are essentially making the viewer load every single full size image on that page. The only way around it is to create separate thumbs.
?
2016-10-06 07:11:20 UTC
Vibration relief is as quite some a gimmick as autofocus lenses and autometering cameras. an identical became asked of automated transmissions and electric powered starters in vehicles. presently, my Nikon 18-200mm VR lens is fixed on my digicam physique ninety% if the time. a pair of years in the past, I took a 2 week journey in the time of China, and the VR characteristic enabled me to seize photographs that could have been lost. I snapped farmers with oxen on the geographical region as I bounced alongside rural u . s . roads interior a small tourbus. After working/strolling/crawling up the super Wall, my legs have been so shaky that anyone of my photographs could desire to have been blurs. Non-flash photographs taken interior the chambers of the Terracotta Warriors got here out suited. i did no longer %. a tripod or monopod, and that they have got been not often ignored. Is VR a gimmick? confident, notwithstanding it particularly is a gimmick i'm a super fan of.
anonymous
2009-05-17 02:03:13 UTC
try creating smaller images and loading them... and once they are clicked, they link to the higher resolution version
Tania dogi
2009-05-17 02:39:31 UTC
to get world no 1 ans just click free.........

php tutorial

http://phplen.com/


This content was originally posted on Y! Answers, a Q&A website that shut down in 2021.
Loading...