2,701

(1 replies, posted in Juicebox-Pro Support)

We don't always post a blog entry for each new release but we did announce the new version with a Tweet.
Follow us on Twitter and you'll be notified of new releases: https://twitter.com/juiceboxgallery

Otherwise, keep an eye on the Version History page which is updated when a new version is released.

You're welcome.
I'm just glad that we were able to get to the bottom of the mystery!

I think I've found the root of the problem.
Juicebox will scale up the thumbnails on a thumbnail page on a mobile device if the following conditions are met.
(1) The gallery has dimensions of 100% x 100%.
(2) There is no existing viewport tag on the web page.
(3) The gallery is the only content on the page.

However, your web page created with jAlbum has the following line of code <div id="jalbumwidgetcontainer"></div> meaning that the gallery is not the only content on the page and so the thumbnails are not scaled up.
Your other gallery which functions correctly does not have this jAlbum widget container in it.

If you remove the jAlbum widget code from your web page, your gallery should hopefully display as expected.
If you don't use jAlbum widgets, try editing the skin's 'skin.properties' file and change the value for autoWidgetInjection (on line 2) from true to false . Then reload the skin and remake your album.

2,704

(3 replies, posted in Juicebox-Pro Support)

You're welcome.

2,705

(3 replies, posted in Juicebox-Pro Support)

