2,751

(3 replies, posted in Juicebox-Lite Support)

Images in a Juicebox-Lite gallery are displayed using standard <img> tags (generated by the gallery's JavaScript code) and are scaled dynamically by the browser (as Juicebox-Lite uses the default value of imageScaleMode="SCALE_DOWN") so how the images look is somewhat dependent on the browser and its own scaling algorithms.
Out of interest, you might like to try using a different browser (Chrome vs Mobile Safari) to see if this makes a difference.
Perhaps the best solution would be to feed Juicebox-Lite larger images with a higher quality.
JuiceboxBuilder-Lite has default settings of 1024 x 768 at 80% quality. Try increasing these values to something like 4096 x 3072 at 90% quality (at least for testing purposes). Even if this produces images which are actually too large for a real-life gallery, if you get better results, it might hint that you would benefit from using larger resolution/higher quality images in your gallery than you currently do.
If you were using JuiceboxBuilder-Pro, I would recommend using a Multi-Size Image gallery.
Essentially, your gallery would contain up to 3 different sizes of images and Juicebox-Pro would use the most appropriate size, depending on the device being used to view the gallery. The Multi-Size Image logic also takes into account factors such as retina screens such as those on iPads.
Please see here for more details.

2,752

(1 replies, posted in Juicebox-Pro Support)

In your gallery's 'config.xml' file, you currently specify the backButtonUrl and splashImageUrl with absolute paths using http:// rather than https://
Change your paths to use https:// or scheme-relative URLs (starting with //) instead.
For example, change:

splashImageUrl="http://www.countyfairgrounds.net/images/139_10.jpg"

to either:

splashImageUrl="https://www.countyfairgrounds.net/images/139_10.jpg"

... or:

splashImageUrl="//www.countyfairgrounds.net/images/139_10.jpg"

Also, in your gallery's embedding code, change:

<script src="/jbcore/juicebox.js"></script>

... to:

<script src="//www.countyfairgrounds.net/jbcore/juicebox.js"></script>

I notice that you have other http:// links in your web page (in your <div id="sociallinks"> container) that you may also need to change.

2,753

(5 replies, posted in Juicebox-Pro Support)

wspollack is right. There is no way to stack the thumbnails on top of the main image (overlapping it).
The thumbnails can be positioned only using the thumbsPosition configuration option (TOP, BOTTOM, LEFT or RIGHT relative to the main image).
It would not even be possible via CSS. Juicebox would not be aware of any such modification and would expect the thumbnails to be in one of the designated thumbsPosition locations. Trying to change this manually may cause problems when the gallery is redrawn (for example when the browser window is resized).

When thumbnails are hidden (via the Thumbnail Button on the Button Bar), the main image is resized to take advantage of the extra space that has become available.

The best I can suggest is that you post this idea in the Feature Requests forum thread for potential inclusion in a future version.

2,754

(5 replies, posted in Juicebox-Lite Support)

You're welcome!

2,755

(3 replies, posted in Juicebox-Lite Support)

I use Firefox 38.0.1 on my own PC and I've not had the browser or computer freeze for 15 to 20 seconds whilst loading a page containing a Juicebox gallery (even with a completely cleared cache) so the problem might be unique to your own Firefox browser.
Try temporarily disabling any extensions and plugins that you may have installed in your Firefox browser (via 'Tools -> Add-ons') and then re-enable them, one by one, to see if you can find the source of the problem.
You might also like to try refreshing Firefox by following the instructions here to see if this helps: https://support.mozilla.org/en-US/kb/re … d-settings

2,756

(5 replies, posted in Juicebox-Pro Support)

I'm glad you've solved your problem. Thank you for letting me know.

2,757

(5 replies, posted in Juicebox-Lite Support)

Thank you for providing the URL to your web page and the screenshots.

The main problem is most likely with the dimensions of your gallery.
Your gallery has a height of 100% and, if the gallery was the only element on the page, it would fill the height of the browser window. However, your page contains a header and footer and the gallery has no parent container which has been given a height via CSS so Juicebox is unable to determine what its height should be 100% of.
Perhaps the easiest fix for this would be to set your gallery's height to be a fixed pixel value instead (such as 600px).

Also, your web page has a few HTML errors and it might help to fix these. There are not many errors but they may be non-trivial (stray and duplicate Doctype Declartations, <html>, <head> and <body> tags).
You can check the code on your web page with the W3C Markup Validation Service and fix the errors reported.

The gallery title overlapping the thumbnails images is caused by certain CSS rules in your 'style.css' file.
Lines 29-35:

body, input, select, textarea {
    color: #000000;
    font-family: "Raleway", Helvetica, sans-serif;
    font-size: 13pt;
    font-weight: 400;
    line-height: 2em;
}

Lines 328-330:

textarea {
    padding: 0.75em 1em;
}

These CSS rules apply to all 'textarea' tags on your page, including those within the Juicebox gallery. Juicebox has no option but to inherit such global CSS rules.
I would recommend that you apply your custom CSS rules to only those elements on your web page that require them through use of CSS selectors (ids and classes).

With a gallery of fixed height, the HTML errors on your page fixed and custom CSS applied only to non-gallery elements on your page, things should hopefully look better.

2,758

(5 replies, posted in Juicebox-Lite Support)

Please post the URL to your gallery so that I can take a look.
Also, if possible, please provide screenshots (perhaps upload them to your web server or a file sharing service such as Dropbox) so that I can see what you are seeing.

I would really need more information to troubleshoot (or explain) what you are reporting (e.g. the version of Juicebox you are using, the dimensions of the gallery, the dimensions of the thumbnails, the gallery configuration options, etc.)

In the meantime, here are a few notes which might help.

Please make sure that you are using the most recent version of Juicebox-Lite (v1.4.3.2) to ensure that any bugs from previous versions are not contributing to the problem.
If necessary, instructions for upgrading can be found on the Upgrading Juicebox support page.

If you are using a percentage height for your gallery, then please see this note or try using a fixed pixel height instead instead.

Do you see the problem in any of our demo galleries here?

Hopefully with a little more information, I'll be able to figure out what's going on.
Thank you.

2,759

(5 replies, posted in Juicebox-Pro Support)

Your https://www.countyfairgrounds.net/colorado/config.xml file still contains only 14 image entries.

Either:
(1) The 'config.xml' file is not being overwritten in your gallery folder when you edit the gallery with JuiceboxBuilder-Pro.
... or:
(2) The 'config.xml' file is not being overwritten on your web server.

Double-check that your new 'config.xml' file contains 15 image entries (you can open the file in a plain text editor).
If it contains only 14 image entries, then the file is not being overwritten. Check that your gallery folder is not read-only and that you do not have any gallery files open in any applications (other than JuiceboxBuilder-Pro) when you save the gallery on the 'Publish' tab. You could also try saving the new version of the gallery to a completely different folder.

If you are in any doubt that the old 'config.xml' file is being overwritten on your web server, delete it first before uploading the new version in its place.

Also, be sure to upload the new image and thumbnail to the gallery's 'images' and 'thumbs' folders.

After editing a gallery with JuiceboxBuilder-Pro, you should be able to just upload the entire gallery folder to your web server without having to manually pick out any specific files.
If you use a dedicated FTP program such as Filezilla, you could upload the entire gallery folder to your web server (to replace the old version) in a single drag-and-drop action and configure the FTP program to upload only new or updated files (to avoid having to re-upload images that already exist on the server).

2,760

(8 replies, posted in Juicebox-Pro Support)

You're welcome!
I'm glad it's working as expected now. Thanks for letting me know.

2,761

(5 replies, posted in Juicebox-Pro Support)

It sounds like you have added the new image to the SEO code in your HTML page (the page which contains the gallery's embedding code). This code is used only to help search engines index the content in your gallery. Please see here for more information.
The list of images which Juicebox displays in the gallery is stored in the gallery's 'config.xml' file.
Once you have updated a gallery in JuiceboxBuilder-Pro (to add or remove images), just upload the new 'config.xml' file to your web server, replacing the existing one (and clear your browser's cache after doing so to make sure that your browser uses the most recent version).

2,762

(3 replies, posted in Juicebox-Lite Support)

What I don't like (and I'm hoping there's a workaround for?) is the way galleries are only attached to single posts/pages (correct?)—I'd like to be able to manage galleries separately, and then add them to one or more posts/pages.

The way that WP-Juicebox currently works is that each gallery is associated with a single page or post and, if the Media Library is used as a source of images, then the images attached to the page or post containing the gallery will be displayed.
Unfortunately, there is no easy solution to change the way that WP-Juicebox works.
However, rather than try to separate galleries from their pages or posts, it would be possible (with knowledge of PHP and WordPress functionality) to change the way that WP-Juicebox displays Media Library images.
One possible solution might be to tag images in the Media Library (with a third-party plugin which allows such functionality as WordPress does not natively support this) and modify WP-Juicebox so that each gallery displays only images with specified tags. However, this would require a lot of work (and it would work only with a specific tagging plugin of your choice as all tagging plugins use different terms for their tags).

Could Juicebox be tweaked in some way to pull from FooGallery galleries, like it does from NextGEN?

It would certainly be possible to extend WP-Juicebox to use a new source of images (such as FooGallery) but an in-depth knowledge of how FooGallery works would probably be required (at least knowledge of how and where FooGallery stores images or image data) and I am not familiar with this plugin.

if I had my authors use Juicebox Builder, could we upload the files directly to the CDN, and then point the embed code in Wordpress to them?

You could certainly manually embed Juicebox galleries (created by JuiceboxBuilder) in WordPress pages or posts using the baseUrl method of embedding documented here.
Essentially, once you have created a gallery with JuiceboxBuilder-Pro, you would upload the complete gallery folder (not just the contents) to your web server and paste the baseUrl embedding code into the body of your WordPress post (ensuring that the method of entry is 'Text' rather than 'Visual'). 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, pointing towards the gallery folder) are correct.

(Our photos are coming out of Lightroom, anyway...)

As you are already using Lightroom, maybe you'd like to use the Lightroom plugin (which comes bundled within the Juicebox download zip package) to create your galleries (rather than JuiceboxBuilder). This might be better suited to your current workflow. More information about the Lightroom plugin can be found here.
I don't know if my notes above will actually help but I hope they might at least clarify a few things or point you in the right direction.

2,763

(8 replies, posted in Juicebox-Pro Support)

@NeillTaylor

When I click the Facebook share icon in your gallery, the correct image (the og:image) is being used in the pop-up window.
It sounds like Facebook (or your browser) may have been using an older, cached version of your web page.

Just for good measure, try clearing Facebook's own cache of your web page (so that the new image is used) by entering your web page's URL into Facebook's Open Graph Debugger.
Also, clear your browser's cache before reloading your web page.

Hopefully this will help.

Incidentally, the shareURL is used only by JuiceboxBuilder-Pro (and not by Juicebox-Pro itself when the gallery is displayed) to know what URL to use when populating the Open Graph tags in the index page when the gallery is created.

2,764

(496 replies, posted in Juicebox-Pro Support)

BTW, I am running v1.4.3 where can I get v1.4.3.1?

The latest version can be downloaded from the WP-Juicebox support page here.
The WP-Juicebox Version History can be found here.

2,765

(496 replies, posted in Juicebox-Pro Support)

@edwinoonk

Thank you for the suggestions.
It sounds like you are referring to WP-Juicebox. If so, you can use a transparent background by setting the Background Opacity in your gallery settings window to '0' (zero).

Also, if you wanted to reverse the order you Picasa gallery images, you could change line 105 of the 'config.php' file from:

$attachments = $Juicebox->get_attachments_picasa($custom_values['e_picasaUserId'], $custom_values['e_picasaAlbumName']);

... to:

$attachments = array_reverse($Juicebox->get_attachments_picasa($custom_values['e_picasaUserId'], $custom_values['e_picasaAlbumName']));

... although this would reverse the order for all Picasa galleries. (I understand your request for a new option to toggle this image order per gallery.)
Please note that the line number above refers to the current version of WP-Juicebox (v1.4.3.1).

2,766

(4 replies, posted in Juicebox-Lite Support)

If you want to prevent browsers from caching your gallery's dynamically-generated XML file, then try adding a unique query string (e.g. the current time which will be different each time the browser loads the page) to the configUrl option in your gallery's embedding code.
For example:

configUrl : "config.php?nocache=" + new Date().getTime(),

If you really want to add a refresh button to your web page, then you could use something like the following (which would overlay a 'refresh' link in the top left corner).

<div id="refresh" style="background-color: rgba(0,0,0,0.5); color: rgba(255,255,255,1); cursor: pointer; font-size: 20px; left 0px; padding: 4px; position: absolute; top: 0px; z-index: 9999;">
    <span onclick="javascript: window.location.reload(); return false;">Refresh</span>
</div>

If you wanted the 'refresh' link to be displayed only on mobile devices, then you could check to see what screen mode Juicebox is using (via the Juicebox-Pro API getScreenMode() method) and display the 'refresh' link only in Small Screen Mode.

<!DOCTYPE html>
<html lang="en">
<head>
    <title>Juicebox Gallery</title>
    <meta charset="utf-8" />
    <meta name="viewport" id="jb-viewport" content="minimal-ui" />
    <meta name="description" content="This is a Juicebox Gallery. Get yours at www.juicebox.net" />
    <style type="text/css">
    body {
        margin: 0px;
    }
    #refresh {
        display: none;
    }
    </style>
</head>
<body>
    <!--START JUICEBOX EMBED-->
    <script src="jbcore/juicebox.js"></script>
    <script>
        var jb = new juicebox({
            containerId: 'juicebox-container'
        });
        jb.onInitComplete = function() {
            if (jb.getScreenMode() === 'SMALL') {
                document.getElementById('refresh').style.display = 'block';
            }
        };
    </script>
    <div id="juicebox-container"></div>
    <!--END JUICEBOX EMBED-->
    <div id="refresh" style="background-color: rgba(0,0,0,0.5); color: rgba(255,255,255,1); cursor: pointer; font-size: 20px; left 0px; padding: 4px; position: absolute; top: 0px; z-index: 9999;">
        <span onclick="javascript: window.location.reload(); return false;">Refresh</span>
    </div>
</body>
</html>

(onInitComplete() and getScreenMode() work in Juicebox-Lite as well as in Juicebox-Pro.)

I hope this helps.

2,767

(3 replies, posted in Juicebox-Lite Support)

I am unable to see the problem you describe in either Chrome or Mobile Safari on my iPod Touch. (I see your gallery's Splash Page in both browsers and tapping it expands the gallery as expected.)
Try implementing the 3G/4G solution suggested in the FAQ. It can't do any harm and it might help.
Also, try uploading the sample 'web' gallery from the Juicebox-Pro zip package ('juicebox_pro_1.4.3.2/web/') to your own web server and try viewing it in Mobile Safari on your iPhone to see what happens.
If you have not already done so, try completely clearing your Mobile Safari browser's cache before reloading your web page to see if this helps, too.

... it just shows the gallery.

This is what makes me think that the 100% height is the root of the problem.

Perhaps put the gallery in a different DIV

This should not make a difference. There are no duplicate ids on the page and the gallery is already correctly embedded into a div with a unique id.

You should also enable scrolling on the web page...

Unless otherwise specified, vertical scrolling should already be enabled on the page as the default value for the CSS overflow property is visible.

You're welcome.
I'm glad it worked.

Clicking the 'Photo Gallery' tab calls the loadGallery() function but the gallery's embedding code is not within such a function wrapper on your web page. (Currently, the gallery's embedding code is run as soon as the web page is loaded and when this happens, the gallery's parent container is not visible on screen and has no dimensions.)

Change:

<script>
new juicebox({
containerId: "juicebox-container",
baseUrl : 'owl_slide/',
galleryWidth: "100%",
galleryHeight: "100%",
backgroundColor: "rgba(252,242,204,100)"
});
</script>

... to:

<script>
    function loadGallery() {
        new juicebox({
            containerId: "juicebox-container",
            baseUrl : 'owl_slide/',
            galleryWidth: "100%",
            galleryHeight: "100%",
            backgroundColor: "rgba(252,242,204,100)"
        });
    }
</script>

This should hopefully solve your problem.

2,771

(3 replies, posted in Juicebox-Lite Support)

Please make sure that you are viewing your gallery over a wi-fi connection and not 3G or 4G.
If you are using 3G or 4G, then please see this FAQ for a solution.
Why can't I view my gallery on a 3G mobile connection?
I've just checked your gallery ion Mobile Safari on an iPod Touch and it displays and functions fine so I suspect that this might be the cause of your problem.

Thank you for creating a new test page.

I have just checked this page in Chrome 42, Firefox 38.0.1, Internet Explorer 11, Opera 29 and Safari 5.1.7 on my PC and the text and video (and gallery) all display fine and stay visible in all browsers.

The only potential problem I see is that you have given your gallery a percentage height (100%) and your gallery does not have a parent container which has been assigned a height via CSS. Therefore, the browser may not be able to determine what the gallery's actual height should be 100% of. (Maybe the browser is using 100% of the entire viewport and covering the other elements on your web page with the gallery.)
Please also see this note regarding Using Percentage Heights.
Try giving your gallery a fixed pixel height (perhaps 600px) instead to see if this helps.

You're welcome.

2,774

(1 replies, posted in Juicebox-Pro Support)

I posted an example of how you could do this here: http://juicebox.net/forum/viewtopic.php?pid=8161#p8161
The code I posted takes into account the location of your 'jbcore' folder (in your root directory).
Give it a try. I've already tested it out in a text widget (like you are using) and it works fine.
Just create your two gallery folders, upload the complete gallery folders (not just the contents) to your root directory (alongside your 'jbcore' folder) and copy the entire code from my post into the text widget making sure that the 'id' attributes of the links are the names of the gallery folders ('winter' and 'summer' in my example).
You can choose to use the Splash Pages (or not) within each gallery via the showSplashPage configuration option.

(You could choose to relocate your gallery folders anywhere on your web server but you would need to compensate for this within the code. The code will work fine as it is as long as the gallery folders are in your root directory.)

Your gallery's Splash Page displays fine on your /colorado/colorado.php page because the embedding code on that page is OK (loading the 'juicebox.js' file from the 'jbcore' folder in your root directory).

Your gallery does not display when you try to view it on your /colorado/index.html page because the embedding code on this page is looking for the 'juicebox.js' file in a 'jbcore' folder in the 'colorado' folder (and you have removed it).
If you want the gallery to display on your /colorado/index.html page (using the shared 'jbcore' folder in your root directory), then change the following code (on the /colorado/index.html page):

<script src="jbcore/juicebox.js"></script>

... to:

<script src="/jbcore/juicebox.js"></script>