blocked images

tsfftf

Joined: 2007-02-02
Posts: 73
Posted: Thu, 2007-11-15 14:49

tried finding the solution to this problem in the drupal support forums a while ago. the link is here

http://drupal.org/node/169469

after a while drupal doesn't show the thumbnails g2image inserts from gallery. one guy said in that thread that its a permission issue... i've set gallery2 permissions to view and download for authenticated users...it only happens when there's a combination of deleting the drupal_cache and clearing the browser, what's going on?

help much appreciated!

 
tsfftf

Joined: 2007-02-02
Posts: 73
Posted: Thu, 2007-11-15 14:53

the last post in the thread i referred to is incorrect - i THOUGHT i'd solved it, its reappeared!

 
capt_kirk

Joined: 2006-01-24
Posts: 492
Posted: Thu, 2007-11-15 17:06

Try removing the GALLERYSID by following the instructions in this link. (It's from the WPG2 FAQ, but the principal applies to any embedded Gallery2 instance.)

Kirk
____________________________________
G2Image Documentation, G2Image Demo Page, My Family Website

 
tsfftf

Joined: 2007-02-02
Posts: 73
Posted: Wed, 2007-11-21 13:05

kirk, thanks for the reply. that seems to have worked. was aware that the "\" needed to be put there but for some reason when i tried that when i originally set the site up it made all the pics disappear in the gallery through the embedded app. it works now so i must have changed something anyway.

one problem i've just noticed with the g2image (i think) is this:

i've just moved from a test (localhost) to setting it up on my local network (192.168.*.* etc) and the images in the embedded gallery and the image block show up fine, but the g2image images dont. the g2image still works, but you have to manually re-change the image locations from http://localhost/.... to http://192.168.etcetc. i imagine you'd have to do this if ever it changed again. its quite teadious. hope it makes sense so far...

forgive my ignorance but is there some way around this? if not would it be better if g2image referenced some variable so it wasn't necessray to change every picture again?

thanks man.

 
tsfftf

Joined: 2007-02-02
Posts: 73
Posted: Wed, 2007-11-21 13:09

i was tending to think setting dns up with the domain name and then that could point to the localhost instead or whatever ip cos i'm trying to get a home server up... but i have zero experience with dns. would that work? trar

 
tsfftf

Joined: 2007-02-02
Posts: 73
Posted: Wed, 2007-11-21 13:56

i think i've just stumbled across the solution inadvertently. is server-relative urls my answer? i've just seen it in the changelog as being swapped out in preference of fixed urls in version 3.0.1. noticed its on the to do list...

will the change to support relative urls solve my problem?

 
capt_kirk

Joined: 2006-01-24
Posts: 492
Posted: Wed, 2007-11-21 17:20
tsfftf wrote:
i think i've just stumbled across the solution inadvertently. is server-relative urls my answer? i've just seen it in the changelog as being swapped out in preference of fixed urls in version 3.0.1. noticed its on the to do list...

will the change to support relative urls solve my problem?

Yes, switching back from full URLs to server relative URLs should fix your problem. Basically do the reverse of this post.

Kirk
____________________________________
G2Image Documentation, G2Image Demo Page, My Family Website