How to handle images effectively

2

i'm a trainee webmaster. I am using sprite for images and each page has set articles (from 30-40 articles) which will have separate images . The count approximately 10-15 images in section landing page and i want to change picture article basis.

The problem is each section have 30-40 articles , how to load it effectively by considering following factors

 downloading time,sprite size,no of http requests

ArK

Posted 2009-12-07T11:18:10.153

Reputation: 383

Answers

2

You don't really want to use sprites for everything... Sprites are best for images that are used on every single page on the entire site.

If you are having problems, you may want to find a new host with a faster upload speed - or be more patient.

Also, make sure there is nothing funny going on like cache is disabled so it re downloads all images each time.

If you are actually using large images and then shrinking them, you may want to adjust size first.

For example, if you have a 50px x 50px area and your image is 250px x 250px, then it is downloading the whole image and shrinking - it is going to waste, you should shrink the image first to the smaller size. Also look at using smaller image formats such as .JPG and .PNG to some extent.

... But your question is vague and I am not really understanding. If you have something specific you want to know, can you please rephrase the question.

William Hilsum

Posted 2009-12-07T11:18:10.153

Reputation: 111 572

now change question to specific – ArK – 2009-12-07T12:21:18.247

PNG can become really small if you use PNG-8 wisely. Don't think I would use regular PNG-24 for graphics on a web-site. – Svish – 2009-12-07T13:40:16.887