Automatic Image Resizer | JavaScriptSource

Automatic Image Resizer

Cat Arriola Sep 7, 2005

General

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:

Notes

Source Code

Paste this source code into the designated areas.

External file

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


Head

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


Body

Paste this code into the BODY section of your HTML document


Leave a Response

(0 comments)