The &#xD character is the carriage return character.
The only way that I have been able to reproduce this problem is by saving a preset in JuiceboxBuilder-Pro, setting the imageShadowColor opacity to 100 (it should be a value between 0 and 1), and then manually editing the preset file in a text editor to introduce carriage returns into the imageShadowColor configuration option so that it looks like this:

<juiceboxpreset imageShadowColor="rgba(0,0,0,1
0
0)"/>

If I then load this modified preset in JuiceboxBuilder-Pro and save a gallery using it,
imageShadowColor="rgba(0,0,0,1&#xD;0&#xD;0)" appears in the gallery's 'config.xml' file.
I do not know how else this code might have been generated but at least you now know what to look out for.

4,252

(496 replies, posted in Juicebox-Pro Support)

I understand your request for a simple 'Mail' Button Bar button but, working with what is currently available, the following workaround may suit your needs better (though is a little more complex that my first suggestion).
It uses the 'Open Image' button (displayed on the Button Bar) so if you currently use this button for its intended purpose, you will not be able to implement the following.

  • Set every image's linkURL to 'mailto:email@address.com'.

  • Set every image's linkTarget to '_self'.

  • Set showOpenButton="TRUE" in your gallery's XML file.

  • Change the icon for the 'Open Image' button using the technique in the Using Custom Icons support section.

  • Change the toolip text for the 'Open Image' button using the languageList configuration option (so as not to confuse users).

First of all, try clearing your browser's cache to ensure that your browser is fetching and using the most recent gallery files from your web server. If this does not help, please post the URL to your 9th gallery and let me know what Gallery Title you see yourself and what Gallery Title you expect to see. Thank you.

Edit:
It looks like you have just deleted a couple of your posts.
Have you been able to solve your Gallery Title problem?

The imageShadowColor configuration option in your gallery's XML file is currently set to:

imageShadowColor="rgba(0,0,0,1&#xD;0&#xD;0)"

The 4th parameter of the rgba(r,g,b,a) value should be set to 0 for the color to be fully transparent so change it to the following:

imageShadowColor="rgba(0,0,0,0)"

