1,901

(16 replies, posted in Juicebox-Pro Support)

... if I 'save' the gallery, then all the images are deleted from the Small and Large folders.

Sorry. I should maybe have been more specific with my instructions.
(1) Create a Multi-Size Image gallery with JuiceboxBuilder-Pro (by selecting 'Resize Images' and allowing the application to create small and large images) so that smallImageURL and largeImageURL entries are included in the gallery's 'config.xml' file and 'small' and 'large' subfolders are included in the gallery's 'images' folder.
(2) Create three sets of images yourself in an imaging program (such as Photoshop) and replace the medium images in the gallery's 'images/' folder, the small images in the gallery's 'images/small/' subfolder and the large images in the 'images/large/' subfolder.
(3) Do not edit the gallery in JuiceboxBuilder-Pro after doing this. If you re-save the gallery with 'Resize Images' deselected, the smallImageURL and largeImageURL entries will be removed from the gallery's 'config.xml' file and the small and large images will be deleted from the 'images/small/' and 'images/large/' subfolders.

... are you certain that the gallery will actually *use/deliver* the small and large images when being used by the appropriate devices?

As long as there are smallImageUrl and largeImageUrl entries with valid paths pointing towards corresponding images (which, by default, will be in the 'images/small/' and 'images/large/' subfolders), then Juicebox-Pro will use the appropriate images (depending on the device, screen size, pixel density, etc.) when the gallery is displayed.

The key is to not re-save your gallery in JuiceboxBuilder-Pro with 'Resize Images' deselected after creating a Multi-Size Image gallery and swapping out your images.

1,902

(1 replies, posted in Juicebox-Pro Support)

I'm not sure if you are using WP-Juicebox (the Juicebox plugin for WordPress) or trying to embed your gallery manually.

If you are using WP-Juicebox and find that the pop-up window does not display the gallery settings when you click the 'Add Juicebox Gallery' button, then please see this forum thread for suggestions.

If you are trying to embed your gallery manually, then I would recommend using the baseUrl method documented here.
Essentially, once you have created your gallery with Lightroom, 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 page or 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.

For example, if your gallery folder is named 'my_gallery_folder' and you upload it to the root directory of your web space, then you could use the following embedding code. The leading slashes in the paths denote your root directory so this code will work in any web page throughout your site without modification (although you can change the gallery dimensions and background color if you like).

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

If you have trouble with WordPress adding <br> and <p> tags throughout the code, install the Raw HTML plugin and wrap the code in [raw] ... [/raw] tags.

I hope these notes help.
However, if you continue to experience difficulties, please post back with a link to your gallery's web page so that I can see the problem for myself and hopefully help further.

1,903

(16 replies, posted in Juicebox-Pro Support)

... when I de-select the 'Resize Images' checkbox, JBx no longer allows me to have  large, medium and small images.

The only way for JuiceboxBuilder-Pro to create different sizes of images is to resize the source images. As soon as you deselect 'Resize Images', your source images will not be resized at all and your gallery will use just the source images.

Is there any way of having Juicebox Builder Pro, NOT resize AND allow for 3 sizes?  (Unfortunately, I don't use Lr).

No. Unfortunately not.

If you want to have a Multi-Size Image gallery but do not want your images to be resized by JuiceboxBuilder-Pro, then you'll need to:
(1) Create a Multi-Size Image gallery with JuiceboxBuilder-Pro (so that smallImageURL and largeImageURL entries are included in the gallery's 'config.xml' file).
(2) Create three sets of images yourself in an imaging program (such as Photoshop) and replace the images in the gallery's 'images' folder.

1,904

(8 replies, posted in Juicebox-Pro Support)

I have tested your setup in Chrome 54, Edge, Firefox 49.0.1, Internet Explorer 11 and Opera 40 on my PC.
Every time I single-slick your gallery's Back Button, the animation on your Edge Animate page is active without having to click anywhere on the page. It works in all browsers for me.

The Back Button is essentially just an <a> tag (like your manual link) which is generated dynamically by the 'juicebox.js' file when the gallery is displayed (although this should make no difference).

Maybe some additional information would help to track down the cause of the problem.
What version of Safari do you use?
Do you have any browser extensions installed? If so, try temporarily disabling them to see if this helps.
Try completely clearing your browser's cache before reloading your website to see if this makes a difference.
Also, try other browsers to see if the problem is unique to Safari.

Hyperlinks operate with a single-click and, as far as I'm aware, there is no way to simulate a double-click on the Back Button when a user single-clicks it.

1,905

(10 replies, posted in Juicebox-Pro Support)

You're welcome!
I'm glad my suggestion worked for you. Thanks for letting me know.

1,906

(10 replies, posted in Juicebox-Pro Support)

On my iPhone, screen touches anywhere hides Title, Caption (including my button) and Button Bar, so a touch on the button never registers on a phone.

Tapping the screen on an iPhone toggles the overlay on and off by default (you can override this behavior by setting showInfoButton="TRUE") but tapping a button on the Button Bar should certainly still work. If you have a gallery where this does not work, please post a link so that I can investigate further. (I have just viewed the gallery whose link you posted and the Button Bar buttons seem to function fine on my own iOS device.) Also, check to see if you have any custom CSS which might be overriding the gallery's own CSS.

Is there a way to get my useful button to register presses on an iPhone?

Instead of using a <form> tag, try using a regular <a> tag instead. You can then style the content of the tag using CSS.
This should hopefully work. (The <a> tag link in the first image in this demo gallery works on my iPod Touch.)

1,907

(5 replies, posted in Juicebox-Pro Support)

If you are using WP-Juicebox (the Juicebox plugin for WordPress), then you don't need to worry about the regular embedding code. The plugin handles this for you. After adding a Juicebox gallery to your page or post using the plugin, all you will see in the editor is a Juicebox shortcode such as:

[juicebox gallery_id="7"]

All you then need to do is make your that the editor is in 'Text' mode (rather than 'Visual' mode) and add the following code directly below the Juicebox shortcode (replacing the five instances of [gallery_id] with the actual gallery id as necessary).

<script type="text/javascript">
    jb_[gallery_id].onInitComplete = function() {
        jQuery('#juicebox-container-[gallery_id] .jb-bb-btn-open-url').off('click');
        jQuery('#juicebox-container-[gallery_id] .jb-bb-btn-open-url').click(function() {
            var index = jb_[gallery_id].getImageIndex() - 1;
            var element = '#juicebox-container-[gallery_id] .jb-dt-main-image-' + index;
            var src = jQuery(element).find('img').first().attr('src');
            window.open(src, '_blank');
        });
    };
</script>

If you are not using WP-Juicebox and, instead, are manually embedding your Juicebox gallery into your WordPress page or post, then I would recommend using the baseUrl method documented here.
As an example, you could name a gallery folder 'your_gallery_folder', upload it to your web space's root directory and paste the following code into the WordPress editor (in 'Text' mode).

<script src="/your_gallery_folder/jbcore/juicebox.js"></script>
<script>
    var jb = new juicebox({
        baseUrl: "/your_gallery_folder/",
        containerId: "juicebox-container",
        galleryWidth: "100%",
        galleryHeight: '600px",
        useFlickr: "TRUE",
        flickrUserName: "your_flickr_username"
    });
    jb.onInitComplete = function() {
        jQuery('#juicebox-container .jb-bb-btn-open-url').off('click');
        jQuery('#juicebox-container .jb-bb-btn-open-url').click(function() {
            var index = jb.getImageIndex() - 1;
            var element = '#juicebox-container .jb-dt-main-image-' + index;
            var src = jQuery(element).find('img').first().attr('src');
            window.open(src, '_blank');
        });
    };
</script>
<div id="juicebox-container"></div>

I hope this helps.

1,908

(5 replies, posted in Juicebox-Pro Support)

No problem.
I'm pretty sure Ryan should be able to help you out with the use of hook_juicebox_gallery_alter() over in the Srupal forum.

1,909

(1 replies, posted in Juicebox-Pro Support)

Sorry for the late reply. It looks like your query somehow slipped through the net.

WP-Juicebox (the Juicebox plugin for WordPress) embeds galleries in WordPress web pages using the regular embedding method documented here.

All that is loaded into the web page is the 'juicebox.js' file (and the 'theme.css' file dynamically afterwards).
All the CSS in the 'theme.css' file should target the gallery only. As far as I am aware, there are no CSS rules that should affect any other elements on your web page.
There may somehow be a JavaScript conflict but all it seems strange that the problem has happened only with your new theme.

It would certainly be worth making sure that you are using the latest versions of WordPress (v4.6.1) and WP-Juicebox (v1.5.0) (and WP DFP if you are using it) to see if this helps. You can download the latest version of WP-Juicebox from the plugin's support page here. Be sure to upgrade the plugin using your Juicebox-Pro v1.5.0 files. (You can download Juicebox-Pro v1.5.0 using the link from your purchase email. Full instructions can be found here.)

Try viewing your web page in different browsers (Chrome, Edge, Firefox, Internet Explorer, Opera, Safari) to see if the problem is unique to a certain browser. Also, if you have any browser extensions installed, try temporarily disabling them to see if this makes a difference.

I'm not sure it will help but this is the only forum thread I can find in the WP DFP support section which seems similar (if not identical) to your problem. I just thought I would point it out in case it helps.
WP DFP Loads Twice (Ads Flicker) - https://wordpress.org/support/topic/wp- … s-flicker/

1,910

(5 replies, posted in Juicebox-Pro Support)

Normally, to give each gallery a different audio track, you would just assign each gallery different audioUrlMp3 and audioUrlOgg values.
For reference, a list of all Audio Options can be found here.
Please also see the Adding Audio Support section.

The hook_juicebox_gallery_alter() method is unique to the Juicebox module for Drupal. It is not part of Juicebox itself.
The Juicebox module for Drupal is an unofficial plugin which was not written by ourselves and, as such, I am not familiar with hook_juicebox_gallery_alter().
I would recommend that you post your query in the Drupal forum where the author of the module should be able to help you further. (The module is well supported by its author over there.)

I realise that this may not directly answer your query but I hope it points you in the right direction.

1,911

(5 replies, posted in Juicebox-Pro Support)

Thank you for posting your idea in the Feature Requests thread.

I've found a workaround for this which you might like to try.
It's rather complex and involves overriding Juicebox-Pro's own click handler for the 'Open Image' button.
It uses the Juicebox-Pro API (specifically the onInitComplete event) to ensure that the 'Open Image' button is present in the DOM (Document Object Model) before any actions are performed on it.
It also uses JavaScript to extract the current image's URL (from a dynamically generated container with a specific CSS class name) before opening it in a new tab/window.

<!--START JUICEBOX EMBED-->
<script src="jbcore/juicebox.js"></script>
<script>
    var jb = new juicebox({
        containerId: "juicebox-container",
        useFlickr: "TRUE",
        flickrUserName: "your_flickr_username"
    });
    jb.onInitComplete = function() {
        $('#juicebox-container .jb-bb-btn-open-url').off('click');
        $('#juicebox-container .jb-bb-btn-open-url').click(function() {
            var index = jb.getImageIndex() - 1;
            var element = '#juicebox-container .jb-dt-main-image-' + index;
            var src = $(element).find('img').first().attr('src');
            window.open(src, '_blank');
        });
    };
</script>
<div id="juicebox-container"></div>
<!--END JUICEBOX EMBED-->

I hope this is a suitable workaround for you.

If you want to incorporate it into a WP-Juicebox gallery, then add the following code to the body of your WordPress page or post directly below your Juicebox gallery shortcode. (Make sure that your editor is in 'Text' mode rather than 'Visual' mode.)

<script type="text/javascript">
    jb_[gallery_id].onInitComplete = function() {
        jQuery('#juicebox-container-[gallery_id] .jb-bb-btn-open-url').off('click');
        jQuery('#juicebox-container-[gallery_id] .jb-bb-btn-open-url').click(function() {
            var index = jb_[gallery_id].getImageIndex() - 1;
            var element = '#juicebox-container-[gallery_id] .jb-dt-main-image-' + index;
            var src = jQuery(element).find('img').first().attr('src');
            window.open(src, '_blank');
        });
    };
</script>

Replace the five instances of [gallery_id] in the code above with the actual Gallery Id which you can find in the Juicebox gallery shortcode.
For example, if your Gallery Id is 7, then your code should look like this:

<script type="text/javascript">
    jb_7.onInitComplete = function() {
        jQuery('#juicebox-container-7 .jb-bb-btn-open-url').off('click');
        jQuery('#juicebox-container-7 .jb-bb-btn-open-url').click(function() {
            var index = jb_7.getImageIndex() - 1;
            var element = '#juicebox-container-7 .jb-dt-main-image-' + index;
            var src = jQuery(element).find('img').first().attr('src');
            window.open(src, '_blank');
        });
    };
</script>

If you have trouble with WordPress adding <br> and <p> tags throughout the code, install the Raw HTML plugin and wrap the code in [raw] ... [/raw] tags.

Please note that Juicebox-Pro was not designed with this functionality in mind (user overrides for Button Bar buttons) and whilst you are free to use such modifications, there are not officially supported (and you may run into unforeseen problems that might have to be tackled along the way).

1,912

(5 replies, posted in Juicebox-Pro Support)

I switched to flickr because Picasa web didn't work anymore with Juicebox plugin (Wordpress).

Unfortunately, Google (who acquired Picasa) do not seem to allow access to new Google Photo Albums via the Picasa Web API although existing albums created prior to the acquisition can still be displayed via WP-Juicebox (as long as they have not been modified recently).

When I use a flickr album, the picture doesn't open in a separate window, but opens in flickr.

This is by design. When the 'Open Image' button is clicked for a Flickr gallery, the image's Flickr page is opened.
There is no way to change this behavior using any available configuration options. The code which handles this is buried deep within the 'juicebox.js' file which is obfuscated and cannot be modified.

All I can suggest at the moment is to perhaps suggest this alternative action for the 'Open Image' button in the Feature Requests forum thread.
This keeps all the ideas together and ensures that they are not overlooked by the developers.
I do not know the likelihood of any suggestions being implemented but this is certainly the best place for all ideas.
Thank you.

1,913

(1 replies, posted in Juicebox-Pro Support)

I notice that your panoramic thumbnail images have actual dimensions of ~170px x 50px and are being displayed in your gallery at 85px a 85px so they are therefore being dynamically scaled up (and losing quality) when the gallery is displayed to fill the required 85px height.

The Lightroom plugin will currently produce thumbnails which should look fine (and should not need to be scaled up) for images which have a maximum aspect ratio of 2:1.

If the plugin were just to increase the thumbnail dimensions (which are currently based on the thumbWidth and thumbHeight values), then it would produce (perhaps unnecessarily) larger thumbnails for all galleries (irrespective of whether or not panoramic images are used).

Unfortunately, it is not possible for the plugin to iterate over all gallery images before the thumbnails dimensions need to be set in order to determine the largest aspect ratio and calculate optimum values.

I'll investigate to see if there is a better way to have the plugin scale the thumbnail images.

At the moment, the best workaround would probably be to replace the thumbnails with custom ones (perhaps created with JuiceboxBuilder-Pro which resizes and crops the source images to create thumbnail images with the exact thumbWidth and thumbHeight dimensions).

Edit:
Please check your email. I have sent you a message. Thank you.

1,914

(8 replies, posted in Juicebox-Pro Support)

You're correct. Sorry. The link pointed towards the Showkase forum Feature Requests thread in error. Thank you for pointing this out.
I've fixed the link now so that it points correctly towards the Juicebox forum Feature Requests thread (http://juicebox.net/forum/viewtopic.php?id=5). I'm glad you found the right thread. Apologies for any inconvenience caused.

1,915

(5 replies, posted in Juicebox-Pro Support)

I'm glad that you've been able to successfully use a workaround.
As you say, it should hopefully only be a temporary measure until the problem is fixed.

Incidentally, setting imagePreloading="ALL" should be enough to work around the problem.
I notice that your gallery (the first one that you linked to above) does not set a value for imagePreloading but, instead, sets maxThumbColumns="52" (the number of images in your gallery). By not setting a value for imagePreloading, Juicebox-Pro will use its default value of PAGE and by setting maxThumbColumns="52", you are essentially telling Juicebox-Pro that there should be (a maximum of) 52 images per page. Therefore, all 52 images on the first page of thumbnails (all the images in your gallery) will be preloaded and this has the same result as setting imagePreloading="ALL".

1,916

(8 replies, posted in Juicebox-Pro Support)

@borut.podlipnik

You can change the shape of the thumbnails with thumbWidth and thumbHeight (via the 'Thumb Width' and 'Thumb Height' sliders in the 'Thumbnail' control panel). They do not need to be square but they will all be the same size as each other.

However, images in folder thumbs (probably created by Lightroom) are correct - not cropped!

The thumbnails exported by Lightroom are not cropped (as you have discovered). Lightroom uses the thumbWidth and thumbHeight values as maximum bounds when resizing the images and their aspect ratios are respected.
However, Juicebox will always dynamically scale the thumbnail images to fill the thumbnail dimensions (with cropping if the aspect ratios do not match) when the gallery is displayed.
Even though JuiceboxBuilder-Pro crops thumbnails to the exact thumbnail dimensions and Lightroom does not, if you view galleries (built with JuiceboxBuilder-Pro and Lightroom) with the same thumbWidth and thumbHeight values, the galleries (and thumbnails in particular) will look the same.
There is no way to change this.

The only thing you could do is create your own set of scaled-to-fit thumbnail images (in Lightroom, Photoshop or another imaging program) and replace the ones in the 'thumbs' folder.
Please bear in mind that it would still not be possible to have thumbnail images of different sizes. All thumbnail images will be displayed at the thumbWidth and thumbHeight dimensions. If you have images of varying aspect ratios, you may need to pad your thumbnail canvas with blank space (at the top and bottom or left and right) to fill the thumbnail dimensions.

If you like, you can post suggestions for future versions in the Feature Requests forum thread.
This keeps all the ideas together and ensures that they are not overlooked by the developers.
I do not know the likelihood of any suggestions being implemented but this is certainly the best place for all ideas.
Thank you.

1,917

(5 replies, posted in Juicebox-Pro Support)

Unfortunately, you have encountered a known bug whereby flickrShowDescription captions are not displayed when the thumbnails are not visible on the page and only a certain number of images have been preloaded.

A bug report has been logged with the developers and the problem should hopefully be fixed in the next version.

The only workaround I've found so far is to set imagePreloading="ALL" (although if you have a large gallery or use large images, this might not be ideal).
A short description of imagePreloading can be found in the Main Image Options section of the 'Config Options' page.

I hope this is a suitable workaround for you until the problem is fixed.

1,918

(1 replies, posted in Juicebox-Pro Support)

how can I share one image not the gallery?

It is not possible to have the shared image's thumbnail displayed in the pop-up Facebook share window due to limitations imposed by Facebook on what data can be passed via their share URL. Only one thumbnail image can be used per web page. However, the shared link will still point towards the correct image within your gallery, though.

The image used in the pop-up Facebook share window is set using an Open Graph og:image meta tag in the <head> section of your web page, such as the following:

<meta property="og:image" content="http://www.example.com/images/thumbnail.jpg" />

Please see here for more details on the Open Graph protocol.

You can think of the og:image as being representative of the gallery as a whole so you could use an image which best represents your gallery. (The og:image does not need to be an image from the gallery.)

If you create a gallery with JuiceboxBuilder-Pro, an og:image meta tag will be automatically generated and included in the gallery's 'index.html' file (pointing towards the first image in the gallery). If you are embedding your gallery in an existing web page alongside other content, then you will need to add an og:image meta tag manually.

Although the thumbnail image displayed in the pop-up Facebook share window will always be the same one (specified via the og:image meta tag), the link being shared will still point correctly towards the shared image in the gallery. You should notice that the URL being shared ends with something like #2 or #17 where the number represents the image in the gallery. When a user clicks on a shared link, the corresponding shared image will be opened in the gallery.

Can I handle the click on share facebook button  and open another dialog?

If you really wanted to override Juicebox-Pro's click handler for the Facebook share button, you could try something like the following which will allow you to run your own custom JavaScript code when the Facebook share button is clicked.

<script src="jbcore/juicebox.js"></script>
<script>
    var jb = new juicebox({
        containerId: "juicebox-container",
        shareFacebook: "TRUE"
    });
    jb.onInitComplete = function() {
        $('.jb-bb-btn-facebook').off('click');
        $('.jb-bb-btn-facebook').click(function() {
            // Custom JavaScript code to be run when Facebook share button is clicked goes here
        });
    };
</script>

This uses the Juicebox-Pro API (specifically the onInitComplete event) to ensure that the Facebook share button is present in the DOM (Document Object Model) before any actions are performed on it.

Please note that Juicebox-Pro was not designed with this functionality in mind (user overrides for Button Bar buttons) and whilst you are free to use such modifications, they are not officially supported (and you may run into unforeseen problems that might have to be tackled along the way).

1,919

(4 replies, posted in Juicebox-Pro Support)

You're welcome. I'm glad that solved your problem.
Thank you for letting me know.

1,920

(3 replies, posted in Juicebox-Lite Support)

You're welcome.

1,921

(3 replies, posted in Juicebox-Pro Support)

If you wanted to sort the images only in specific galleries, then you'd really need to create a new variable for each gallery, check the variable when the images are fetched from Google and sort the images if necessary depending on the value of the variable. This would be much more complicated to implement (you'd need to make several changes across three different plugin files) and, if you have only one or two galleries that you'd like to sort, then it might be easier to just rearrange the images in the Google Photos interface (if that's possible).

