No image processing wanted

See all posts Reply

No image processing wanted new!
by Alan, 15 years ago
Amazing job on this class! - Makes my life so much easier - thanks for the support as well

Uploads and converting images to jpg's are working fine for me, but then the output says "no image processing wanted". Running on Linux (Cent OS)

Here is the processing code I use:
$handle->image_convert           = 'jpg';
$handle->image_resize            = true;
//$handle->image_y               = 50;
$handle->image_x                 = 10;

After reading other posts I set the following with no avail
$handle->mime_file = false;
$handle->mime_check = false;

Here is my log output:

system information
- class version : 0.28
- GD version : GD not present
- supported image types : none
- open_basedir : no restriction
- language : en_GB
source is an uploaded file
- upload OK
- file name OK
determining MIME type
- Checking MIME type with Fileinfo PECL extension
Fileinfo PECL extension not available
- Checking MIME type with UNIX file() command
MIME returned as image/gif
MIME type detected as image/gif by UNIX file() command
source variables
- You can use all these before calling process()
file_src_name : image008.gif
file_src_name_body : image008
file_src_name_ext : gif
file_src_pathname : /tmp/phpZeQM5b
file_src_mime : image/gif
file_src_size : 45687 (max= 31457280)
file_src_error : 0
process file to test/
- file size OK
- file mime (not checked) : image/gif
- new file name ext : jpg
- file name safe format
- destination variables
file_dst_path : test/
file_dst_name_body : image008
file_dst_name_ext : jpg
- no image operation, keep extension
- checking for auto_rename
- destination file details
file_dst_name : image008.jpg
file_dst_pathname : test/image008.jpg
- image008.jpg doesn't exist already
- no image processing wanted
- process OK
cleanup
- delete temp file /tmp/phpZeQM5b
Reply
Re: No image processing wanted new!
by colin, 15 years ago
- GD version : GD not present
- supported image types : none


Apparently, your server doesn't have GD installed. Without GD, there is no graphic capabilities.

The list of supported image types is empty, so the class cannot consider the file as an image that it can work on, and deactivate all image processing.Reply
Re: No image processing wanted new!
by Alan, 15 years ago
Thank you so much - I got - GD version : 2.0.34 installed on my machine and it is all good now!

Thanks again
AlanReply