For others reading this thread, you can remove the drop shadow on the main images by either setting imageShadowBlur="0" (in JuiceboxBuilder-Pro's 'Customize -> Main Image' section) or by setting the opacity of the imageShadowColor to zero, e.g. imageShadowColor="rgba(0,0,0,0)" ('Customize -> Color').
The 4th parameter of the rgba(r,g,b,a) value is the opacity (the alpha channel).

4,255

(3 replies, posted in Juicebox-Pro Support)

Please note that we did not write the Juicebox module for Drupal ourselves.
If you post your query in the Drupal forums, then the author of the module should be able to help you out.
I realise that this does not directly answer your query but it should hopefully point you in the right direction.

4,256

(3 replies, posted in Juicebox-Lite Support)

There are two separate issues causing your problems, both of which look to be caused by global CSS on your web page that the Juicebox gallery is inheriting.
It looks like your web page uses the border-box model for all elements on the page (which affects the icons and thumbnail frames being offset) and sets a global font (which overrides the main image navigation buttons).

Try adding the following CSS to your gallery's 'jbcore/classic/theme.css' page which should solve the second issue (with the main image navigation buttons):

.jb-navigation .jbn-left-button, .jb-navigation .jbn-right-button {
    font-family: juicebox;
}

With regard to the first issue, try searching through the CSS on your web page for an entry such as:

* {
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

If you find such an entry, change it to:

body {
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

... and then add the following CSS to your gallery's 'jbcore/classic/theme.css' page. This should fix the problem.

.juicebox-gallery a, .juicebox-gallery div, .juicebox-gallery h1, .juicebox-gallery h2, .juicebox-gallery h3, .juicebox-gallery h4, .juicebox-gallery p, .juicebox-gallery span, .juicebox-gallery u {
    -webkit-box-sizing: content-box;
    -moz-box-sizing: content-box;
    box-sizing: content-box;
}

Bug reports have been logged for both issues so the gallery elements affected should hopefully be better protected against global CSS in the next version of Juicebox.

4,257

(4 replies, posted in Juicebox-Pro Support)

I doubt this this is intentional but it may be default behavior and unavoidable. At least the text is highlighted so that users know the text is selected.
I will notify the developers. Thank you for pointing this out.

Edit:
This has now been logged as a bug and should hopefully be fixed in the next version of JuiceboxBuilder.

4,258

(3 replies, posted in Juicebox-Lite Support)

I have been running into the same problem , is there anyway you might explain this in greater detail ?

If you plan to embed multiple galleries on a single page, you can do the following:
(1) Create your galleries and keep each one in its own folder.
(2) Upload the complete gallery folders (not just the contents) to your web server.
(3) Embed each gallery in your web page using the baseUrl method documented here.

Here are a few tips:

  • It does not matter where on your web server you upload your gallery folders to as long as the two paths within the baseUrl embedding code (the path to the 'juicebox.js' file and the baseUrl itself) are correct.

  • Each gallery must be embedded in a <div> with a unique 'id'.

  • It is necessary to load the 'juicebox.js' file only once per page (not once per gallery).

For example, if you were to embed two galleries on a single page, the embedding code for the two galleries might look something like this.

<script src="http://www.example.com/gallery1/jbcore/juicebox.js"></script>

<script>
  new juicebox({
    baseUrl: 'http://www.example.com/gallery1/',
    containerId: 'juicebox-container1',
    galleryWidth : '800',
    galleryHeight : '600',
    backgroundColor: '#222222'
  });
  </script>
<div id="juicebox-container1"></div>

<script>
  new juicebox({
    baseUrl: 'http://www.example.com/gallery2/',
    containerId: 'juicebox-container2',
    galleryWidth : '800',
    galleryHeight : '600',
    backgroundColor: '#222222'
  });
  </script>
<div id="juicebox-container2"></div>

And when you say have multiple galleries on different pages can these galleries be imbedded in another css?

If you are embedding multiple galleries on different pages (i.e. only one gallery per page, then you can follow the standard embedding instructions here or the baseUrl method. Either will work equally well.
CSS (Cascading Style Sheets) is a method of styling web pages. It is not possible to embed a gallery 'in another CSS'. Do you perhaps mean a CMS (Content Management System) such as WordPress, Joomla or Drupal? If so, you can embed Juicebox galleries in any web page in the same way.

4,259

(496 replies, posted in Juicebox-Pro Support)

@voxen

Thank you for the suggestion.
You could achieve something similar using the Back Button. You could change the icon used for the Back Button (for example to an envelope icon) following the Using Custom Icons support section in the Theming Guide.
You could then use the following configuration options in your gallery:

backButtonPosition="TOP"
backButtonUseIcon="TRUE"
backButtonUrl="mailto:email@address.com"

4,260

(1 replies, posted in Juicebox-Pro Support)

You can embed a Juicebox gallery in Drupal by either:
(1) Using the Juicebox module for Drupal. (Please note that we did not write the module ourselves and support for the module should be directed towards the Drupal forums where the author of the module should be able to help you out.)
... or:
(2) Following the manual embedding instructions here.

If you want to be able to open an image from within a gallery in a lightbox-style modal window, then this can be achieved by following the instructions in this forum post.

I expect it would be rather complex to try to incorporate such functionality into the Juicebox module and it would probably be easier to try to implement it manually.

First, create the gallery as required (with the necessary linkURLs and linkTargets in the gallery's 'config.xml' file).
Next, you would need to include all the necessary external JavaScript and CSS files (from the code in the forum post linked to above) into the <head> section of your page.
These two links should be able to help with this:
https://drupal.org/node/171209
https://drupal.org/node/304255

Then, the embedding code that you would need to add to your page would look something like this:

<script type="text/javascript">
    Shadowbox.init({
        skipSetup: true
    });
    var jb;
    $(document).ready(function () {
        jb = new juicebox({
            containerId: 'juicebox-container',
            galleryWidth: '100%',
            galleryHeight: '600'
        });
    });
    function func() {
        var index = jb.getImageIndex();
        var info = jb.getImageInfo(index);
        var url = info.imageURL;
        var title = info.title;
        Shadowbox.open({
            content: url,
            player: 'img',
            title: title
        });                
    }
</script>
<div id="juicebox-container"></div>

4,261

(4 replies, posted in Juicebox-Pro Support)

My server permissions do not allow me to add or manipulate the root directory. Httpdocs was a folder it allowed me to add files to so I stuck the gallery folder in there.

That's perfectly normal and the right thing to do.
'httpdocs' ('http:// documents') is the folder on your web server that you upload files and folder to for them to be accessible on the internet. (Some web servers name this folder 'public_html'.)
Just change your existing embedded code for the code I posted above (making no changes to it) and your gallery should display fine.

4,262

(11 replies, posted in Juicebox-Pro Support)

The gallery sizing issue in iOS 7 has now been fixed in Juicebox v1.3.3. Please see the Version History for a full list of changes and the Upgrading Juicebox page for details on how to get the latest version.

4,263

(4 replies, posted in Juicebox-Pro Support)

The gallery sizing issue in iOS 7 has now been fixed in Juicebox v1.3.3. Please see the Version History for a full list of changes and the Upgrading Juicebox page for details on how to get the latest version.

4,264

(5 replies, posted in Juicebox-Pro Support)

The gallery sizing issue in iOS 7 has now been fixed in Juicebox v1.3.3. Please see the Version History for a full list of changes and the Upgrading Juicebox page for details on how to get the latest version.

4,265

(4 replies, posted in Juicebox-Pro Support)

httpdocs/jbg/jbcore/juicebox.js is a server path rather than a URL (the 'httpdocs' folder is visible only to you on your web server and not to anyone else on the internet).
You can use absolute paths, in the form http://www.example.com/jbg/jbcore/juicebox.js or relative paths (relative to the page containing the gallery's embedding code).
If your 'jbg' gallery folder is in your root directory, you can use a leading slash to denote the root and use the following embedding code, e.g.:

<!--START JUICEBOX EMBED-->
<script src="/jbg/jbcore/juicebox.js"></script>
<script>
new juicebox({
baseUrl : "/jbg/",
containerId : "juicebox-container",
galleryWidth: "100%",
galleryHeight: "100%",
backgroundColor: "rgba(18,18,18,1)"
});
</script>
<div id="juicebox-container"></div>
<!--END JUICEBOX EMBED-->

4,266

(1 replies, posted in Juicebox-Pro Support)

The easiest solution (if both the backButton and galleryTitle are positioned on the OVERLAY) would be to set backButtonHAlign="LEFT" and galleryTitleHAlign="CENTER" (or vice versa). (An alternative solution would be to set backButtonPosition="TOP" and galleryTitlePosition="OVERLAY".)

Is there any solution - by options or by modifying CSS(custom theming) - to position the gallery title just after the back button ? Or just before it ?

You should be able to tweak the position of either the Back Button or the Gallery Title via CSS as follows:

<style type="text/css">
    /* Back Button */
    .jb-go-back {
        margin-left: 100px !important;
    }

    /* Gallery Title */
    .jb-area-large-mode-title {
        margin-left: 150px !important;
    }
</style>

And more generally, can an element be positioned relatively to another element by custom theming ?

No. This is not possible.

4,267

(1 replies, posted in Juicebox-Pro Support)

Is it possible to stop the Caption/Title fade transition?

No. The way the captions fade or pop in and out is purely dependent on the captionPosition and imageTransitionType configuration options. Perhaps you can find a combination of values for these two options which suits your needs as best as possible.

We did not write the Juicebox module for Drupal ourselves and, unfortunately, I am unfamiliar with its code.
Please post your query in the Drupal forums where the author of the module should be able to help you out.

Take a look at the View Resizable Gallery with Top Menu Example in the Using a Resizable Gallery with a Header support section.
The sample has a header with links to two galleries. Each gallery is actually on a page of its own with the header duplicated in each page. You can view the source of the web pages in your browser and copy/modify the code as you like.

For a single page solution, try the following.
Create two galleries and name the gallery folders 'gallery1' and 'gallery2'.
Create a HTML file with the code below, put the file in the same directory as your two gallery folders and open it in a browser.

<!DOCTYPE html>
<html lang="en">
    <head>
        <meta charset="utf-8" />
        <meta name="apple-mobile-web-app-capable" content="yes" />
        <style type="text/css">
            html, body {
                height: 100%;
                overflow: hidden;
            }
            body {            
                margin: 0px;
            }
            #header {
                background-color: #222222;
                color: #666666;
                font-family: sans-serif;
                font-size: 20px;        
                height: 50px;
                padding-top: 10px;
                text-align: center;
                width: 100%;
            }
            #header a {
                color: #666666;
                text-decoration: none;
            }
            #wrap {
                width: 100%;
            }    
        </style>
        <script type="text/javascript" src="gallery1/jbcore/juicebox.js"></script>
        <script type="text/javascript">

            // Function to resize gallery
            function doLayout() {
                var windowHeight = window.innerHeight ? window.innerHeight : $(window).height();
                var headerHeight = $('#header').outerHeight();
                var galleryHeight = parseInt(windowHeight) - parseInt(headerHeight);
                $('#wrap').height(galleryHeight);
            }

            // Function to load selected gallery on demand using baseUrl
            function loadGallery(base) {
                new juicebox({
                    containerId: 'juicebox-container',
                    baseUrl: base
                });
            }

            // Run following code when page is initially loaded
            $(document).ready(function () {

                 // Run function to resize gallery
                doLayout();

                // Ensure function to resize gallery is run when browser window size changes
                $(window).bind('resize', doLayout);

                // Run function to load Gallery #1
                loadGallery('gallery1/');
            });
        </script>
        <title>Test</title>
    </head>
    <body>
        <div id="header">
            <a href="#" onclick="javascript: loadGallery('gallery1/'); return false;">Gallery 1</a>
            <span>&nbsp;</span>
            <a href="#" onclick="javascript: loadGallery('gallery2/'); return false;">Gallery 2</a>
        </div>
        <div id="wrap">
            <div id="juicebox-container"></div>
        </div>
    </body>
</html>

4,270

(496 replies, posted in Juicebox-Pro Support)

@guuz

If you just want the image to open in a new tab/window when clicked, set imageClickMode="OPEN_URL".
When an image is clicked, the corresponding linkURL will be opened in a tab/window specified by the linkTarget attribute.
You might like to take a look at this forum post which details how to have each image appear in a lightbox-style overlay when clicked.

4,271

(3 replies, posted in Juicebox-Pro Support)

But each gallery on the same page has an extra paragraph div added above each gallery. Can't tell if it's Wordpress or a Juicebox issue.

If there is an extra <div> in your page above each gallery, then it is likely to be a WordPress issue.
Juicebox does not add any new <divs> to a page outside the 'juicebox-container' <div>.

If I knew what Juicebox CSS element to use/call in a nested p.juciebox-elemet and make the p be 1 pixel rather than do a float left & clear.

Perhaps using a browser's developer tools (F12 in Chrome or the 'Inspect Element' right-click option in Firefox) will help you track down the CSS element(s) you would like to modify.

4,272

(8 replies, posted in Juicebox-Lite Support)

Thank you for providing the URL to your gallery.
It looks like your problem is caused by global CSS rules in your 'style.css' file. In this file you have the following code:

img, object, embed, video {
    max-width: 100%;
    left: 75px;
    right: auto;
    margin-top: 10px;
    margin-left: 5px;
    position: relative;
    float: left;
}

These CSS rules will apply to all images on your web page (including those in your Juicebox gallery). Juicebox has no option but to inherit such global rules.
These rules should be applied only to those elements on your web page which require them through use of CSS classes and ids.
If you were to remove the code above (just as a test), you should hopefully see that the gallery functions correctly and your images are no longer shifted to the right (resulting in cropping).

4,273

(1 replies, posted in Juicebox-Pro Support)

Try scaling your web page for mobile devices by adding the following <meta> tag to the <head> section of your page:

<meta name="viewport" content="width=device-width, initial-scale=1">

For more information about the <meta> 'viewport' tag, please see here.

4,274

(3 replies, posted in Juicebox-Pro Support)

Give each 'juicebox-container' <div> a unique 'id' and refer to that 'id' in the gallery's containerId configuration options.
For example:

<!--START JUICEBOX EMBED-->
<script src="http://www.mywebsite.com/_juicebox/First-Gallery/jbcore/juicebox.js"></script>
<script>
new juicebox({
baseUrl : "http://www.mywebsite.com/_juicebox/First-Gallery/",
containerId : "juicebox-container-one",
galleryWidth: "560",
galleryHeight: "750",
thumbWidth: "50",
thumbHeight: "50",
backgroundColor: "rgba(255,255,255,1)"
});
</script>
<div id="juicebox-container-one"></div>
<!--END JUICEBOX EMBED-->

Some other text here. Some other text here. Some other text here.
Some other text here. Some other text here. Some other text here.
Some other text here. Some other text here. Some other text here.

<!--START JUICEBOX EMBED-->
<script>
new juicebox({
baseUrl : "http://www.mywebsite.com/_juicebox/Gallery-Two/",
containerId : "juicebox-container-two",
galleryWidth: "560",
galleryHeight: "750",
thumbWidth: "50",
thumbHeight: "50",
backgroundColor: "rgba(255,255,255,1)"
});
</script>
<div id="juicebox-container-two"></div>
<!--END JUICEBOX EMBED-->

Incidentally, you need to load only one instance of the 'juicebox.js' file on your page and your baseUrls should end with a trailing slash.

4,275

(11 replies, posted in Juicebox-Pro Support)

Unfortunately, I do not know when the next version of Juicebox will be released. There is no set release schedule and it will be released only when it is ready. Any estimate I give you could turn out to be wholly inaccurate.
All I can suggest is that you either sign up to our mailing list at the foot of our homepage or follow us on Twitter @JuiceboxGallery to be notified when new versions are released.