Last week I updated my version of CPG from version 1.2.1 to version 1.31. At the beginning everyhing looked just fine, but tonight I noticed something strange. Some pictures are not viewable anymore. When viewing the album list the pictures are displayed as a 'dot' (just a couple of pixels). When clicked upon you won't see the picture either. Again just a couple of dots.
I figured out it probably has something to do with illegal characters in the filenames... The files I'm talking about have filenames like:
!cid_image008.jpg@01C42579[1].JPG@01C42579[1]
I know that's a really weird filename, since it doesn't even have an extension like .jpg or something. I don't know how it was possible addings these files to the album in the first place, but it surely was possible using CPG 1.2.1. There were no problems at all adding the pictures and also no problems at all viewing them. But after upgrading to version 1.3.1 I have the problems mentioned above.
For an example please go to this album on my CPG-site:
http://tomdegoeij.xs4all.nl/coppermine/thumbnails.php?album=143Username: testaccount
Password: password
The first picture shown on the first page on the album is named on the server like this:
/coppermine/albums/feestjemarieke2004/thumb_!cid_image001.jpg@01C42579[1].JPG@01C42579[1]
When using 1.2.1 it appeared on the page like this:
http://tomdegoeij.xs4all.nl/coppermine/albums/feestjemarieke2004/thumb_%21cid_image001.jpg%4001C42579%5B1%5DAfter upgrading to 1.3.1 it appears like this:
http://tomdegoeij.xs4all.nl/coppermine/So it looks like a 1.3.1 can't deal with strange filenames and 1.2.1. Since my site contains over 20,000 pictures it would be a hell of a job just to find out what pictures are faulty. Perhaps someone from this forum can hell me out on this. If the pictures worked on 1.2.1, they should be able to work on 1.3.1 I'd say.
Thanks a lot in advance!
update: using PHPMyAdmin I found out that the 22 pictures in the album mentioned above are probably the only pictures affected. So I can 'solve' the problem quite easily by changing the filenames manually. Still i think this thread is useful since other people might be dealing with the same problem. And I haven't figured out yet what causes the problem... It might be the pictures not ending on .jpg or maybe even the @, [ or ] in the filenames.