Home » , » Resizing Your Images

Resizing Your Images

If you have a small web page image in JPG format and need to make it just a little bit smaller, you can do so simply by changing your image's HEIGHT and WIDTH values within your image tag. However, if you need to make a substantial change in the size of your image, this method is not recommended, as your file size will be the same.

Following is an example of a standard image and then the same image resized by changing the HEIGHT and WIDTH values:

Original Image
<IMG SRC="yourimage.jpg" WIDTH="96" HEIGHT="134" BORDER="0">

Resized Image
<IMG SRC="yourimage.jpg" WIDTH="45" HEIGHT="67" BORDER="0">

When resizing a web page image, please ensure that you make the same amount of change to both the HEIGHT and the WIDTH values to ensure the image will display properly.
Share this article :


Post a Comment

Copyright © Online Business - All Rights Reserved
Proudly powered by Blogger