This would certainly be possible.
Please take a look at this forum post which demonstrates how a gallery's XML file can be generated dynamically when the gallery is displayed.
Rather than immediately output the XML data (via PHP 'echo'), you could modify the code to save the XML data to a file (ideally named 'config.xml' so that you do not have to change anything in a default gallery setup). Knowledge of PHP would be required.
You could then set up a Cron Job (scheduled task) on your web server to run the PHP script (to update the XML file) once a day. (Your web hosting account's cPanel might have a Cron Job interface which would make this very easy to achieve.)
I hope this points you in the right direction.

2,706

(3 replies, posted in Juicebox-Lite Support)

JuiceboxBuilder-Lite uses the image filenames for the image titles by default. To prevent the image filenames from being displayed in the gallery, select 'Images -> Titles -> Use None' from the drop-down menu at the top.

I've tried to replicate the problem using the same HTML page that you currently use ('/Emma-pictures/index.html'), the same gallery structure (a gallery created by jAlbum) and a gallery containing well over 140 images but I cannot get the 140-thumbnail display on either Mobile Safari or Chrome. The scaled-up 6-thumbnail display is always shown.

Your web page seems to load a little slower than my own test gallery.
I'm not sure if this is because of the problem (having to load 140 thumbnails) or the cause of the problem (perhaps a timing issue).
Do you have access to a different web server where you could temporarily upload the same gallery to see if things are different on another server? This might help in troubleshooting the problem.

I'm really not sure what might be causing your problems. I'm using JuiceboxBuilder-Pro v1.4.4 under AIR v18.0.0.180 (on my PC) without any problems.

When I was done and went to save it, it would not save and at that point would not open anything else.

Make sure that you are not saving your gallery to a restricted file system (check the permissions on the folder you are saving your gallery to) or a network drive or a folder synced to an online file sharing service such as Dropbox or Google Sync.
If you are not already doing so, try saving each gallery to a separate folder on your desktop.

I noticed the reference to WordPress on the Bluehost support page but your hosting account might have been using Varnish regardless of whether or not your hosting account was optimized for WordPress so it was worth a shot.

As I noted with the query string trick, the new file (without the viewport tag) is being served OK when a unique URL is used and the problem is not seen when this version of the page is used so the problem certainly seems to be a caching problem (removing the viewport tag appears to resolve the original problem you reported).
When I see the problem and view the source of the page, the viewport tag is present (even though it has been removed from the file on your web server) so the old version is still being served from somewhere.

Try viewing your web page in a different browser (such as Mobile Chrome) which has never been used to view the page before (if possible). If you still see the problem (now that the new file without the viewport tag is in place on your server), then the caching problem is server-side rather than client-side (in the browser). Perhaps you could contact your web host and ask if caching is present on your hosting account and, if so, how to turn it off.

Maybe a workaround would be to name the new version of your page 'index.htm' (rather than 'index.html').
The server should still hopefully be configured to find and use this file name as a default if a user navigates to the parent directory (without explicitly using the index file name).
As the filename is different, the old cached 'index.html' file should not be used.
(The only disadvantage would be that if you have any links to this page, you would have to adjust them accordingly.)

If you are having problems running JuiceboxBuilder-Pro, then I would recommend completely uninstalling and reinstalling the application following the procedure below:

(1) Uninstall JuiceboxBuilder-Pro.
Mac: Delete the 'JuiceboxBuilder-Pro' file from the Applications folder and empty your Trash.
Windows: Use the uninstaller in the 'Control Panel -> Programs -> Uninstall a program...' list.

(2) After uninstalling JuiceboxBuilder-Pro, please check that there are no files are left behind by manually deleting the following folders from your hard drive (if they exist):
Mac: /Users/your_username/Library/Application Support/Adobe/AIR/ELS/JuiceboxBuilder-Pro
Windows: C:\Program Files (x86)\JuiceboxBuilder-Pro
Windows: C:\Users\Username\AppData\Roaming\Adobe\AIR\ELS\JuiceboxBuilder-Pro
Windows: C:\Users\Username\AppData\Roaming\JuiceboxBuilder-Pro
Windows: C:\Users\Username\Documents\JuiceboxBuilder-Pro
You may need to show hidden files to find some of the above locations in Windows Explorer: http://windows.microsoft.com/en-us/wind … dden-files

(3) Next, search your hard drive for the term 'JuiceboxBuilder-Pro' and delete any and all entries found (to be absolutely sure that nothing remains).

(4) Also, please follow the procedure above (Steps #1 - #3) for JuiceboxBuilder-Lite, too.
JuiceboxBuilder-Lite and JuiceboxBuilder-Pro can both be installed and run side by side on the same computer but, being that you are experiencing problems, it might be wise to completely clear your system of all JuiceboxBuilder files before trying to reinstall JuiceboxBuilder-Pro.

(5) Reinstall JuiceboxBuilder-Pro following the instructions here.

Basically, the program loads and then just sits there. Won't do anything at all.

If JuiceboxBuilder-Pro gets past the splash screen and displays the 'Start' tab but the 'New Gallery...' and 'Open Gallery...' buttons are unresponsive, then closing the application, manually deleting the ELS folder (from Step #2 above) and reopening the application might be enough to solve the problem.

Thought it was time I upgraded to the 1.4.4 to see if some issues had been resolved.

You can always check the Version History page to see what bugs have been fixed in the latest version.
If you are being troubled by other bugs, then please let me know what they are so that I can investigate further (or at least tell you whether or not we are aware of them and are working to fix them).

Also, it might help to know what operating system are version of Adobe AIR you are currently running so please let me know. Thank you.

I cleared my iPod Touch's cache in the same way that you cleared your iPhone's cache.
I then loaded your 'Emma-pictures' gallery and still saw the problem myself. However, when I viewed the source of the web page, I noticed that the viewport tag was still present.
I then tried viewing the web page adding a (redundant) query string to try to force the new version of your page to be fetched from your web server and it worked.
I used this URL http://www.billanddot.com/Emma-pictures … ml?xyz=123 and only 6 thumbnails were displayed on the page (as expected). When I viewed the source of the web page this time, the viewport tag was not present.
It looks like the problem is solved by removing the viewport tag but that there is a caching problem somewhere along the line (forcing the old version of the page with the viewport tag still in place to be used). The caching may be happening server-side rather than in the mobile browser.

It looks like Bluehost uses Varnish caching. Try turning it off following the instructions here.

Alternatively, if you have an Apache server, you might like to try adding the following line of code to the .htaccess file in your root directory.

Header set Cache-Control "max-age=0, private, no-cache, no-store, must-revalidate"

Hopefully one of these suggestions will help.

2,712

(3 replies, posted in Juicebox-Pro Support)

That's great! Thank you for letting me know.

2,713

(1 replies, posted in Juicebox-Pro Support)

Without seeing your gallery's web page, I do not know whether or not the extra space you refer to is actually part of the gallery.
If it is, then please see this FAQ which might help:
My Juicebox gallery shows too much space above or below the main image, how do I fix this?

If you set imageScaleMode="FILL" (even just for testing purposes) and the space is no longer there, then you could either leave imageScaleMode="FILL" (or imageScaleMode="SCALE") to fill the image area or reduce your gallery's height so that the aspect ratio of the gallery's image area better matches the aspect ratio of your images (resulting in less space when the images are scaled to fit within the image area).
If, when setting imageScaleMode="FILL", the space is still there, then it is not originating from the gallery and you might need to look elsewhere on your web page to see where it is coming from. Check the source code of your web page (usually via 'Right-Click -> View Page Source' or 'Tools -> Web Developer -> Page Source) to see if there are any empty <p> tags or <br> line breaks above your gallery which might be causing the space you see.

If you continue to experience difficulties, then please post the URL to your gallery's web page so that I can see the problem for myself and hopefully help further. Thank you.

Thank you for providing the links and screenshots. It makes troubleshooting that much easier!

I see the problem on my iPod Touch 4 running iOS 6.1.6 so iOS 8.4 is not the problem.

I think the problem may be related to the following line of code in your web page:

<meta name="viewport" content="minimal-ui" />

The latest version of JuiceboxBuilder-Pro and the current plugins do not insert a <meta> 'viewport' tag into the HTML pages that they generate. (Your gallery which does not exhibit the problem does not have this line of code in it.)
Try either removing the <meta> 'viewport' tag completely (which should allow Juicebox to scale the page correctly) or setting the <meta> 'viewport' tag to the following (to scale the page yourself).

<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=0" />

Hopefully one of these suggestions will work.

Incidentally, Apple introduced the 'mimimal-ui' viewport property in iOS 7 and removed it from iOS 8. If you want to continue using it for iOS 7 users, then you could use:

<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=0, minimal-ui" />

2,715

(3 replies, posted in Juicebox-Lite Support)

You're welcome!

2,716

(3 replies, posted in Juicebox-Pro Support)

Please see this FAQ:
When I view my gallery I see the message 'Config XML file not found'. How do I fix this?

Currently, your paths (the path to the 'juicebox.js' file and the baseUrl) are relative to the web page containing the embedding code.
I do not know the structure of your web site so I do not know if these paths are correct.
However, knowing that your 'Gallery' folder is in your root directory ('public_html'), you could use leading slashes in your paths to make the paths are relative to your root directory (rather than the current directory).

<!--START JUICEBOX EMBED-->
<script src="/Gallery/jbcore/juicebox.js"></script>
<script>
  new juicebox({
    baseUrl : '/Gallery/',
    containerId : 'juicebox-container',
    galleryWidth : '800',
    galleryHeight : '600',
    backgroundColor: '#222222'
  });
  </script>
<div id="juicebox-container"></div>
<!--END JUICEBOX EMBED-->

Also, please check the following:
(1) Make sure that the gallery's XML file is named 'config.xml'. (If you rename the file, you will need to use the configUrl configuration option to point towards it.)
(2) Make sure that the gallery's XML file is directly inside the 'Gallery' gallery folder (and not in a subfolder or elsewhere).
(3) Make sure that the permissions of the gallery's XML file on your web server are not too restrictive. Default permissions of 644 should be fine. You can check and change file permissions using an FTP program (such as Filezilla) or via the File Manager in your web hosting account's online cPanel.

I hope these tips help. However, if you continue to experience difficulties, then please post the URL to your gallery's web page so that I can see the problem for myself and hopefully help further. Thank you.

You're welcome.

2,718

(1 replies, posted in Juicebox-Lite Support)

I would recommend that you save each gallery to a separate folder.
This helps to keep things organized and prevents files and folders from one gallery being overwritten by those of another.
It also makes editing a gallery much easier in the future as all the files for each gallery will be in their own folders.

You can even upload the complete gallery folders to your web server (rather than just the contents) and then embed the galleries in your web pages using the baseUrl method of embedding documented here. (The baseUrl configuration option points towards a complete gallery folder.)

2,719

(7 replies, posted in Juicebox-Pro Support)

So is there another way to accomplish the same that considering I am using Muse and Business Catalyst?

You would really need to use a server-side script to build a dynamic XML file on-the-fly when the gallery is displayed. It cannot be done client side (for example with JavaScript).
The only other method of uploading images and having them included in a gallery without the need to modify any gallery files would be to use a Flickr account as a source of images.
If you use a Flickr account as a source of images, you could upload new images to the Flickr account and they would automatically be included in the gallery.
Certain Flickr configuration options are available to Juicebox-Lite (the free version) and others are available to Juicebox-Pro only so you can find descriptions of all Flickr options in these two section.
Lite: http://www.juicebox.net/support/config_ … te-options
Flickr Pro: http://www.juicebox.net/support/config_ … kr-options

The thumbs are loading up slowly, and some of them do not seem to load at all.

I have checked out your gallery (the static version without the 'config.php' file) and all thumbnails load OK.
However, you have set maxThumbRows="4" and thumbsPosition="BOTTOM" (default value). On my screen, 40 thumbnails are displayed. In your gallery, this totals approximately 42MB of data. Also, your gallery uses imagePreloading="PAGE" (default value) so the user's browser will be preloading and caching all images on the current thumbnail page which amounts to even more data for the browser to initially load when the gallery is first displayed.
I would recommend using smaller images for your thumnails (some are currently over 3MB each and a couple are over 4MB) and you could set imagePrelaoding="NEXT" (in JuiceboxBuilder-Pro's 'Customize -> Main Image' section) to preload only the next image rather than all images on the current thumbnail page. This would significantly reduce the load on the browser when the gallery is first displayed.

Does Juicebox automatically crop the thumbs?

Juicebox scales the thumbURL images to fill the thumbWidth and thumbHeight dimensions. If the aspect ratio of the thumbURL image does not exactly match the thumbWidth x thumbHeight aspect ratio, cropping will occur.

Should we be clicking Crop to Fit?

'Crop to fit' will crop images (if necessary) to fill the specified image dimensions. If you do not set 'Crop to fit', then JuiceboxBuilder will respect the aspect ratio of the source image and will resize it using the specified image dimensions as maximum bounds.
'Crop to fit' affects only the main images in a gallery, not the thumbnails. (Thumbnails are always 'cropped to fit' to ensure that all thumbnail images match the specified thumbnail dimensions.)

Can one add more than one gallery to a web page?

Yes. Theoretically, there is no limit to the number of galleries you can have on a single page. Please see the Embedding Multiple Galleries support section for online examples.'
Just remember to embed each gallery into a <div> container with a unique 'id' and load the 'juicebox.js' file only once per web page (not once per gallery).

What's the maximum amount of pictures recommended for each gallery?

There is no real maximum to the number of images you can have in a gallery. As long as your images are of a reasonable file size and you set imagePreloading to an appropriate value for your gallery, everything should be fine.

Thank you for reporting this problem.
I have been able to replicate the problem in a test case and have logged a bug report with the developers.

Until the bug is fixed, the only workaround I have discovered so far is to stagger the start of each gallery's AutoPlay by using the Juicebox-Pro API toggleAutoPlay() method instead of setting autoPlayOnLoad="TRUE" and then delaying the firing of this method for each gallery with setTimeout functions of increasing values.
Here is what the embedding code might look like for three galleries on the same page:

<script>
    var jb1 = new juicebox({
        baseUrl: 'g1/',
        showAutoPlayButton: 'TRUE',
        containerId: 'juicebox-container-1',
        galleryWidth: '400',
        galleryHeight: '600',
        backgroundColor: '#222222'
    });
    jb1.onInitComplete = function() {
        window.setTimeout(function() {
            jb1.toggleAutoPlay();
        }, 200);
    };
</script>
<div id="juicebox-container-1"></div>

<script>
    var jb2 = new juicebox({
        baseUrl: 'g2/',
        showAutoPlayButton: 'TRUE',
        containerId: 'juicebox-container-2',
        galleryWidth: '400',
        galleryHeight: '600',
        backgroundColor: '#222222'
    });
    jb2.onInitComplete = function() {
        window.setTimeout(function() {
            jb2.toggleAutoPlay();
        }, 400);
    };
</script>
<div id="juicebox-container-2"></div>

<script>
    var jb3 = new juicebox({
        baseUrl: 'g3/',
        showAutoPlayButton: 'TRUE',
        containerId: 'juicebox-container-3',
        galleryWidth: '400',
        galleryHeight: '600',
        backgroundColor: '#222222'
    });
    jb3.onInitComplete = function() {
        window.setTimeout(function() {
            jb3.toggleAutoPlay();
        }, 800);
    };
</script>
<div id="juicebox-container-3"></div>

2,721

(1 replies, posted in Juicebox-Lite Support)

When using WP-Juicebox (the Juicebox plugin for WordPress) and selecting the Media Library as the source of images, a gallery created by the plugin will display all images attached to the page or post containing the gallery.

Instructuctions for installing and using WP-Juicebox can be found on the plugin's support page here.

Essentially, to create a new gallery with WP-Juicebox sourced by the Media Library, following the instructions below.

(1) Create a new page or post.
(2) Click the 'Add Juicebox Gallery' button.
(3) Configure the gallery in the settings window and click 'Add Gallery'. (A Juicebox gallery shortcode will be added to the page or post.)
(4) Click the 'Add Media' button above the toolbar.
(5) Drag and drop images from a folder on your computer into the media window and wait for them to finish uploading.
(6) Close the media window (with the cross at the top right corner).  Do not click the 'Insert Into Post' button. This will display the individual images in the page or post. Also, do not go to the 'Create Gallery' tab. This will create a WordPress gallery (not connected to Juicebox). WP-Juicebox just needs the images to be attached to the page or post. (You can change the order of the images by selecting 'Uploaded to this post' in the media window and then dragging and dropping the thumbnails.)
(7) Publish the page or post.

Please note that WordPress allows each Media Library image to be attached to only one post so it is not possible to include images from the Media Library which are already attached to other posts.

2,722

(7 replies, posted in Juicebox-Pro Support)

If you created the 'config.php' file in a text editor, please make sure that it is named 'config.php' and that it does not have a different file extension such as 'config.php.txt'.

Also, please check that your web server has PHP installed on it. (Most web servers have PHP installed by default but it would be worth checking to be sure.)

If you continue to experience difficulties, please post the URL to your gallery's web page so that I can see the problem for myself and hopefully help further.
It might also help if you could zip your complete gallery folder and upload it somewhere (and provide a download link) so that I can take a look at all your files together and figure out what the problem is. Thank you.

2,723

(7 replies, posted in Juicebox-Pro Support)

Do PHP files work with Muse?

PHP is a server-side scripting language. All PHP code is processed on the web server and, as such, you will not be able to preview your dynamically-generated gallery locally in Muse but it will work fine when you upload it to your web server.

Does this mean that I delete the confi.xml file?

That is correct. You would not need to use the 'config.xml' file created by JuiceboxBuilder-Pro. This is a static file which will only ever display the images listed in it. If you added images to a designated folder and wanted them to be displayed inthe gallery, then you would need to either:
(1) Manually edit the 'config.xml' file to include the new images.
... or:
(2) Use the 'config.php' file (from the forum post I linked to above) to dynamically generate a fresh XML file each time the gallery is displayed (listing all images in the designated folder at the time the gallery is displayed ).

And where exactly do I copy this: configUrl : 'config.php' in the embedding code?

Your embedding code might look something like this:

<!--START JUICEBOX EMBED-->
<script src="jbcore/juicebox.js"></script>
<script>
new juicebox({
    configUrl: "config.php",
    containerId: "juicebox-container",
    galleryWidth: "100%",
    galleryHeight: "100%",
    backgroundColor: "#222222"
});
</script>
<div id="juicebox-container"></div>
<!--END JUICEBOX EMBED-->

2,724

(7 replies, posted in Juicebox-Pro Support)

Since I would like to be able to just add images to the "images" folder via ftp, what are the steps that I need to follow?

If you want to be able to upload images to a designated folder and have them displayed in your gallery without the need to modify any gallery files, then please see the example in this forum post.

Will the config file change based on the images folder?

Yes. Using the method in the forum post, when the gallery is viewed, the 'config.xml' file will be built dynamically (on the web server by the PHP script) using the image data from the designated folder.

Juicebox-Pro (the gallery itself) has no limit to the number of image that can be included.
However, if you try to add many images at once to JuiceboxBuilder-Pro (the desktop application which creates the Juicebox-Pro gallery), Adobe AIR (the platform on which JuiceboxBuilder-Pro runs) may not be able to allocate enough memory for the task at hand. Even if your computer has plenty of free RAM, Adobe AIR applications are limited to around 1GB of memory allocation. A workaround would be to add your images in smaller batches.