Embedded Gallery In Drupal

pupster

Joined: 2007-12-25
Posts: 2
Posted: Tue, 2007-12-25 07:49

I've installed gallery2 in a separate folder from drupal (i.e., /usr/local/apache2/htdocs/gallery2).
Drupal is in /usr/local/apache2/htdocs/drupal-5.5

I've installed the Drupal gallery module and things are working EXCEPT for the URL when clicking on the images.

I have a symbolic link in the drupal-5.5 dir that points to gallery2, e.g., /usr/local/apache2/htdocs/gallery2 gallery2

When I click on gallery image (in drupal) I get the URL
http://example.com/drupal-5.5/v/dierauf/ instead of http://example.com/gallery2/v/dierauf/

How do I fix this?

Thanks.

 
profix898

Joined: 2005-11-08
Posts: 135
Posted: Sun, 2008-01-13 23:30

We are talking about an embedded Gallery 2 in Drupal, right? If so "http://example.com/gallery2/v/dierauf/" is not a valid url either. It should be something like "http://example.com/drupal-5.5/gallery/v/dierauf/". So I guess you are mixing things up:
1. The embedded gallery appears as part of Drupal (the paths are Drupal paths and not pointing to your standalone G2 installation)
2. Your URL Rewrite plugin is not configured correctly in G2. Make sure to set the "Show Item" rule to "gallery/v/%path%".

Please read http://codex.gallery2.org/Integration:Drupal:Installation for some more details on installation/configuration.