Drupal<->Gallery2: Standalone Gallery2 -> shows images / Integrated in drupal -> no images
Mastermarx
Joined: 2005-10-14
Posts: 3 |
Posted: Fri, 2005-10-14 15:15 |
Hello drupal folks, I read a lot of postings, but I didn't find an answer for my problem. My Problem: Link to the Gallery (standalone) Link to the same Gallery in drupal (standalone) Link to phpinfo: If I extract the path to the images out of the HTML Code it looks like this: That looks fine for me. But I get an error message if I put the path into the browser: I guess there is something wrong with the rewrite rules in drupal?! Any ideas? Sorry for my hororable English. Andreas |
|
Posts: 189
Looks to me like there is something wrong with your G2 rewrite rules. The links work, but you do not have thumbnails. This is probably because you did not disable rewrite rules in G2 for everything but the 'Show Item' rule. I think this as your thumbnails also show that the URL has been rewritten -- which it should not have been.
Check http://codex.gallery2.org/index.php/Gallery2:How_to_Embed_Gallery2_in_Drupal for how to set up the rules correctly.
Posts: 3
Hi kiz_0987,
thank you for quick respond.
I made a Screenshot of the rewriterule setting in Gallery2:
http://www.mastermarx.de/rewrite.gif
Here are the configuartions of the drupal rewrite rules in the .htaccess file:
http://www.mastermarx.de/htaccess.txt
I think that is right.
The gallery in standalone mode works fine. Therefore should be something wrong in drupal. Or not?
Posts: 189
OK, this makes it clear. You can only have the "Show Item" rule active. All the other ones have to be inactive. Maybe sometime someone will figure out how to use the other rewrite rules, but for now no.
Posts: 3
That fixed it
It works:
http://www.mastermarx.de/drupal/gallery
Thank you very much!
Posts: 1
Hello,
my problem is similar.
Drupal 4.6.6 is installed in "cms/". Gallery2.1.1 is installed within a subfolder of Drupal "cms/gallery2". gallery.module is installed and activated with the peferences Location: "gallery2/" and Location of Drupal: "/". Short URLs are active for Drupal like also Gallery2 and those work standalone. All the Rewrite Rules are deactivated but "show item" is active with the preferences "gallery/%path%" . Gallery .htaccess and Embedded .htacces are respectively writeable.
The links of the gallery work fine, only the pictures and thumbnails are not displayed. BTW: I have installed Drupal not in "root" but in a subfolder of root.
Does anyone know what the problem is? Thanks in advance.
Posts: 189
stonie09. Can you please PM me a link to your site and I'll take a look.
Posts: 6
Son of a biscuit eater. I was working on this for hours.
Lesson learned: IN THE URL_REWRITE SCREEN, DISABLE ALL OPTIONS EXCEPT FOR THE "SHOW ITEM" OPTION
*sigh