News:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu

Image sizes - 2560x1440 not supported?

Started by Bullborn, April 17, 2011, 07:09:19 PM

Previous topic - Next topic

Bullborn

Hi,

I have a forum where the max size on images is set to 512x512 so that pictures larger than that gets resized down. This works for normal sized pictures (i.e. 1920x1200), however if I try to post a picture of say size 2560x1440, I get a white page.

Anyone know of a fix? If I remove the 512x512 resizing I can post the picture, however that obviously makes the picture way too large as the resizing is then disabled.

So something must be up with the resizing once the picture exceeds a certain size.

Ideas or workarounds would be very welcome.

-Bull

Arantor

Yeah, the underlying PHP is trying to load the entire image to make a thumbnail and running out of memory. I have no doubt that if you were to examine the system (rather than forum) error log, you would find out of memory error messages.

As for fixing it, it depends mostly on your host as to what their settings are - you might try contacting them
Holder of controversial views, all of which my own.


Bullborn

Thank you very very much!  :)

Luckily my host allows me to change the allowed memory for php scripts. Increasing it a bit solved the issue.

Advertisement: