Upload does not resize images and doen't clean

See all posts See thread Reply

Re: Upload does not resize images and doen't clean new!
by colin, 15 years ago
Firstly, you cannot resize images, your system doesn't have GD installed. So at best, the class will copy your images, but not resize them.

The error maybe also coming from that '\', you need to clean up your variables $target_thumb_path and $target_path (as well as not sending a path through a POST, it is very insecure!).

The class is written for Unix systems, but should be working on Windows, although I offer no support for Windows.Reply
Re: Upload does not resize images and doen't clean new!
by Al Almeida, 15 years ago
Great, I have enabled the GD module on the server and it's now it re sizes the images.
The '\' is coming from the class.upload.php :( ?
Still it's cleaning up the mess leaving behind those long number file names any idea there?
Instead of POST what would have me do?Reply