View Full Version : Resizing large images hangs
May 13th, 2008, 10:13 AM
I set my max image dimensions to 800x800 and am now in Maintenance -> Rebuild Image Sizes. The first 15 or so images resized just fine, but when it gets to an image that is currently 2000x3008, it just hangs.
May 13th, 2008, 02:53 PM
I would say there is not enought memory alocated to php to do the resize.
- I have seen this on my personal box when I tryed to resize 128,635 x 3268
I added in gallery/gallery_global.php:
error_reporting(E_ALL & ~E_NOTICE);
May 14th, 2008, 08:26 AM
I just downloaded and am now looking through gallery_global.php, but I can't seem to find:
I'm using the ConTEXT editor and running a search for any of these strings...
May 14th, 2008, 08:42 AM
It's not there , try adding it to the file under.
- error_reporting(E_ALL & ~E_NOTICE);
May 14th, 2008, 03:52 PM
haha! whoops sorry about that, I read your directions backwards;)
I just added ini_set("memory_limit", "256M"); tried to run the resize, but it still hangs on the same image:(
May 15th, 2008, 08:23 AM
Did this work??
Also what is you only have say 64M set in the php.ini? Will this still work by adding the 256M line, or will one have to increase the php.ini as well?
May 15th, 2008, 08:42 AM
That was exactly it ski-whiz, thanks!!
I changed my memory_limit in php.ini to 256M and it worked just fine:)
vBulletin® v3.8.1, Copyright ©2000-2014, Jelsoft Enterprises Ltd.