On Fri, January 25, 2008 2:43 am, Emil Edeholt wrote: > I have a website where people can upload photos and it creates > previews. > My problem is with pictures with big dimensions like 12000px height > for > example where the script times out. I've seen other sites that seems > do > be able to do this faster. I use gd to scale the image. Is there a > faster way of doing it? Is ImageMagick better for example? Create the preview ONCE in a cron job after the upload and save it as a file. PHP itself is not timing out here -- the browser is. Time spent in the guts of GD doesn't "count" for PHP time_limit. -- Some people have a "gift" link here. Know what I want? I want you to buy a CD from some indie artist. http://cdbaby.com/from/lynch Yeah, I get a buck. So? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php