Directory Settings
"URI of Gallery2" is the URI of the Gallery2 standalone location. Path from docroot to the directory main.php is located. Protocol / host name are both optional. Examples: /gallery2/, /sub/gallery2/, http://photos.example.com/, www.example.com/photos/main.php
"Location of Gallery2" is the path of your gallery2 installation, either absolute (starts with "/") or relative to your Drupal installation directory. Normally this is auto-detected, but in case this fails you can turn off auto-detection and manually enter a value.
"Embed URI" is the URI needed to access Gallery2 through Drupal. This will end in \'?q=gallery\' (non-clean URLs) or \'gallery\' (clean URLs). Normally this is auto-detected, but in case this fails you can turn off auto-detection and manually enter a value.
Some examples:
Example 1: If your directory structure and website structure is
- Drupal dir: /var/www/web/html/
- Gallery dir: /var/www/web/html/gallery2/
- Website URL: http://www.example.com
- Standalone Gallery2 URL: http://www.example.com/gallery2/
- Then
- "URI of Gallery2" = "/gallery2/" or "http://www.example.com/gallery2/"
- "Location of Gallery2" = "gallery2/" or "/var/www/web/html/gallery2/"
- "Embed URI" = "?q=gallery" or "http://www.example.com/?q=gallery"
Example 2: If your directory structure and website structure is
- Drupal dir: /var/www/web/html/drupal/
- Gallery dir: /var/www/web/html/gallery2/
- Website URL: http://www.example.com/drupal
- Standalone Gallery2 URL: http://www.example.com/gallery2/
- Then
- "URI of Gallery2" = "/gallery2/" or "http://www.example.com/gallery2/"
- "Location of Gallery2" = "../gallery2/" or "/var/www/web/html/gallery2/"
- "Embed URI" = "/drupal/?q=gallery" or "http://www.example.com/drupal/?q=gallery"
Example 3: If your directory structure and website structure is
- Drupal dir: /var/www/web/html/drupal/
- Gallery dir: /var/www/web/html/someotherdir/gallery2/
- Website URL: http://www.example.com/
- Standalone Gallery2 URL: http://www.anotherexample.com/gallery2/
- Then
- "URI of Gallery2" = "http://www.anotherexample.com/gallery2/"
- "Location of Gallery2" = "/var/www/web/html/someotherdir/gallery2/"
- "Embed URI" = "/drupal/?q=gallery" or "http://www.example.com/drupal/?q=gallery"