Javascript Used:
<script language="JavaScript">
function changeImgWidth(Image,newWidth) {
     Image.width=newWidth;
}
</script>

The IMG Html Statement:

<img id="img1" src="/bizdb-html/demo-images/lg/p014.jpg" onload="changeImgWidth(document.all.img1,'100')">

where "img1" is the statement id. '100' is the adjusted width of the image in number of pixels. Use a different statement id for each IMG call. For details, please see the Html source of this Web page.

Note: When using this Javascript, the image is only resized for display on the browser only. Its original dimension and file size will remain unchanged.

Examples:

The following shows the actual size of the image:

The image is now resized to a width of 100 pixels. The height is automatically adjusted.

The image is now resized to a width of 150 pixels. The height is automatically adjusted.

The image is now resized to a width of 200 pixels. The height is automatically adjusted.

The image is now resized to a width of 250 pixels. The height is automatically adjusted.