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!
Posts: 73
the last post in the thread i referred to is incorrect - i THOUGHT i'd solved it, its reappeared!
Posts: 492
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
Posts: 73
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.
Posts: 73
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
Posts: 73
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?
Posts: 492
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