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.
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 : DSC_0021.JPG
file_src_name_body : DSC_0021
file_src_name_ext : jpg
file_src_pathname : /tmp/phpCthlLY
file_src_mime : application/octet-stream
file_src_size : 165268 (max= 2097152)
file_src_error : 0
process file to /var/www/images/billets/2008-11/
- file size OK
- file mime OK : application/octet-stream
- file name body add : _billet
- file name safe format
- destination variables
file_dst_path : /var/www/images/billets/2008-11/
file_dst_name_body : DSC_0021_billet
file_dst_name_ext : jpg
- no image operation, keep extension
- no auto_rename if same filename exists
- destination file details
file_dst_name : DSC_0021_billet.jpg
file_dst_pathname : /var/www/images/billets/2008-11/DSC_0021_billet.jpg
- no overwrite checking
- no image processing wanted
- process OK
cleanup
- delete temp file /tmp/phpCthlLY
That's strange, in my code, I ask it to resize by 500px width and tag with watermark logo, and nothing happens, I've got the image in the good folder and the good name, but with the original size ...
That's strange, in my code, I ask it to resize by 500px width and tag with watermark logo, and nothing happens, I've got the image in the good folder and the good name, but with the original size ...
Could you help me ?