Hi all,
This section of my code needs to upload an image and then using ImageMagick line-commands, change the image size.
Sounds simple enough right?
Well... my problem is, that I'm not sure that the upload is done completely before the ImageMagick line-command kicks in.
I think it starts to process even before the upload is complete.
So,... I'm looking for a way to do a 'wait till I finish uploading completely' and then process the image.
I want to run a resize on the image twice, meaning, produce
two thumbnails with backgrounds etc..
The ImageMagick script is working fine when I'm doing a refresh
of the file.. cause it has the file already on the server (duh!).
So.. again the question is:
How or what is the function that says,.. Wait till the process ends and then start a new one.
Thanks,
-Alon.
js@wsco.com