ImageMagick (Imagick) thumbnail creation error

Get help with installation and running phpwcms here. Please do not post bug reports or feature requests here.
Post Reply
citrusluvr
Posts: 2
Joined: Tue 18. Nov 2003, 16:37
Contact:

ImageMagick (Imagick) thumbnail creation error

Post by citrusluvr »

I have been working with my ISP to resolve this issue. Permissions are set to 777 in all subdirectories of /home/suzyphp/phpwcms/. He has installed debugging code... and, including the debug info, this is what we get when we try to generate a thumbnail (all paths and directories look ok!):

creating thumbnail! wait a moment!
Array
(
[error] => no thumbnail exists
[max_width] => 538
[max_height] => 400
[image_name] => 1_7.jpg
[target_ext] => jpg
[thumb_text] => _ywb9EPgE3a
[image_dir] => /home/suzyphp/phpwcms/phpwcms_filestorage/1/
[thumb_dir] => /home/suzyphp/phpwcms/phpwcms_tmp/thumb_preview/
[image_thumb_name] => 1_7_ywb9EPgE3a.jpg
[command] => convert -colorspace RGB -type TrueColor -sharpen 2x40 -geometry "538x400>" -quality 85 -density 72x72 "/home/suzyphp/phpwcms/phpwcms_filestorage/1/1_7.jpg[0]" +profile "*" "/home/suzyphp/phpwcms/phpwcms_tmp/thumb_preview/1_7_ywb9EPgE3a.jpg"
)



click here to go back

Oliver, do you know where we should look for a problem?

thanks!
Florian
Posts: 119
Joined: Wed 19. Nov 2003, 16:50
Location: Hamburg
Contact:

Post by Florian »

Hello citrusluvr,

if it's avilable at your ISP (esp. on your server), take the GD2 functions for processing images (http://www.phpwcms.de/forum/viewtopic.php?t=83).
ImageMagik causes many problems right up in case of PERL. We had a lot trouble with it while building a product for the web. Whit GD(2) everything is fine.

Cheers,
Florian.
citrusluvr
Posts: 2
Joined: Tue 18. Nov 2003, 16:37
Contact:

When ImageMagic won't work, how do i set up GD?

Post by citrusluvr »

Thank you, Florian. I will share this with my server folks. Had hoped to be able to use Image Magick because Oliver says it handles more formats.

Now... where can i get more info on setting up GD when ImageMagick won't work?
User avatar
Oliver Georgi
Site Admin
Posts: 9919
Joined: Fri 3. Oct 2003, 22:22
Contact:

Post by Oliver Georgi »

This is hard to say - where you have problems. There is no large preview image created - so also no list image can be created. Which ImageMagick Version do you use? Do you have the most current version of this function? Maybe you have to setup the path to ImageMagick.

Oliver
Oliver Georgi | phpwcms Developer | GitHub | LinkedIn | Систрон
Florian
Posts: 119
Joined: Wed 19. Nov 2003, 16:50
Location: Hamburg
Contact:

Post by Florian »

Hello again,

Is the /home/suzyphp/... directory REALLY the root or ONLY the Webroot? Try to give IM the WHOLE path like /usr/local/home/www/webdirectoryroot. Also try with slash at the and and without. Further I would recommend, that you check the OWNER of /home/suzyphp/phpwcms/ -maybe it's nobody or root.

Cheers,
Florian.

B.T.W.: Here's the link to the requested Installation Guide: http://www.boutell.com/gd/manual2.0.15.html#buildgd.
At Boutell you will find also the version 2.0.15 of GD-Lib for download. Bulid should work without probs by using the guide. Don't forget to restart the Apache after installation (if you're using PHP as a module - gracefull is NOT enough as I assert deep in the night :wink: ) If you have any problems with the installation, feel free to post here. I will help as good as I can.
Post Reply