Topic: alternative to iframe
I use the Gallery to time on my page with iframe.
Are there alternatives to iframe?
I would like to use the full-screen function.
Are any alternative faster than iframe?
regards Daniel
You are not logged in. Please login or register.
Juicebox Support Forum → Juicebox-Pro Support → alternative to iframe
I use the Gallery to time on my page with iframe.
Are there alternatives to iframe?
I would like to use the full-screen function.
Are any alternative faster than iframe?
regards Daniel
Rather than load a gallery's 'index.html' page into an iframe, you can embed a gallery directly into a <div> container on a web page following the embedding instructions here.
If you need to switch between galleries on the same page, then you can do so with JavaScript (setting a unique baseUrl for each gallery) by following the Switching between Multiple Galleries using JavaScript example in the Embedding Multiple Galleries support section.
Thanks for the answer.
So you get just about the "JuiceboxBuilder-Pro" of the embed code in a html page?
but I'm working with lightroom and make my galleries with the plugin.
Question 1: Is it possible to create with Lightroom plugin the embed code?
Question 2: is the code different every time or do I need this only once create and customize only the link to the gallery on my FTP server?
Greetings Daniel
Question 1: Is it possible to create with Lightroom plugin the embed code?
You can use (copy and paste) the embedding code from the gallery's 'index.html' file and then follow the embedding instructions here.
Question 2: is the code different every time or do I need this only once create and customize only the link to the gallery on my FTP server?
If you embed your galleries by copying the contents of the gallery folder into the same directory as the web page containing the gallery's embedding code (as in the instructions here), then the embedding code will remain constant for each of your gallery's (with the exception of any configuration options that may be set in the embedding code such as the backgroundColor and the path to the gallery's 'juicebox.js' file).
However, if you plan to upload many galleries to your web site, you might like to use the baseUrl method of embedding as documented here.
This allows you to keep each gallery in its own folder which may help keep things organized on your web server and also if you plan to edit or update your galleries at a later date as it keeps all the files together.
Essentially, you would upload the complete gallery folder (not just the contents) to your web server and use a baseUrl (pointing towards the gallery) in the embedding code. It does not matter where on your web server you upload your gallery folder to as long as the two paths in the embedding code (the path to the 'juicebox.js' file and the baseUrl itself) are correct.
Juicebox Support Forum → Juicebox-Pro Support → alternative to iframe
Powered by PunBB, supported by Informer Technologies, Inc.