Failure (security violation) accessing thumbnail images directly
|Posted: Thu, 2006-07-20 11:48|
I'm using G2 as the back-end for managing my photos for my website. I wrote several PHP functions to read the appropriate data from the G2 DB so that I can easily integrate it to my front-end.
I'm having problems with accessing the thumbnail images and I'm hoping someone can quickly point out a silly mistake I'm making. I've got an album named 'clients' in my g2 root that is marked as hidden. Inside that I've got sub-albums that are not hidden. Security is not an issue.
When I try and access the *thumbnail* image, I get the following error:
Now, if I manually go to g2, open the clients album, then open the sub album, I can see the thumbnails fine, and I've verified that I'm accessing the individuals thumbnails with correct URL. Then, when I go back to my website, *sometimes* I can view the thumbnails fine.
It sounds like it's a security issue, but I don't see why, since you don't need to authenticate to view the albums -- no security is enabled other than the root album being hidden.
Any help I can get on the matter is greatly appreciated. The website is http://jscottkelley.com -- enter 060610 as the event ID to see the issue.
Also, on a related topic, I'm trying to figure out what one field in the thumbnail URL is. For example: /gallery2/d/542-2/060610-161143.jpg
I know this is a lengthy message -- I just wanted to be clear. Thanks so much for your time and expertise.