Automatic Image Resizer | JavaScriptSource

Automatic Image Resizer

Cat Arriola Sep 7, 2005


This script will resize a group of images to a preset maximum width. Useful for regulating picture size, especially on sites where images are posted at random by multiple users.

photo 1 photo 2 photo 3
Live demo:


Source Code

Paste this source code into the designated areas.

External file

Paste this code into an external JavaScript file named: automaticImageResizer.js


Paste this code into the HEAD section of your HTML document.


Paste this code into the BODY section of your HTML document

Leave a Response