auto thumbnailing


ok here’s the deal…i’ve been making a pictures page for this band, and i have a script that will display all of the pictures, but i need a script to auto thumbnail them…does anyone know a way to do this?

my script:

[php] <?

$dir = “images/march12/”;
echo “$dir”;
$handle = opendir($dir);

while(false!==($file = readdir($handle))){
echo “nt


?> [/php]


You will need to look into using GD for this. PHP can dynamically make Thumbnails for you, but you will need to have the GD Library installed. Start here to figure out how to use the GD Library: