Problem with image_resize

See all posts See thread Reply

Re: Problem with image_resize new!
by lance, 17 years, 7 months ago
Yes, it does work with smaller images.

The memory_limit is set to 8M (local value), 20M (master value).

Thanks for the reply.Reply
Re: Problem with image_resize new!
by colin, 17 years, 7 months ago
Then try to raise your local memory to 20M.

You can add this in your script:
ini_set ( "memory_limit", "20M")

Or in a .htaccess file:
php_value memory_limit 20M

When resizing an image, it first has to be transformed in a kind of bitmap, then you need some more memory to actually resize. If you then add the size of your script to that, you can reach 8MB very quickly.Reply