GD2 create thumbnail error

Get help with installation and running phpwcms here. Please do not post bug reports or feature requests here.
Post Reply
Moozie
Posts: 164
Joined: Sat 8. Nov 2003, 00:21
Location: Netherlands

GD2 create thumbnail error

Post by Moozie »

I ise the GD2 image converter.
It worked fine until now When uploading an image it doesn't create a thumb automatically. Clicking create thumb returns an error:

Code: Select all

Error while writing file to storage (1).
When I click an existing thumb (most made by Imagick) and click create thumbnail again i get:

Code: Select all

Warning: getimagesize(/home/httpd/vhosts/mydomain.nl/httpdocs/phpwcms/phpwcms_filestorage/1/1_14.jpg): failed to open stream: Permission denied in /home/httpd/vhosts/mydomain.nl/httpdocs/phpwcms/include/inc_act/act_imagick.php on line 86

file format problem: check the given image (CMYK JPEG?) 
 
Any clue on this?
oops
Posts: 35
Joined: Tue 18. Nov 2003, 01:14
Contact:

Post by oops »

If you have installed ImageMagick it is recommend to use it because of ImageMagick's support of many different image formats. But GD2 should be available on any current PHP installation [check your phpinfo();]. GD2 creates much better images than GD1 - it is quite fast. It is not possible to handle CMYK JPG files with GD. Only GIF, JPG/JPEG, PNG are supported in GD -> phpwcms will safe JPG only.
Post Reply