Ad blocker detected: Our website is made possible by displaying online advertisements to our visitors. Please consider supporting us by disabling your ad blocker on our website.
I have the same problem. Checked the settings you mentioned and problem persists. I run joomla 1.5.15; upgraded to newest version. Set paginagion to 'yes'. Get the following error message:
Warning: imagecreatefromjpeg() [function.imagecreatefromjpeg]: gd-jpeg, libjpeg: recoverable error: Premature end of JPEG file in /.../administrator/components/com_phocagallery/libraries/phocagallery/image/imagemagic.php on line 214
Warning: imagecreatefromjpeg() [function.imagecreatefromjpeg]: '.../images/phocagallery/2010/Augustus/DSC09875.jpg' is not a valid JPEG file in /.../administrator/components/com_phocagallery/libraries/phocagallery/image/imagemagic.php on line 214
Warning: imagecreatefromjpeg() [function.imagecreatefromjpeg]: gd-jpeg, libjpeg: recoverable error: Premature end of JPEG file in .../administrator/components/com_phocagallery/libraries/phocagallery/image/imagemagic.php on line 214
Warning: imagecreatefromjpeg() [function.imagecreatefromjpeg]: '/.../images/phocagallery/2010/Augustus/DSC09875.jpg' is not a valid JPEG file in /.../administrator/components/com_phocagallery/libraries/phocagallery/image/imagemagic.php on line 214
Warning: imagecreatefromjpeg() [function.imagecreatefromjpeg]: gd-jpeg, libjpeg: recoverable error: Premature end of JPEG file in /.../administrator/components/com_phocagallery/libraries/phocagallery/image/imagemagic.php on line 214
Warning: imagecreatefromjpeg() [function.imagecreatefromjpeg]: '/.../images/phocagallery/2010/Augustus/DSC09875.jpg' is not a valid JPEG file in /.../administrator/components/com_phocagallery/libraries/phocagallery/image/imagemagic.php on line 214
Worth mentioning perhaps: I have over 1300 images. No idea what to do and about to move over to another component for it happens all the time... Would like to continue using the component for it is convenient when it works.
Hmmm, previous user had same problem and he did not fix the GD. Where is my error message different than his? In the error log, I at least see no difference.
Hi, I don't know how the previous user solved it, as he didn't write the solution (or maybe I overlooked it)
The second what can be wrong is some problem in the jpg (in the image), so the GD library cannot read it or has some problems with working with it, trying other jpg image will say if this is the problem.
Did try to replace the jpg, but that did not work. It's strange, for it worked before. But at a certain point it stopped working with the error posted above.
Anything I should post to provide some more insight in what the problem might be?
Just to inform you:
- I reinstalled the module locally and get the same error: hence GD is not the issue (for it does not work neither locally nor remote)
- recreating thumbs of existing images is actually succesful with others pics
I did a test:
- put the succesful recreated images in the folder that does not work and that gave me the exact same error. Hence the image is not corrupt (for it was succesfully recreated in another folder)
- tried to add photo's to another folder (an empty category) and that was succesful. Hence the total amount of photo's and thumbs does not seem to be the problem
- tried to reduce the amount of pics in the category, yet that did not seem to be the problem
So:
- to doublecheck I renamed the files that were causing the problem. The error persisted and hence the only conclusion is indeed that there seems to be a problem with the pictures.
- I 'saved as' and the error is still there. However, not sure what's wrong with the files. For these files open correctly on my computer, both in preview, photoshop or any other software.
- in fact, using the url to see the pictures in FF, (url to image path) the picutre shows up as it should. hence the browser also recognizes the pictures as a regular jpg
Conclusion:
- for some reason some pictures are considered to have a 'premature end'
- those pictures nevertheless are ok when using preview, photoshop or directly inserting the url in ff
- hence something is wrong with specific pictures, yet don't know what
So in order to provide you some insight, I can send some pictures to see what is actually 'wrong' with them, or better where there is a problem with the pictures as processed in the module