Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Phil Powell
July 27, 2004, 8:36 pm
rate this thread
$mogResponse = exec("mogrify -size $x$height " .
$this->locationPath . '/' . $this->fileName . '
-resize ' .
$width . "x$height > +profile " .
$this->thumbLocationPath . '/' . $this->fileName
.. ' 2>&1');
This attempt at creating a thumbnail only causes the original image to
be resized while creating a "ghost image" in the /thumb folder where
the thumbnail should be.
Could someone show me exactly how to use mogrify to generate a
thumbnail in another folder while keeping the original image intact?
BTW imagecreatetruecolor() is not an option in this case because I'm
working with PHP 4.1.2
- » Use to use mogrify to create a thumbnail of an image
- — Previous thread in » PHP Scripting Forum