ranking Sort Sort   |   date Sort Sort   |   member Sort Sort

Date Submitted Sun. Sep. 17th, 2006 9:05 AM
Revision 1
Helper ffxfiend
Tags "images" | PHP | phpcode
Comments 3 comments
You can use this function to dynamically generate html "width/height" for use with displaying a thumbnail image usingthe original image. This will help save in making dup images just for display as a thumbnail.

It takes two arguments, the path to where the image is stored and the desired width or height.

Please comment or improve this code .
Date Submitted Sun. Aug. 13th, 2006 2:23 PM
Revision 1
Helper snowdonkey
Tags "array" | "images" | "javascript" "preload"
Comments 1 comments
Load images more quickly in a web page by having the browser cache them before they are requested by the user.

This script specifies the location of images that share a common folder. It can be used for multiple images and folders.

This method uses less code and is more maintanable than specifying the location of each image individually.