Optimizing Your Images
If you are using assistive technology and are unable to read any part of the HostMonster website, or otherwise have difficulties using the HostMonster website, please call 866-573-HOST and our customer service team will assist you.
Skip to main content

HostMonster Web Hosting Help

Optimizing Your Images

Bitmapped (or Rasterized) Graphics

When producing new versions of any graphic, always use the original to make each new version. This will retain as much of the quality as possible. Always ensure that the image mode is on RGB color.

Each time a graphics package shrinks an image, it reduces the number of colors , therefore reducing the quality. So if you use the original every time, you will always get the most colors possible.

Unless the image is a vector image, you can't create a good quality larger version as there won't be enough colors to render the image at the same quality.

Once a graphics package, such as Adobe Photoshop or Adobe Fireworks , has optimized the graphic, you cannot get back to the original quality. GIFs are indexed color and JPGs may have their quality reduced to shrink the file size.

There will always be a sacrifice between quality and file size. A smaller file size will result in faster download times.

Re-sizing Images in a Web Page

Never use the width and height attributes of the < img > tag in the HTML of a web page to resize images. If you use this method to reduce the image size, you will increase the download time of the page as a whole. This is because the browser has to "re-draw" the image at an incorrect size which takes longer.

Avoid using the same technique to increase the size of an image. It severely reduces image quality as well as taking longer to download. Use you favorite graphics software to re-size your images properly and include the correct width and height dimensions for a faster download. The result will be a better looking website as well as faster download times.

Knowledgebase Article 237,835 views bookmark tags: images optimize


Was this resource helpful?

Did this resolve your issue?


Please add any other comments or suggestions about this content:





Recommended Help Content

Optimizing MySQL: Queries and Indexes Article 1 of 4 Courtesy of: Ian Gilfillan Badly defined or non-existent indexes are one of the primary reasons for poor performance, understanding and then fixing
Knowledgebase Article 222,259 views tags: indexes mysql optimize optimizing queries query

Optimizing MySQL: Queries and Indexes Article 3 of 4 Courtesy of: Ian Gilfillan Ordering by surname is a common requirement, so it would make sense to create an index on surname. But in this example o
Knowledgebase Article 222,692 views tags: cpu exceeded index indexes mysql optimize optimizing queries query

Optimizing MySQL: Queries and Indexes Article 2 of 4 Courtesy of: Ian Gilfillan Some knowledge of how indexes work allows you to use them more efficiently. Firstly, note that when you update a table w
Knowledgebase Article 189,197 views tags: indexes mysql optimize optimizing queries query

Related Help Content

Optimizing MySQL: Queries and Indexes Article 4 of 4 Courtesy of:Ian Gilfillan Most systems need to be highly optimized for selects - take a news site which performs millions of queries per day, but w
Knowledgebase Article 217,356 views tags: cpu exceeded index indexes mysql optimize optimizing queries query

How to repair and optimize your database using phpMyAdmin:
Knowledgebase Article 443,353 views tags: database mysql optimizing repairing slow speed

Why don't my images display on my site?
Knowledgebase Article 256,284 views tags: display image images link site website

How do I view Thumbnails of images in a directory? How do I scale images? How do I convert an image to a jpg, gif, bmp, or png?
Knowledgebase Article 257,962 views tags: bmp gif images jpg manager png scale thumbnails

Tips and tricks to make your WordPress blog load faster
Knowledgebase Article 288,581 views tags: optimizing wordpress

How can I protect the images on my website?
Knowledgebase Article 292,811 views tags: click code image images javascript protect save saving script tips tricks

I need to protect the /images folder to not show images when people type in the correct URL like www.mydomain.com/images/ to protect from prying eyes.
Knowledgebase Article 174,538 views tags: hotlink htaccess protection

How to Add Images to WordPress
Knowledgebase Article 87,760 views tags:

This site utilizes JavaScript to function correctly. Looks like it's disabled on your browser. Please enable it for your best experience.

For instructions on enabling JavaScript, click here