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 log says: - MIME type detected as regular file by UNIX file() command - file mime OK : regular file - no image processing wanted
That means that the UNIX file command returned regular file as a MIME type, which is not correct. And then the class doesn't think that the file is a valid image, and deactivate image processing. which is why the file is uploaded, but not resized.
Could you please send me the picture privately, and also indicate here which OS you are running the script on?
What do you get if you run in a shell:
file -bi your_image.jpg
You should get a MIME type here, but in your case you seem to get regular file.Reply
- MIME type detected as regular file by UNIX file() command
- file mime OK : regular file
- no image processing wanted
That means that the UNIX file command returned regular file as a MIME type, which is not correct. And then the class doesn't think that the file is a valid image, and deactivate image processing. which is why the file is uploaded, but not resized.
Could you please send me the picture privately, and also indicate here which OS you are running the script on?
What do you get if you run in a shell:
You should get a MIME type here, but in your case you seem to get regular file.