PDA

View Full Version : Images not resizig - was working last week


EricKonieczny
31st of May 2005 (Tue), 22:40
I have been using EE now for a few months with only a few problems at first.

Now, I am trying to upload a new gallery and non of my images are being resized. When I run the resize tests everything is okay. but when I go to upload one of my photos. The thumbs, microthumbs, or 2 sizes do not get resized.

Is this a server admin function they changed?

You can see what the problem is by viewing the non public gallery

http://www.ekreating.com/gallery/list.php?exhibition=28&pass=4e4e3996e55364f995d6b7db80adf619




Here is what the errors show for 2 images I tried to load.

msg 32536 | ftp: Automatic database maintenance:
table: ekrekon9_gallery.ee_order_to_exhibition | operation: repair | status: OK
table: ekrekon9_gallery.ee_photo | operation: repair | status: OK
table: ekrekon9_gallery.ee_photo_eng | operation: repair | status: OK
table: ekrekon9_gallery.ee_photo_to_category | operation: repair | status: OK
table: ekrekon9_gallery.ee_photo_to_ee_commerce_template | operation: repair | status: OK
table: ekrekon9_gallery.ee_photo_to_exhibition | operation: repair | status: OK
msg 32535 | ftp: UPLOAD FINISHED SUCCESFULLY.
msg 32534 | database action: Photo id 1401 added to database.
msg 32533 | database action: GUESS LENS: | Searching maker: Canon | Searching aperture: 8 | Searching focal: 28 | Searching focal range: 28 | highest ranking lens id found is: 17
msg 32532 | database action: GUESS CAMERA: | Searching maker: Canon | Searching keywords | Canon | EOS | 20D | highest ranking camera id found is: 3
msg 32531 | database action: Photo id 1400 added to database.
msg 32530 | database action: GUESS LENS: | Searching maker: Canon | Searching aperture: 4.5 | Searching focal: 70 | Searching focal range: 70 | highest ranking lens id found is: 16
msg 32529 | database action: GUESS CAMERA: | Searching maker: Canon | Searching keywords | Canon | EOS | 20D | highest ranking camera id found is: 3
msg 32528 | ftp: LOCAL: DISCONNECTED
msg 32527 | ftp: LOCAL:
'052705snap30.jpg' UPLOADED SUCCESFULLY
SIZE: 533x800 => 33x50 microthumb (IMAGEMAGICK 50) , 414 KB in server.
msg 32526 | imagemagick: IMAGEMAGICK COMMAND | /usr/local/ImageMagick-5.5.7/bin/convert -size 33x50 UPLOAD/052705snap30.jpg -resize 33x50! +profile "*" -unsharp 0.6x0.7+2+0.1 -quality 0 UPLOAD/ee_temp_upload/052705snap30.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)

msg 32525 | ftp: LOCAL:
'052705snap13.jpg' UPLOADED SUCCESFULLY
SIZE: 800x533 => 50x33 microthumb (IMAGEMAGICK 50) , 410 KB in server.
msg 32524 | imagemagick: IMAGEMAGICK COMMAND | /usr/local/ImageMagick-5.5.7/bin/convert -size 50x33 UPLOAD/052705snap13.jpg -resize 50x33! +profile "*" -unsharp 0.6x0.7+2+0.1 -quality 0 UPLOAD/ee_temp_upload/052705snap13.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)

msg 32523 | ftp: LOCAL: Working directory changed to '/www/gallery/photos/microthumb'
msg 32522 | ftp: LOCAL: Changed to passive mode
msg 32521 | ftp: LOCAL: Logged in as 'ekrekon9'
msg 32520 | ftp: LOCAL: Connected to '205.234.148.98'
msg 32519 | ftp: LOCAL: DISCONNECTED
msg 32518 | ftp: LOCAL:
'052705snap30.jpg' UPLOADED SUCCESFULLY
SIZE: 533x800 => 73x110 thumb (IMAGEMAGICK 110) , 414 KB in server.
msg 32517 | imagemagick: IMAGEMAGICK COMMAND | /usr/local/ImageMagick-5.5.7/bin/convert -size 73x110 UPLOAD/052705snap30.jpg -resize 73x110! +profile "*" -unsharp 0.4x0.5+2+0.1 -quality 100 UPLOAD/ee_temp_upload/052705snap30.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)

msg 32516 | ftp: LOCAL:
'052705snap13.jpg' UPLOADED SUCCESFULLY
SIZE: 800x533 => 110x73 thumb (IMAGEMAGICK 110) , 410 KB in server.
msg 32515 | imagemagick: IMAGEMAGICK COMMAND | /usr/local/ImageMagick-5.5.7/bin/convert -size 110x73 UPLOAD/052705snap13.jpg -resize 110x73! +profile "*" -unsharp 0.4x0.5+2+0.1 -quality 100 UPLOAD/ee_temp_upload/052705snap13.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)

msg 32514 | ftp: LOCAL: Working directory changed to '/www/gallery/photos/thumb'
msg 32513 | ftp: LOCAL: Changed to passive mode
msg 32512 | ftp: LOCAL: Logged in as 'ekrekon9'

lost
1st of June 2005 (Wed), 00:22
Couple things to think about. Did ANYTHING change around the same time as the issue started happening? Have you double checked the path info and permissions on the destination folders?

Is this a server that you administrator or do you rent space for a webhosting company? Linux/Window? Apache?

Pekka
1st of June 2005 (Wed), 03:33
Your imagemagick path is "/usr/local/ImageMagick-5.5.7/bin/convert". Perhaps the server admin has updated Imagemagick to version 6 and in that case above version-dependent path will not work. If you have not done any changes to your EE settings, then just ask your admin where imagemagick is now. You could try also just "convert" as path (without quotes).

BTW: You have bit odd JPEG quality settings there, "-quality 0" and "-quality 100".

Other possibilities are:
- server admin has enabled safe mode
- server admin has disabled exec command
- in some cases imagemagick 6 needs different sharpening values to run, disable sharpening to verify that problem is there.

Basic principle with these problems is: if you have not done any changes and something suddenly stops working, the reason must be in server configuration, or you have run out of disk space. In both cases only your server admin (support) can assist.

EricKonieczny
1st of June 2005 (Wed), 07:56
I figured out the problem. For some odd reason, my ee_temp_upload folder got deleted.


I must have selected it when I cleared my Upload folder manually.

Thanks guys and sorry for the pestering.

I need to send in my donation and liscensing fee ASAP.