Page 1 of 1

Trying to rotate a 1600x1200 errors out...

Posted: 09 Aug 2008, 00:53
by jhamrick
Trying to rotate a 1600x1200 issue gives me the following error...

Image

Dunno if anything can be done about it, but maybe you could error check and say the file is too big to rotate if it's just a timeout issue or something.

Posted: 09 Aug 2008, 08:26
by mjau-mjau
... and did you create thumbnails for this image manually or from the admin? You can be pretty sure that is related to server memory allocation as has been discussed earlier in the forums. Most often, standard servers will only allow creating thumbnails from image sizes at around 1280x1024, and I am pretty sure the same goes for rotating images.

Does rotation work with smaller images? I am not sure it can be intervened by an error message, but perhaps pain knows better?

Posted: 09 Aug 2008, 13:42
by jhamrick
mjau-mjau wrote:... and did you create thumbnails for this image manually or from the admin? You can be pretty sure that is related to server memory allocation as has been discussed earlier in the forums. Most often, standard servers will only allow creating thumbnails from image sizes at around 1280x1024, and I am pretty sure the same goes for rotating images.

Does rotation work with smaller images? I am not sure it can be intervened by an error message, but perhaps pain knows better?
The thumbnails were automatically generated, and yes rotation does work for smaller images. I figured it had to do with their large size, just thought maybe you can stop it with an error message or something.

Posted: 09 Aug 2008, 15:32
by Nick
500 is something we can't intercept, imagine BSOD in Windows. 500 thats not php error or something, thats when WebServer is freaked out.

It is memory limits issue, but actually it should say something like: Not enough memory, tried to allocate xxx bytes.

Strange that you getting error 500, maybe you have error reporting turned off or some special settings?

Posted: 09 Aug 2008, 15:40
by jhamrick
pain wrote:500 is something we can't intercept, imagine BSOD in Windows. 500 thats not php error or something, thats when WebServer is freaked out.

It is memory limits issue, but actually it should say something like: Not enough memory, tried to allocate xxx bytes.

Strange that you getting error 500, maybe you have error reporting turned off or some special settings?
Not that I'm aware... but what I'm saying is not an error message after the fact, but a check before you start the process taht says if the dimensions are greater then XbyY then don't allow it? Or does the size change based on webserver?

Posted: 09 Aug 2008, 15:51
by Nick
Its not dimensions even everything is memory related, and im not quite sure yet how to predict how much memory it will take :/

Posted: 09 Aug 2008, 15:54
by jhamrick
pain wrote:Its not dimensions even everything is memory related, and im not quite sure yet how to predict how much memory it will take :/
Gotcha, makes sense. Oh well =)