1,922

(3 replies, posted in Juicebox-Lite Support)

By default, Juicebox will scale down large images to fit within the gallery's image area as large as possible whilst respecting their aspect ratios and without cropping. However, small images will not be scaled up (as this may decrease their visual quality).

If you find you have space surrounding you images, then make sure that your images are large enough that they would need to be dynamically scaled down slightly by Juicbox when the gallery is displayed. This will ensure that they are displayed as large as possible without cropping or stretching within the given area.

If you still have space to the top and bottom or to the left and right of your images, then please see this FAQ:
My Juicebox gallery shows too much space above or below the main image, how do I fix this?

Juicebox-Pro users have the option to change the way that images are scaled within the gallery's image area via the imageScaleMode configuration option. Possible values are SCALE_DOWN, SCALE, FILL, STRETCH and NONE.
Short descriptions of each of these values can be found in the Main Image Options section of the Config Options page.

Please note that imageScaleMode is a Pro-only option which is not supported by Juicebox-Lite (the free version).

1,923

(3 replies, posted in Juicebox-Pro Support)

As noted in the Picasa Web Albums Data API developer's guide:

Note: The entries in a feed are ordered based upon the display order on the web site.

There does not seem to be a method in the API to request images in a specific sort order.

You'd need to fetch the images first and then sort the array (by image filename) manually afterwards.

