PHP 5.2.5 and no thumbnails

My thumbnails are not getting shown. The only sizes shown are the original size.
GD is installed. For my PHP info go here:
http://housepictures.codelandia.com/main.php?cmd=phpinfo
album is here:
http://housepictures.codelandia.com/
I would love to get this to work.

Hello,

Hello,

please take a look at FAQ on this site, the second questions and answer will help you :)
You have too big pictures for the 8M memory limit in your PHP settings.

Unfortunately I can not catch this error and show some error message as "memory out" error is a fatal error.

Patrik

I forgotten, for 3MPix

I forgotten, for 3MPix pictures you need probably more then 12M memory limit to be able to load them in PHP.

You must raise the memory limit in php.ini or resize the pictures before uploading them.

For 2048 X 1536 ...

I guess you need even more than 16megs. Oh well, in main.php I added this line to the top...
ini_set('memory_limit', '20M');

Seems to be working now.

Thanks

Ok, I'm glad it works now

Ok, I'm glad it works now for you. It is good idea to use ini_set for raising memory limit, normally it is not allowed but for some people (like you for instance) it would be helpful if it were already there in PA-Code.

Patrik

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.


style="display:inline-block;width:468px;height:60px"
data-ad-client="ca-pub-8698264690166658"
data-ad-slot="4417389723">