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.
The file gets uploaded but no resizing is done! Even more strange is when I display the log the following is shown:
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 : ccg 4.jpg file_src_name_body : ccg 4 file_src_name_ext : jpg file_src_pathname : C:\xampp\tmp\php5FAF.tmp file_src_mime : application/octet-stream file_src_size : 3428460 (max= 33554432) file_src_error : 0 process file to /xampp/htdocs/test/public/img/gallery/4/\ - file size OK - file mime OK : application/octet-stream - new file name ext : jpg - new file name body : screen_thumb_169 - file name safe format - destination variables file_dst_path : /xampp/htdocs/test/public/img/gallery/4/\ file_dst_name_body : screen_thumb_169 file_dst_name_ext : jpg - no image operation, keep extension - no auto_rename if same filename exists - destination file details file_dst_name : screen_thumb_169.jpg file_dst_pathname : /xampp/htdocs/test/public/img/gallery/4/\screen_thumb_169.jpg - no overwrite checking - no image processing wanted - process OK
See the "- no image processing wanted" line. I don't get it.
The file gets uploaded but no resizing is done! Even more strange is when I display the log the following is shown:
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 : ccg 4.jpg
file_src_name_body : ccg 4
file_src_name_ext : jpg
file_src_pathname : C:\xampp\tmp\php5FAF.tmp
file_src_mime : application/octet-stream
file_src_size : 3428460 (max= 33554432)
file_src_error : 0
process file to /xampp/htdocs/test/public/img/gallery/4/\
- file size OK
- file mime OK : application/octet-stream
- new file name ext : jpg
- new file name body : screen_thumb_169
- file name safe format
- destination variables
file_dst_path : /xampp/htdocs/test/public/img/gallery/4/\
file_dst_name_body : screen_thumb_169
file_dst_name_ext : jpg
- no image operation, keep extension
- no auto_rename if same filename exists
- destination file details
file_dst_name : screen_thumb_169.jpg
file_dst_pathname : /xampp/htdocs/test/public/img/gallery/4/\screen_thumb_169.jpg
- no overwrite checking
- no image processing wanted
- process OK
See the "- no image processing wanted" line. I don't get it.
I use XAMPP on localhost