PDA

View Full Version : PHP autothumbnail



woodygui
12 Aug 2006, 06:04 PM
i am pretty new to php but i have a good foundation to a site started.

I need to incorporate a page where you can view pictures in the same way as the "filmstrip" view in windows explorer.

thumbnails at the bottom (or side) and selected picture displayed.

the one main feature I need is auto thumbnail, if possible.

thanks in advance!
woodygui

acmultimedia
16 Aug 2006, 01:35 PM
This can be done in PHP using either the built-in GD Library (http://uk2.php.net/manual/en/ref.image.php) or using ImageMagick (http://www.imagemagick.org).

If you have the ability to install php modules then ImageMagick may be a better option. Most shared hosts have enabled parts (if not all) of the GD Library. Check your phpinfo() for what you can do.

You can either create a thumbnail when you upload an image or create the thumbnail on the fly every time the thumbnail is viewed. In this case, I would recommend you create the thumbnail when the image is uploaded.

Hope this helps.