resize doesn't work

See all posts Reply

resize doesn't work new!
by Guy, 12 years, 5 months ago
Hi,

I'm using the class on 2 servers on one of them the resize doesn't work, and the script only copy the image to a new one. Here is my log:

system information
- GD version : 2.0.34
- supported image types : png jpg gif bmp
- open_basedir : no restriction
- language : he
source is a local file Graphics/System/CropTmp/1339313990.jpg
- local file name OK
determining MIME type
- Checking MIME type with Fileinfo PECL extension
MAGIC path defaults to /usr/share/file/magic
MIME type detected as image/jpeg; charset=binary by Fileinfo PECL extension
source variables
- You can use all these before calling process()
file_src_name : 1339313990.jpg
file_src_name_body : 1339313990
file_src_name_ext : jpg
file_src_pathname : Graphics/System/CropTmp/1339313990.jpg
file_src_mime : image/jpeg; charset=binary
file_src_size : 2028775 (max= 26214400)
file_src_error : 0
process file to Graphics/System/CropTmp/
- file size OK
- file mime OK : image/jpeg; charset=binary
- new file name ext : jpg
- new file name body : new
- file name safe format
- destination variables
file_dst_path : Graphics/System/CropTmp/
file_dst_name_body : new
file_dst_name_ext : jpg
- no image operation, keep extension
- no auto_rename if same filename exists
- destination file details
file_dst_name : new.jpg
file_dst_pathname : Graphics/System/CropTmp/new.jpg
- no overwrite checking
- no image processing wanted
- process OK

Please advise

Thanks

GuyReply
Re: resize doesn't work new!
by colin, 12 years, 5 months ago
The MIME type is detected as image/jpeg; charset=binary. You must be using an old version of the class. Please update to the lastest version.Reply