[PHP]
$mogResponse = exec("mogrify -size ${width}x$heigh t " .
$this->locationPath . '/' . $this->fileName . '
-resize ' .
$width . "x$height > +profile " .
$this->thumbLocationP ath . '/' . $this->fileName
.. ' 2>&1');
[/PHP]
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 imagecreatetrue color() is not an option in this case because I'm
working with PHP 4.1.2
Thanks
Phil
$mogResponse = exec("mogrify -size ${width}x$heigh t " .
$this->locationPath . '/' . $this->fileName . '
-resize ' .
$width . "x$height > +profile " .
$this->thumbLocationP ath . '/' . $this->fileName
.. ' 2>&1');
[/PHP]
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 imagecreatetrue color() is not an option in this case because I'm
working with PHP 4.1.2
Thanks
Phil
Comment