class.upload.php is a powerful and mature PHP class to manage uploaded files, and manipulate images in many ways. The script is available under a GPL license.
Hello, all. I can't seem to resolve this issue. I am able to have a customer upload an image successfully, but I'm unable to create the thumbnail successfully. Here is the log and error - thanks in advance for your help.
Error: "Error in creating JPEG image from source." User's browser: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1) User's email: xxxxxxxxx@yahoo.com Additional: system information - GD version : 2.0.34 - supported image types : png jpg gif bmp - open_basedir : no restriction - language : en_GB source is an uploaded file - upload OK - file name OK - source variables file_src_name : 008.jpg file_src_name_body : 008 file_src_name_ext : jpg file_src_pathname : /tmp/phpFJgtEx file_src_mime : image/pjpeg file_src_size : 312299 (max= 78643200) file_src_error : 0 - source file is an image image_src_x : 1800 image_src_y : 1200 image_src_pixels : 2160000 image_src_type : jpg image_src_bits : 8 process file to ./uploaded_files/ - file size OK - file mime OK : image/pjpeg - file name safe format - destination variables file_dst_path : ./uploaded_files/ file_dst_name_body : 008 file_dst_name_ext : jpg - no image operation, keep extension - checking for auto_rename - destination file details file_dst_name : 008.jpg file_dst_pathname : ./uploaded_files/008.jpg - no overwrite checking - no image processing wanted - process OK < b>process file to ./uploaded_files/ - file size OK- f ile mime OK : image/pjpeg - file name body add : _tmb - file name safe format - destination variables file_dst_path : ./uploaded_files/ file_dst_name_body : 008_tmb file_dst_name_ext : jpg - image operation, keep extension - checking for auto_rename - destination file details file_dst_name : 008_tmb.jpg file_dst_pathname : ./uploaded_files/008_tmb.jpg - no overwrite checking - image resizing or conversion wantedReply
Error:
"Error in creating JPEG image from source."
User's browser: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)
User's email: xxxxxxxxx@yahoo.com
Additional: system information
- GD version : 2.0.34
- supported image types : png jpg gif bmp
- open_basedir : no restriction
- language : en_GB
source is an uploaded file
- upload OK
- file name OK
- source variables
file_src_name : 008.jpg
file_src_name_body : 008
file_src_name_ext : jpg
file_src_pathname : /tmp/phpFJgtEx
file_src_mime : image/pjpeg
file_src_size : 312299 (max= 78643200)
file_src_error : 0
- source file is an image
image_src_x : 1800
image_src_y : 1200
image_src_pixels : 2160000
image_src_type : jpg
image_src_bits : 8
process file to ./uploaded_files/
- file size OK
- file mime OK : image/pjpeg
- file name safe format
- destination variables
file_dst_path : ./uploaded_files/
file_dst_name_body : 008
file_dst_name_ext : jpg
- no image operation, keep extension
- checking for auto_rename
- destination file details
file_dst_name : 008.jpg
file_dst_pathname : ./uploaded_files/008.jpg
- no overwrite checking
- no image processing wanted
- process OK
< b>process file to ./uploaded_files/
- file size OK- f ile mime OK : image/pjpeg
- file name body add : _tmb
- file name safe format
- destination variables
file_dst_path : ./uploaded_files/
file_dst_name_body : 008_tmb
file_dst_name_ext : jpg
- image operation, keep extension
- checking for auto_rename
- destination file details
file_dst_name : 008_tmb.jpg
file_dst_pathname : ./uploaded_files/008_tmb.jpg
- no overwrite checking
- image resizing or conversion wanted