[geeklog-cvs] geeklog-1.3/system/classes upload.class.php,1.38,1.39
dhaun at iowaoutdoors.org
dhaun at iowaoutdoors.org
Sun Dec 19 05:12:30 EST 2004
Update of /var/cvs/geeklog-1.3/system/classes
In directory www:/tmp/cvs-serv27460/system/classes
Modified Files:
upload.class.php
Log Message:
When using mogrify (ImageMagick) to resize uploaded images, enclose the image name in double quotes instead of single quotes.
Index: upload.class.php
===================================================================
RCS file: /var/cvs/geeklog-1.3/system/classes/upload.class.php,v
retrieving revision 1.38
retrieving revision 1.39
diff -C2 -d -r1.38 -r1.39
*** upload.class.php 13 Oct 2004 19:00:18 -0000 1.38
--- upload.class.php 19 Dec 2004 10:12:28 -0000 1.39
***************
*** 526,530 ****
if ($this->_imageLib == 'imagemagick') {
$newsize = $newwidth . 'x' . $newheight;
! $cmd = $this->_pathToMogrify . ' -resize '. $newsize . " '" . $this->_fileUploadDirectory . '/' . $this->_getDestinationName() . "' 2>&1";
$this->_addDebugMsg('Attempting to resize with this command (imagemagick): ' . $cmd);
--- 526,530 ----
if ($this->_imageLib == 'imagemagick') {
$newsize = $newwidth . 'x' . $newheight;
! $cmd = $this->_pathToMogrify . ' -resize '. $newsize . ' "' . $this->_fileUploadDirectory . '/' . $this->_getDestinationName() . '" 2>&1';
$this->_addDebugMsg('Attempting to resize with this command (imagemagick): ' . $cmd);
More information about the geeklog-cvs
mailing list