Hi.
I use system() with imagemagick (convert) to resize images.
If i loop through some images and first run the system("convert ....") to resize, then a query to insert the image in the database,
Something like:
for (every image..)
{
system("convert ...");
mysql_query("INSERT ...");
}
The problem is that NO php-page can be accessed while this is going on. Php hangs up completely until all images are done.
If the current page hangs up, thats OK, thats actually needed since I need the correct file to be ready before inserting it in the database. But I still want users to be able to browse other parts of the site while images are being resized.
How could I solve this? Any other methods than imagemagick?
Thanks.