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.
Thanks for answered my question. I added "echo &handle->log;" before the unset instruction but where can i find the log file? I haven't found it. By the way, the problem is:
the different resolutions of one wallpaper are generated by a link like this:
"224" is the wallpaper's id, "1920" is the width of the new image and "1080" is the height. In this case the originale image size is 1920x1080 and if i try to create the image for these relsolutions: 1920x1080, 1366x768, 1280x720 or 852x480 everything works ok, i think because they don't require any crop because the ratio is the same. BUT if I try to create a 1280x800 version (or other) of the image, the class just returns a blank page in the browser, neither the image is created in the respective folder (all the resolutions of the original image are collected in a precise folder). It seems a weird problem, i have not found a solution.Reply
I added "echo &handle->log;" before the unset instruction but where can i find the log file? I haven't found it.
By the way, the problem is:
the different resolutions of one wallpaper are generated by a link like this:
www.wallpaperup.com/wallpapers/download/224/1920/1080
"224" is the wallpaper's id, "1920" is the width of the new image and "1080" is the height. In this case the originale image size is 1920x1080 and if i try to create the image for these relsolutions: 1920x1080, 1366x768, 1280x720 or 852x480 everything works ok, i think because they don't require any crop because the ratio is the same. BUT if I try to create a 1280x800 version (or other) of the image, the class just returns a blank page in the browser, neither the image is created in the respective folder (all the resolutions of the original image are collected in a precise folder). It seems a weird problem, i have not found a solution.