Topic: Open in Expanded View

Hello,

I've embedded Juicebox-Lite into a Drupal page but I would like to open it in expanded view (eg fill the whole web page).

Does anyone know how to do this?

Thanks in advance, Rob

Re: Open in Expanded View

The 'Expand Button' is automatically disabled when a Jucebox gallery is embedded in an <iframe>.
Ensure that showExpandButton="TRUE" is set in your gallery's XML file and follow the Embedding in a Drupal Site instructions in the 'Juicebox - Embedding Guide' (using the baseUrl method of embedding instead of using an <iframe>).

Re: Open in Expanded View

Thank you support.

I think I've done everything you mentioned but what I was hoping for is that, like the html version, I can add a link that opens the page in 'expanded view'.

For example, my 'recent photos' link here http://www.robstead.co.uk/about opens http://www.robstead.co.uk/recentphotos but  the photos are embedded in the page.

I tried using the html page but Drupal didn't like it as a menu item.

I hope this makes sense.

Rob

Re: Open in Expanded View

If you simply want to link to a gallery (which would then open on its own page), you should upload the entire gallery folder and link to the gallery's HTML index page (default name 'index.html') within the gallery folder.

For example, if your domain name is 'www.example.com', your gallery folder is named 'gallery' and you upload your gallery folder to the root of your domain, then the link you should use to open the gallery in a new page would look like this:

<a href="http://www.example.com/gallery/index.html">Click to view gallery</a>

Re: Open in Expanded View

Thanks for that suggest but Drupal doesn't appear to like adding a html page to its menu system.

I have the html page already (www.robstead.co.uk/recentphotos.html) and my hope was to add it to the menu.

I'm guessing then it's not possible to open a page with embedded Juicebox in expanded view?  Even via a url?

Rob

Re: Open in Expanded View

Quick update....

Using this thread I've been able to link a html page to Drupal 7's menu system:

http://drupal.org/node/112352

So I'm happy but I would prefer using an embedded page in expanded view if that was possible?

Rob

Re: Open in Expanded View

So I'm happy but I would prefer using an embedded page in expanded view if that was possible?

It would not be possible to link to a page into which a gallery is embedded and have the gallery on that page initially displayed fullscreen.
However, you could simply link to the gallery's HTML index page (default name 'index.html') directly, which would display the gallery on its own page (filling the browser window).