images inserted with G2Image disappear (inaccessible) after a time
|
Towncat
Joined: 2008-05-06
Posts: 5 |
Posted: Tue, 2008-05-06 07:55
|
|
Hello, I have a test install of WP 2.5 with G2 integrated. I inserted fullsize images in the posts with links to the gallery picture. I turned off rewrites because that did not seem to work, so I get pretty ugly and long links. What happens is this: in a fairy tale like fashion, when I insert an image, it does appear in the post. However, a few hours later from another machine I only see a text link to the image. If I copy the image link to a browser, I get a security violation page. Then I re-inserted the images, and they seemed to work fine. Lean back, sigh. Again, few hours later, from another machine, no images, only text link. This happened twice. Logging in of users seems to work OK all the time, and if I click the text link I can see the album as well, regardless of whether the inserted picture is shown or not. The issue may be something to do with caches or expiration of something (cookies maybe?), judging from the time element -- but otherwise I have no clue. Also, how can I check the exact version of my WPG2 and Gallery2? I am not sure what I had installed (this weekend, though, and I think it should be the newest version.) Thanks, |
|
| Login or register to post comments |

Posts: 1022
In your Gallery2 Site Panel, what is the values for your Session Settings?
____________________________________
Wordpress / Gallery2 (WPG2) Plugin, , WPG2 Documentation, WPG2 Demo
Posts: 5
It's three weeks for the duration of the session, and one week for inactivity timeout. (I have the Hungarian version, so I do not know what the original English terms were, but I guess that is it.)
Posts: 1022
Towncat,
Please see the note in topic -> http://gallery.menalto.com/node/77414
____________________________________
Wordpress / Gallery2 (WPG2) Plugin, , WPG2 Documentation, WPG2 Demo
Posts: 5
Sorry, I get an "Access denied" page on the link...
Posts: 479
Hmmm... I get "Access denied" too. And I'm a moderator...
Kirk
____________________________________
G2Image Documentation, G2Image Demo Page, My Family Website
Posts: 1022
Yeah someone marked the topic as SPAM while I was away on my Business Trip. Topic has now been restored..
____________________________________
Wordpress / Gallery2 (WPG2) Plugin, , WPG2 Documentation, WPG2 Demo
Posts: 5
OK, read it, tested it, but the symptoms seem to be the same, immediately after the change. (Logged out, deleted cache, logged in again, no pictures shown, and the image's link is still a sec. violation.)
This is what the link to the image looks like (without the domain): /gallery/main.php?g2_view=core.DownloadItem&g2_itemId=391&g2_GALLERYSID=c8df5760ef52933af39f5d7aa1f18ac5
Shouldn't the mystic number from the end of the link have disappeared after the change was applied? (I'm only guessing.)
I'm eager to do further testing if you have suggestions -- and I also need to tell you that I really appreciate the help and all that enermous work you had put into this project!
Thanks
tc.
Posts: 5
A further observation: on the machine where I inserted the pictures I still can see them in the post. It seems that a session ID is stored in the link, but that session ID is probably only valid for the session where I inserted the pictures, therefore it won't work when I am viewing it from any other session. This is just my thought, I'm not sure about how this actually works.
Posts: 1022
I am a little unclear about the role of Gallery2 sessions myself.. Just reading up on them so I can understand how to better integrate them. Unfortunately WP does not really have session handling which makes it a little difficult..
____________________________________
Wordpress / Gallery2 (WPG2) Plugin, , WPG2 Documentation, WPG2 Demo