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.
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?
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?
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
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.
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.
Comments
The problem still persists. Any idea why upgrading caused this problem?
Thank you!
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.
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?
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
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.
Help is appreciated.
What happens is that the alt text (which appears to be the file name) is displayed instead of the thumbnail.
I shrunk all my images to 80% and now they work. Anyone care to explain why?