Images over cetain size not showing?

Hi All,

New to Zenphoto, great app! but it could be working better for me...

I have worked out that any images over (roughly) 150KB do not load, thumbnail or full. The PHP memory size on the server is set to 8MB so not even getting close to this.

A debug on one of the images that doesn't work returns this.

Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 8128 bytes) in /home/allancp/public_html/azza/zenphoto/zp-core/functions-image.php on line 65

Cheers,
Aaron

Comments

  • Yep I checked through all that first, any other suggestions? I would of thought the images would either work or not work so the fact that some show, as long as there under about 150kb is just odd? Anything else to try? You can clearly see in the debug error for the images that the server allows 8MB .

    "Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 8128 bytes) in /home/allancp/public_html/azza/zenphoto/zp-core/functions-image.php on line 65"

    The amount it is trying to allocate is tiny, it doesn't make sense?
  • The proverbial straw that broke the camels back. Often processes request memory in small chunks as they need it. The message says that the 8388608 bytes have been used up so there is no way to allocate the 8192 bytes.

    As to why some images would work and others not--it would depend on the processing required. For instance, image that is all one color requres very little room to resize where as a Jackson Pollock image which has very little redundancy will take much more memory.

    You can see if you can change your PHP configuration parameters to allow more memory. My site allows me to edit the PHP.ini file so I can set the `memory_limit` to a larger number.
Sign In or Register to comment.