cferrero
13th of April 2005 (Wed), 14:44
I'm having some trouble getting IM to create microthumbs and thumbs from mobile phone pics: 352x288 pixels in size.
The resize method I have uses Imagemagick, with 100% resizing (i.e. sizes are preserved). No sharpening. Remove profiles is checked.
If I use this method in an associated path, I get an IM error:
msg 3946 | imagemagick: IMAGEMAGICK COMMAND | /usr/bin/convert -size 43x35 UPLOAD/Image005.jpg -resize 43x35! +profile '*' -unsharp 0.6x0.7+2+0.1 -quality 67 UPLOAD/ee_temp_upload/Image005.jpg
IMAGEMAGICK ERROR:
POSSIBLE REASONS:
SAFE MODE ON? EE can not use ImageMagick when is it located outside PHP safe mode exec dir.
IMAGE IS EMPTY? Perhaps source image was zero size.
IMAGEMAGICK PATH CHANGED? Maybe your server admin has moved IM to another location.
FOLDER PERMISSIONS WRONG? check that UPLOAD folder and all folders inside it are chmod 0777 (full permissions)
If I use *exactly* the same resize method, but check the Watermark option, IM works fine and creates both thumb and microthumb correctly.
This example shows what I mean:
http://www.cferrero.net/gallery/list.php?exhibition=9&pass=public&lang=eng
Test1 and Test3 were uploaded with the watermark option checked. Test2 was uploaded without the watermark option.
Note that this problem only occurs with small images...if I upload an 800x600, for instance, microthumbs/thumbs work fine whether I have watermarking checked or not. Test4 in that gallery is a standard 800x600 image, uploaded using the same resize method, watermark option unchecked.
Any ideas?
The resize method I have uses Imagemagick, with 100% resizing (i.e. sizes are preserved). No sharpening. Remove profiles is checked.
If I use this method in an associated path, I get an IM error:
msg 3946 | imagemagick: IMAGEMAGICK COMMAND | /usr/bin/convert -size 43x35 UPLOAD/Image005.jpg -resize 43x35! +profile '*' -unsharp 0.6x0.7+2+0.1 -quality 67 UPLOAD/ee_temp_upload/Image005.jpg
IMAGEMAGICK ERROR:
POSSIBLE REASONS:
SAFE MODE ON? EE can not use ImageMagick when is it located outside PHP safe mode exec dir.
IMAGE IS EMPTY? Perhaps source image was zero size.
IMAGEMAGICK PATH CHANGED? Maybe your server admin has moved IM to another location.
FOLDER PERMISSIONS WRONG? check that UPLOAD folder and all folders inside it are chmod 0777 (full permissions)
If I use *exactly* the same resize method, but check the Watermark option, IM works fine and creates both thumb and microthumb correctly.
This example shows what I mean:
http://www.cferrero.net/gallery/list.php?exhibition=9&pass=public&lang=eng
Test1 and Test3 were uploaded with the watermark option checked. Test2 was uploaded without the watermark option.
Note that this problem only occurs with small images...if I upload an 800x600, for instance, microthumbs/thumbs work fine whether I have watermarking checked or not. Test4 in that gallery is a standard 800x600 image, uploaded using the same resize method, watermark option unchecked.
Any ideas?