Slideshows In Drupal-Embedded gallery (Normal and Applet) er

kiz_0987

Joined: 2005-02-27
Posts: 189
Posted: Fri, 2005-05-06 01:38

I'm trying to use the slideshow the a Drupal embedded gallery. Both the normal and the new full screen applet work when I use G2 directly, but via Drupal the slideshow does not run. I have URL Rewrite on.

Normal:
- Clicking "Show More Info" works
- if I try to change the picture size nothing happens
- if I click "Back One Image" I get redirected back to http://mysite.local/drupal/#

Applet (and Gallery Remote):
- I get an error "Gallery Remote can find no protocol information at http:mysite.local/drupal...". Is this a rewrite error? I do have a rewrite rule in my .htaccess file in Drupal (for g2 rewrite support). I did not set the "file not found" part of URL Rewrite and it (rewrite) worked. Setting the "file not found" part breaks it with a "too many redirects" error. Here is the relevant part of my .htaccess

    # Only redirect to Gallery base file if there's no such file already, and
    # make sure gallery_remote2.php generates a 404 in order to be compatible
    # with Gallery Remote.

    RewriteCond %{REQUEST_FILENAME} -f [OR]
    RewriteCond %{REQUEST_FILENAME} -d [OR]
    RewriteCond %{REQUEST_FILENAME} gallery\_remote2\.php
    RewriteRule ^.+$   -   [L]

    RewriteRule ^g2/$   /drupal/gallery?g2_view=core:ShowItem   [QSA,L]
    RewriteRule ^g2/(.+)$   /drupal/gallery?g2_view=core:ShowItem&g2_path=$1   [QSA,L]
    RewriteRule ^(.+)$   /drupal/gallery?g2_view=rewrite:FileNotFound&g2_path=$1   [QSA,L]

Other comments on the Applet (in non-embedded mode):
- does not display perfectly in Safari. The middle selects are too big for the box they are in - this causes the top one (progress?) to be partially hidden. Often on a redisplay the boxes are totally moved around and not displayed correctly - a reload is necessary.
- hangs (never loads any photos or gives error) if there are no photos (just albums) when you try to run it. presumably related to not following the cascaded hierarchy that I've seen in another post.

Any ideas? Thanks for your help.

----

Gallery URL (optional):
Gallery version: beta2+ (cvs from yesterday)
Webserver (with version):Apache 2.0
Datatabase (with version):MySql
PHP version (eg 4.2.1):
phpinfo URL (optional):
Graphics Toolkit(s):GD
Operating system:Linux (G2), MacOSX Tiger (to view site)
Web browser/version:Safari 2, FF 1.03
G1 version (for migration bugs):

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Fri, 2005-05-06 01:48

@normal slideshow in embedded in drupal:
ask walkah, the author of the integration. i guess he doesn't add the javascript properly.

 
kiz_0987

Joined: 2005-02-27
Posts: 189
Posted: Fri, 2005-05-06 02:11

Thanks Valiant. I have fixed the normal slideshow issue for embedded. Your post reminded me to go back and check http://gallery.menalto.com/index.php?name=PNphpBB2&file=viewtopic&t=23957&start=45 and sure enough gallery.module is older than the change introduced in this thread and the CVS (the <script> tags were used twice).

I'll post the fix on the drupal gallery.module issues list.

The gallery_remote and applet embedded questions remain. Looking through the forum I see similar problems for embedded gallery_remote. Does anyone have it working embedded?

Let me just say that not only am I impressed with G2, but I am super-impressed by the responsiveness and level of support that you all provide in this forum. Great work. On some other (to remain nameless) open source projects I'm lucky to get any response ever.