Reply to Re: Resize or Create Thumb - Deletes Original

Re: Resize or Create Thumb - Deletes Original new!
by colin, 14 years, 2 months ago
I cannot see your screen cast, but I assume you are not uploading a file; you are working on a file already on the server.

If you use clean(), it will delete your source image. Remove the following line in your code:
$handle->clean();

clean() is used for uploads to delete the uploaded file, and eventually when working on local files if you want to delete your original file.Reply

Your reply

Name *
Email 
Title *
Text *
CAPTCHA image
Enter the code displayed on the image:
Click on the image to generate another one if it is hard to read it. The case is important