PDA

View Full Version : Image resize failed due to your image library not having support for this image type.


MAdotcom
01-04-2011, 11:14 PM
I keep getting this error when I try to upload pictures to my forums picture album. Please help!

TIA

--------------- Added 1294192145 at 1294192145 ---------------

By the way, I have already set 'image processing library' to none. And I enabled 'safe mode upload'

MAdotcom
01-10-2011, 02:52 AM
Anyone?

Lynne
01-10-2011, 03:07 AM
If you have it set to None, then you have no image processing library and perhaps can't handle that type of image. What kind of image are you uploading? And why do you have safe mode enabled? And since you do, do you have a temp directory stated and is it chmod to 777 (although this doesn't seem to be the issue - it's your processing library that is the issue).

MAdotcom
01-10-2011, 03:44 AM
I changed it back to GD. It appears that is what the server is using to process the images. (I am very new to all this) The weird thing is, I can only upload gif files, no JPEG's. Do I need to talk to my host and see if the server is set up to accept all images? Or is this something I can fix on my own?

Thank you for your response as always

Lynne
01-10-2011, 06:02 PM
What is the error you get when trying to upload jpegs? You can check your allowed settings and permissions for your attachments in admincp > attachments > attachment manager and attachments permissions

MAdotcom
01-10-2011, 06:23 PM
The error I get is

'Upload of file failed.'

I've maxed out the JPEG, JPG, BMP, PNG, and GIF file sizes, widths and heights in attachment permissions. Still doesn't work

Lynne
01-10-2011, 07:14 PM
What does it say in your error_logs (if you don't know where they are, ask your host)?

You also never answered any of my questions from my previous post #3.

MAdotcom
01-10-2011, 09:36 PM
If you have it set to None, then you have no image processing library and perhaps can't handle that type of image. What kind of image are you uploading? And why do you have safe mode enabled? And since you do, do you have a temp directory stated and is it chmod to 777 (although this doesn't seem to be the issue - it's your processing library that is the issue).

I don't know why I set it to none. I am a total noob. Also, I enabled safe mode because I thought it would help for some reason :confused:

I have no control over anything server side so to answer your question about chmod to 777: I don't know and I don't even know what that is :(

--------------- Added 1294702722 at 1294702722 ---------------

What does it say in your error_logs (if you don't know where they are, ask your host)?

I don't know

Lynne
01-10-2011, 11:09 PM
Well, try turning off safe mode. If it still doesn't work, the go to maintenance > diagnostics > upload and copy the information from there to here.

And ask your host where your error_logs are. Chances are they will come in handy in your forum future.

MAdotcom
01-12-2011, 10:23 PM
Ok this is what I get.

Diagnostics

Help
Pertinent PHP Settings
file_uploads: On
open_basedir: None
safe_mode: Off
upload_tmp_dir: None
upload_max_filesize: 2.00 MB

Help
Results
No file uploaded and no local file found. The test cannot continue.

The weird thing is it says I have a max upload attachment size of 2 mb but I just tried a small file in my user album and got this message-

Upload Errors

* Porsche 911 GT3RS.jpg - Image resize failed due to your image library not having support for this image type.

I haven't been able to get a hold of my host but I appreciate all of your help and the tip to ask him that

Lynne
01-12-2011, 11:46 PM
What image library are you using currently?

Also, try:
http://www.yoursite.com/image.php?i=gd // gd is working
http://www.yoursite.com/image.php?i=im // im is working

See if either of those links on your site show an image. (Or course change the site path to your own site)

MAdotcom
01-13-2011, 02:30 AM
This is what I get with GD

http://www.mensalmanac.com/image.php?i=gd (hope you don't mind me linking my site, I apologize if it's against the TOS)

And this is what I get when I try the Image Majick link

sh: /convert: No such file or directory

I am currently using GD.

Lynne
01-13-2011, 02:47 AM
Your GD is not set up correctly. You should ask your host to fix it for you.

If you want to use ImageMagick, you need to ask your host for the path to the binaries.

If they can't/won't fix either of those, you should pick None for that option.

ifitsmedia
03-12-2011, 10:29 AM
I am getting the same error message when uploading PSD files. I tried everything suggested here but can't solve the problem. I posted more details in another thread here:

https://vborg.vbsupport.ru/showthread.php?t=260139

Can anyone help me? Thanks.