ZenphotoCMS Forum
Some images do not display - Printable Version

+- ZenphotoCMS Forum (https://forum.zenphoto.org)
+-- Forum: Support (https://forum.zenphoto.org/forum-1.html)
+--- Forum: General support (https://forum.zenphoto.org/forum-4.html)
+--- Thread: Some images do not display (/thread-3364.html)



Some images do not display - hp - 24-07-2008

Hello,

After upgrading from 1.1.6 to 1.1.7, some images do not display: half of the album covers do not display, and then random images inside the albums do not display.

Any idea how to fix this?

Many thanks.




Some images do not display - sbillard - 24-07-2008

Have you reviewed the troubleshooting guide? http://www.zenphoto.org/2007/12/troubleshooting-zenphoto/




Some images do not display - hp - 24-07-2008

Honestly I didn't, but I did already check everything. For example, I already recursively set permissions to 777. Even though I shouldn't really have to because it's running phpsuexec.

The problem still persists. Any idea why upgrading caused this problem?

Thank you!




Some images do not display - sbillard - 24-07-2008

Common problems with images not displaying:

  1. Image too big to be processed with the server memory availabl.
  2. Mod_rewrite problems

You should check your error logs. Since some images are working #1 is the most likely problem.




Some images do not display - hp - 24-07-2008

Thanks.

But the images were originally displayed before the upgrade. And now they won't display? It's the same server and same server settings. Does that make sense?




Some images do not display - hp - 24-07-2008

Warning: imagecreatefromjpeg() [function.imagecreatefromjpeg]: gd-jpeg: JPEG library reports unrecoverable error: in /home/percep/public_html/gallery/zp-core/functions-image.php on line 61

Warning: imagecreatefromjpeg() [function.imagecreatefromjpeg]: '/home/percep/public_html/gallery/albums/still-life/IMG_1790.JPG' is not a valid JPEG file in /home/percep/public_html/gallery/zp-core/functions-image.php on line 61

Warning: Cannot modify header information - headers already sent by (output started at /home/percep/public_html/gallery/zp-core/functions-image.php:61) in /home/percep/public_html/gallery/zp-core/i.php on line 134




Some images do not display - hp - 25-07-2008

Any idea what those errors are related to?




Some images do not display - krainbolt - 25-07-2008

What is your PHP memory limit set to? Try increasing it and see if it makes a difference.




Some images do not display - hp - 25-07-2008

I just set it to: memory_limit = 64M;




Some images do not display - krainbolt - 25-07-2008

Make sure you restart apache (are you using apache?) after modifying your php.ini file. Are you still getting the same errors?




Some images do not display - hp - 25-07-2008

it's on a shared hosting server so I can't restart apache




Some images do not display - sbillard - 25-07-2008

The first error is the only one of consequence. The second is a direct result of the error message display from the first error.

The error says that the GD handling routines did not like the the JPEG image that was passed to the function. In this case, the image is the one that is being processed for caching after resizing.

As to what the routines did not like, there is no information. But this might indicate a corrupted image.




Some images do not display - hp - 10-08-2008

I just reuploaded the image files but they are still not displaying. Do you have any other ideas? This problem started after I updated from 1.1.6 to 1.1.7.

Help is appreciated.




Some images do not display - acrylian - 10-08-2008

Did you check if they are published/visible?




Some images do not display - hp - 10-08-2008

They are.

What happens is that the alt text (which appears to be the file name) is displayed instead of the thumbnail.




Some images do not display - hp - 10-08-2008

I SOLVED IT. (After hours of testing)

I shrunk all my images to 80% and now they work. Anyone care to explain why?




Some images do not display - acrylian - 10-08-2008

Yes, please see here: http://www.zenphoto.org/2008/08/troubleshooting-zenphoto/#11




Some images do not display - romelow - 11-08-2008

I shrunk my images as well and it works perfectly and very quick. Thanks acrylian for the support.




Some images do not display - Guest - 12-08-2008