View Full Version : [DHTML] CMotion Image Gallery Extended with PHP
06-18-2006, 01:35 AM
1) CMotion Image Gallery Extended with PHP
2) Nick Reale www.handyheroes.com
3) I took the CMotion Image Gallery and extended it to read a directory of thumbnails, place the code into the CMotion image gallery and display the thumbnails. Very simple. There are only four configurable variables.
or, ATTACHED BELOW (see #3 in guidelines below):
06-18-2006, 05:54 AM
Good call man! Very easy to use and makes this script a killer.
Is there any way to add an automatic image resize to this script?
Is there any way to have the php in a separate file like the DD PHP Photo Albumn script?
06-18-2006, 01:43 PM
The only way to do an image resize is either put in hard coded /variable image sizes in the PHP code or use a server side tool like Image Majik. Most servers don't provide that function so I did not include it.
It's Image Magick :) Actually, it's possible to use the GD image-manipulation library, which most servers support.
06-18-2006, 02:23 PM
Thanks Twey.. I'll give it a shot.
Not all though -- remember to include a check:
$serverHasGD = function_exists("imageCreateFromGIF");
06-18-2006, 02:44 PM
Ok, this may be a stretch, but is it possible for the script to create the full-size image and the thumbnail? Or assuming that the file you upload is the full-size image, could the script keep that image and create an additional thumbnail?
06-18-2006, 03:43 PM
Ok, let me have one of those, a small fries and large DP...
06-19-2006, 04:49 AM
A nice simple add-on. There are probably a lot of scripts on DD that could benefit from a corresponding backend script, namely, the scroller and image related scripts.
Powered by vBulletin® Version 4.2.1 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.