Try the following.
Open the plugin's 'wp-juicebox.php' file in a plain text editor, scroll down to line 1351 and replace:

function get_attachments_picasa($picasa_user_id, $picasa_album_name) {
    $attachments = array();
    $name = $this->remove_whitespace($picasa_album_name);
    $term = preg_match('/^[0-9]{19}$/', $name) ? 'albumid' : 'album';
    $picasa_feed = 'http://picasaweb.google.com/data/feed/api/user/' . $this->remove_whitespace($picasa_user_id) . '/' . $term . '/' . $name . '?kind=photo&amp;imgmax=1600';
    $entries = @simplexml_load_file($picasa_feed);
    if ($entries) {
        foreach ($entries->entry as $entry) {
            $attachments[] = $entry;
        }
    }
    return $attachments;
}

... with:

function get_attachments_picasa($picasa_user_id, $picasa_album_name) {
    $attachments = array();
    $name = $this->remove_whitespace($picasa_album_name);
    $term = preg_match('/^[0-9]{19}$/', $name) ? 'albumid' : 'album';
    $picasa_feed = 'http://picasaweb.google.com/data/feed/api/user/' . $this->remove_whitespace($picasa_user_id) . '/' . $term . '/' . $name . '?kind=photo&amp;imgmax=1600';
    $entries = @simplexml_load_file($picasa_feed);
    if ($entries) {
        foreach ($entries->entry as $entry) {
            $attachments[] = $entry;
        }
    }
    usort($attachments, array(&$this, 'sort_picasa_images'));
    return $attachments;
}

function sort_picasa_images($a, $b) {
    $a_filename = basename($a->content->attributes()->src);
    $b_filename = basename($b->content->attributes()->src);
    return strnatcasecmp($a_filename, $b_filename);
}

Hopefully this will work for you.
Please note that the line number above refers to the current version of WP-Juicebox (v1.5.0).

1,924

(2 replies, posted in Juicebox-Pro Support)

Thank you for providing the URL to your gallery's web page.
I think the problem might be that your URL includes an IP address and a port number.
Try using your domain name instead (for your shareURL and when you access your web pages in your browser).
Hopefully this will solve your problem.

1,925

(4 replies, posted in Juicebox-Pro Support)

Thank you for providing the URL to your gallery's web page.
It looks like you may have copied and pasted some code from the 'jbcore/full.html' file.
Remove the following line from the top of your gallery's embedding code and your firstImageIndex should be respected.

var expanded_jb_gallery = true;

This variable is for internal use only (from within the 'full.html' file) when the gallery is expanded in a new page of its own.
For reference, the standard embedding code that should be copied and pasted into your own web pages can be found here.