Thumbnail only displays on computer that I created content with

jason442

Joined: 2008-07-12
Posts: 14
Posted: Wed, 2008-07-30 23:10

Drupal 6.3
Gallery 2.3 RC
TinyMCE
g2image 3.03

Hi,

I have a weird issue. Everything seams to work fine: I create a new blog content, click the G2image button - able to browse my gallery photos and such - I insert a photo and add some text and publish the content. When I go back to my Drupal home page everything looks good, the thumb is in the content. However - the thumbnail only displays on the computer where I created the blog entry. I have two computers at home - when I log into the other one, I see the blog entry ..but there is no thumbnail. It's just a image link : "picture.jpg" ... clicking on the picture does bring me to the gallery though.

Any Ideas?
Thanks for help
Jason

 
jason442

Joined: 2008-07-12
Posts: 14
Posted: Thu, 2008-07-31 13:51

Internet explore Displays a white box with a red X for the thumbnail. Clicking on the thumbnail shoots me to the photo in gallery2 just fine. I don't get it.

 
jason442

Joined: 2008-07-12
Posts: 14
Posted: Mon, 2008-08-04 13:53

Hello?

 
jason442

Joined: 2008-07-12
Posts: 14
Posted: Tue, 2008-08-05 15:24

I've attached a screenshot. Can someone please chime in. THanks!

 
jason442

Joined: 2008-07-12
Posts: 14
Posted: Tue, 2008-08-05 17:56

This is interesting...when I go to Administration > performace and clear the cache - then go back to the home page..the thumbnails work. But if I logout and clear my browser's cookies/cache and log in again ...the thumbnails do not work again. Any ideas? This is driving me crazy!

 
alecmyers

Joined: 2006-08-01
Posts: 4342
Posted: Tue, 2008-08-05 22:06

post a url to your site, please.

 
jason442

Joined: 2008-07-12
Posts: 14
Posted: Wed, 2008-08-06 14:26
alecmyers wrote:
post a url to your site, please.

http://pricespace.net

Login:test
Password:test123

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Wed, 2008-08-06 15:22

I think the issue is The image added to the post has the session ID of when the item is added. Can't tell as I can edit the post.
You should be able to edit the post and remove the

Quote:
&g2_GALLERYSID=1a80e07e63c51b132a8d07dd722bc1f2

from the image and be good to go.

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
jason442

Joined: 2008-07-12
Posts: 14
Posted: Wed, 2008-08-06 15:53
floridave wrote:
I think the issue is The image added to the post has the session ID of when the item is added. Can't tell as I can edit the post.
You should be able to edit the post and remove the
Quote:
&g2_GALLERYSID=1a80e07e63c51b132a8d07dd722bc1f2

from the image and be good to go.

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

Awesome Dave, that did it!! Thanks for looking at this!

So naturally, my next quesions are... Why is the G2image chooser adding the session ID and how can I fix this? In the mean time, I'll have to manually remove this each time I post and instruct others to do the same when they post.

Thanks!
Jason

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Wed, 2008-08-06 23:21

Perhaps it is a limitation of the image chooser and protected items. Perhaps the author will chime in.

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
Rash

Joined: 2006-03-04
Posts: 54
Posted: Mon, 2008-08-25 23:01

From the Cookie's section in the Gallery2 general Admin settings area:

Quote:
If your Gallery is embedded and you leave the following fields empty, then all DownloadItem links (the URLs of the images and other items) in the embedded Gallery have an appended GALLERYSID string in the URL which is a minor security risk when your Gallery users start copy'n'pasting image URLs in forums, guestbooks, etc. The alternative is to set the cookie path. Gallery will then not append the GALLERYSID to the embedded DownloadItem URLs. E.g. when Gallery is reachable at http://www.example.com/application/gallery2/ and the embedding application is at http://www.example.com/application/, then you have to compare the path /application/gallery2/ with /application/. The cookie path is the part of the paths that is equal, in this case it is '/application/'. Most often it is just '/'.
The cookie domain is also only needed for embedded Gallery installs and only if you want to get rid of the GALLERYSID string in the embedded DownloadItem URLs. In most cases, the cookie domain can be left blank. Set it only, if Gallery and the embedding application are only reachable with different subdomains. E.g. when Gallery is at http://photos.example.com/ and the application is at http://www.example.com/, then you have to set the cookie domain example.com (the part of the host string that is common to both, Gallery and the embedding application).
Once you change the cookie settings, all registered users of your Gallery will have to clear their browser cookie cache. If they do not, they will experience login / logout / lost session problems.

Perhaps setting this information will help? Just a thought, perhaps way off base.