image.module is giving Unable to create thumbnail image

neoliminal - September 19, 2006 - 16:16

I'm getting the following errors when I try to upload an image using the imageupload.module:


• Unable to create thumbnail image
• Unable to create preview image
• The selected file /var/www/html/drupal-4.7.3/files could not be copied.
• The selected file /var/www/html/drupal-4.7.3/files could not be copied.

I've tried moving ImageMagick (convert) inside the drupal directory, but that didn't seem to help.

Does anyone have a solution or suggestion?

I'm now getting read errors

neoliminal - September 19, 2006 - 19:21

I'm now touching the files to get them created, but they end up zero bit sized:

drwxrwxr-x  2 apache apache            4096   Sep 19 15:18 .
drwxrwxr-x  3 apache apache   4096   Sep 19 12:45 ..
-rw-rw-r--  1 apache apache          205541 Sep 19 15:18 DC.jpg
-rw-r--r--  1 apache apache               0      Sep 19 15:18 DC.preview.jpg
-rw-r--r--  1 apache apache               0      Sep 19 15:18 DC.thumbnail.jpg

I'm now getting read errors on getimagesize(); image.inc on line 89

I'm having the same problem

orionvortex - October 13, 2006 - 15:21

Mine happened all of the sudden and I'm not sure why. It seems that my image module is no longer trying to use Imagemagick for thumbnails but is instead trying to use GD2. I have no idea what happened or how to fix it. My errors are:

getimagesize(): Read error! in /hsphere/local/home/chibabea/chibabeat.com/includes/image.inc on line 89.
imagejpeg(): gd-jpeg: JPEG library reports unrecoverable error: in /hsphere/local/home/chibabea/chibabeat.com/includes/image.inc on line 300.

 
 

Drupal is a registered trademark of Dries Buytaert.