Closed GoogleCodeExporter closed 9 years ago
It sounds like your maximum allowed memory usage is set too low for the size of
image you are trying to resize. The default maximum memory SLIR will allocate
is currently 100 megabytes.
To fix this, you need to set $maxMemoryToAllocate in your slirconfig.class.php
file to something large enough to accommodate the image you are working with.
For example, to increase the maximum amount of memory SLIR will allocate to 100
megabytes, add this to your slirconfig.class.php file below where it says
"override configuration values here":
public static $maxMemoryToAllocate = 150;
Play around with the numbers until you find what works well for you.
Original comment by joe.lencioni
on 23 Mar 2011 at 3:09
I'm getting this error myself now.
I've set $maxMemoryToAllocate = 850, but no change.
I'm listing images in a folder, and several images are not cropped.
Trying to open the url gives me this exception.
The URL can be:
http://my-stire.com/wp-content/plugins/wp-filebrowser/slir/?w=90&h=90&c=1:1&i=ht
tp://sanabygg.stiengenterprises.no/files/Bak/26052011155.jpg
Why do I get this when the image '26052011155.jpg' is just 85KB?
Original comment by spsti...@hotmail.com
on 22 Aug 2011 at 6:57
Original issue reported on code.google.com by
utkudal...@gmail.com
on 23 Mar 2011 at 6:53