Installed Drupal 4.6
Used latest integration code,
Installed Gallery G2, Beta 3.
Enabled Fullscreen slidshow module in gallery.

In drupal - when launching fullscreen slideshow it says "Gallery remote cannot find protocol implementation at http://www.site_name.com/. Check with browser that htt://www.site_name.com is a valid gallery URL"

from what i understand it's just not redirecting the Java applet to the correct URL http://www.site_name.com/gallery2 (default path).

Thanks

Comments

P00595’s picture

Hi,

I resolved this issue by locating the following line in gallery.module:

'relativeG2Path' => $relativeG2Path,

and changing it to:

'relativeG2Path' => '/'.$relativeG2Path,

For proof that it works, visit http://www.cnac.org.au/gallery

Calvin

Johnyp’s picture

Well, i did as you recommended and it still gave the same error message. I've looked at your site and have to note that you just framed your site around the real gallery install. So it's not actually embeded into your site as it's on mine hypersensory.com/gallery

I still get the same error message, and i know that it's just a path problem that i don't know how to solve.

thanks

P00595’s picture

Hello johnyp,

I'm not sure what you mean when you say I have just framed my site around the real gallery2?
The page header and footer are generated by Drupal in the same way as for the rest of the site, not some sneaky embedded HTML within the gallery2 code.

Do you mean because there are no drupal blocks on either side of the 'embedded' gallery?
I turned them off to allow the maximum width for showing of photo albums.

I notice on your site that none of the original gallery2 navigation menus on the left are showing.
I assume you edited these out via changes to the actual gallery2 PHP code? Or did Drupal hide these menus automatically itself as part of the integration module? If so then I'll have too admit, my site is not very embedded.

Similarly I assume you wrote your own Drupal 'view slideshow' block to display on the left?
Or did did the supplied integration module do this for you?

Calvin

jawahar’s picture

I've noticed a strange problem - the fix works for me but only in Internet Explorer. In Firefox (1.0.7), the "Start Slideshow" button remains disabled. I have not isolated the cause yet, but it points to the way parameters are passed by Firefox to the applet.

kiz_0987’s picture

Status: Active » Closed (fixed)

Now works correctly.