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.
I have similar problem. I have few pictures in a local folder and i want in a loop resize each of them and save to diferent folder.
I read all files in the array and make loop foreach. Script goes well if there are small pictures and not a lot. If in folder are big pictures and many pictures the time limit for the script execution is the problem.
Any idea for resolving this problem? Aby script exaple?
exemple:
I have 37 pic in the folder, but the class just resize and crop 27 or less
it's my code, take a look!
thk!!
You are probably running out of memory. Try to increase the memory for PHP, or else process your images in batches.
if I have 100 pics in the folder, the class just crop and resize 50 or less
I using the verssion 0.24, I try use the 0.25
I already increase the memory, but doesn't work!
I will record a video of my problem and post here
see ya!
I read all files in the array and make loop foreach. Script goes well if there are small pictures and not a lot. If in folder are big pictures and many pictures the time limit for the script execution is the problem.
Any idea for resolving this problem? Aby script exaple?
Thanks a lot. and sorry for my english :)