5,576

(15 replies, posted in Juicebox-Lite Support)

@nbreslow

1) Please post the URL to your non-functioning gallery so that I can take a look.
I might be able to figure out why you see only the spinner.

2) Try:

configUrl : 'config.php?album=<?php echo $_GET["album"]; ?>&w=800&h=600&s=0&q=80&sh=1&tw=100&th=100&ts=0&tlw=50&tlh=50&tq=60&tsh=1&pw=54&ph=40&aps=0&baseURL=http%3A%2F%2Fdomain.name%2Fssp_director'

You will also need to rename your 'index.html' page to 'index.php'.

3) I am not familiar with SlideShowPro so you may need to either wait for UrsusMaritimus to reply or do some further research within SlideShowPro's own support pages to try to figure out what all the parameters are.

You can introduce captions into the script by adding the following code before the line: $r->appendChild( $b );

$caption = $dom->createElement('caption');
$cdata = $dom->createCDATASection('caption_goes_here');
$caption->appendChild($cdata);
$b->appendChild($caption);

... replacing 'caption_goes_here' with the code for your caption, whether it be plain text, the image's filename or some other parameter pulled in from SlideShowPro.

5,577

(2 replies, posted in Juicebox-Pro Support)

When I delete slides from the media gallery that are attached to the gallery, I just get blank thumbnails and the image still shows in the main section.

After making changes in the Media Library, you will need to 'Edit' the post and 'Update' it in order to rebuild the gallery's XML file (which will remove any entries corresponding to images which are no longer attached to the post).

Also, I finally was able to get to see the media library in batches of 120 per page, but haven't been able to find the path back to there again, and now am just seeing ten per page.

Click on the 'Screen Options' tab at the top-right of your WordPress Dashboard and you will then be able to enter the number of media items to be displayed per page.

There is a sort field on the NextGEN galleries,but I can't find anything similar with JB pro galleries.

The latest version of WP-Juicebox (v1.1.1) supports using NextGEN galleries as a source of images.
When creating a new gallery, select 'NextGEN Gallery' from the drop-down 'Image Source' menu and type in the numeric NextGEN Gallery Id in the text field that pops up.
The latest version of WP-Juicebox can be downloaded from this page.

5,578

(1 replies, posted in Juicebox-Pro Support)

There is no limit to the number of Juicebox galleries you can embed on a single HTML page.

Juicebox Error: Cannot find div with id: "juicebox-container3"

Check that you actually have a <div> with id="juicebox-container3" on your page.
If you do, then please post the URL to your web page so that I can take a look and help further.

I would ideally like the click/tap command to open the gallery where the gallery is embedded.

The functionality of the Splash Page cannot be changed but you can display your galleries where they are embedded in mobile devices by setting screenMode="LARGE" in your gallery's XML file:
If using JuiceboxBuilder-Pro to create or edit your galleries, the screenMode option can be found in the 'Customize -> General' section.

I notice that your gallery uses Juicebox-Pro v1.1.0. The bug you have reported has been fixed in v1.1.1. Please see this Juicebox Blog entry for further details.

Please upgrade your gallery to Juicebox-Pro v1.1.1 (by following the instructions here) and the Button Bar buttons should no longer disappear on closing the expanded gallery.

I am also not sure why this value indexPageName="kitchens-jcb.html" is in your config.xml, maybe remove that as well.

The indexPageName entry is written to the 'config.xml' file by JuiceboxBuilder-Pro so that when an existing gallery is opened and edited in JuiceboxBuilder-Pro, the application can populate the 'Index Page Name' field on the 'Publish' tab correctly (and then update the file on clicking 'Save').

5,580

(2 replies, posted in Juicebox-Pro Support)

Did I do something wrong or is the LR plugin still running on 1.1.0?!

Yes. The jAlbum, Photoshop, Picasa and WordPress plugins have all been updated to Juicebox v1.1.1 but the Lightroom plugin has not yet been updated. It will folow shortly.
However, if you have replaced the 'jbcore' folder from the current Lightroom plugin with the 'jbcore' folder from the Juicebox-Pro v1.1.1 download package, then your galleries will be Juicebox-Pro v1.1.1 galleries and you can safely ignore the 'v1.1.0' label in the interface.

5,581

(7 replies, posted in Juicebox-Lite Support)

A caption such as the following should work fine:

<caption><![CDATA[<a href="mailto:email@address.com?subject=test">Click here to email</a>]]></caption>

If using JuiceboxBuilder-Lite to create or edit your gallery, you can simply enter the following into a caption text field (JuiceboxBuilder-Lite will add the necessary <caption> and CDATA tags for you).

<a href="mailto:email@address.com?subject=test">Click here to email</a>

5,582

(1 replies, posted in Juicebox-Pro Support)

Thumbnails should always be created and displayed with WP-Juicebox. (There is no setting in the interface to prevent this from happening.)
However, the thumbURL entries in your gallery's XML file (http://wwwsevenarrows.zippykid.it/wp-co … box/10.xml) are empty.
Try editing the post containing the gallery and 'Update' the post which should regenerate the XML file.

5,583

(9 replies, posted in Juicebox-Lite Support)

Error: detail_panel.get_current_photo() is undefined

This bug has now been fixed in v1.1.1. (Juicebox no longer throws a JavaScript error with an empty gallery.) Please see this Juicebox Blog entry for further details.

This bug has now been fixed in v1.1.1. Please see this Juicebox Blog entry for further details.

5,585

(2 replies, posted in Juicebox-Pro Support)

Both of these bugs have now been fixed in v1.1.1. Please see this Juicebox Blog entry for further details.

Both of these bugs have now been fixed in v1.1.1. Please see this Juicebox Blog entry for further details.

5,587

(11 replies, posted in Juicebox-Pro Support)

Unfortunately, this bug was not fixed in v1.1.1 but it has been logged and will be addressed.
For a full list of bugs which have been fixed in v1.1.1, please see the Juicebox - Version History.

5,588

(498 replies, posted in Juicebox-Pro Support)

@KR64

Or is there a way to localize it by myself?

The tooltips and on-screen messages are embedded within the 'juicebox.js' JavaScript file which is packed and obfuscated (and Juicbeox-Pro does not come with source code) so it would not be possible to modify the file and display the text in a different language.
However, thank you for the suggestion.

5,589

(3 replies, posted in Juicebox-Pro Support)

If you tried the baseUrl from gallery #2 in gallery #3's embedding code and gallery #2 did not display in place of gallery#3, then it would appear that there is something wrong with the embedding code (or surrounding code, for example the parent containers or slider JavaScript) for gallery #3.
However, if this were the case, and you swapped the baseUrls for gallery #2 and gallery #3, then I would expect gallery #3 to be displayed in place of gallery #2 (though I do not know if this is what happens).

As you have uploaded your gallery folders in their entirety, you could try embedding them in your page using <iframe>s instead of the baseUrl embedding code.
The <iframe> method is documented as Option #2 here.

However, the HTML errors on the page may be masking the real cause of the problem so I would try fixing them first before trying anything else.

5,590

(3 replies, posted in Juicebox-Pro Support)

@jb_newb

Also, I'm having trouble w/ the 3rd gallery (Commercial).

Any advice as to how I can get this to show up?

Try swapping the baseUrl of the 3rd gallery with that of a gallery you already know displays OK to determine whether the problem is with the gallery or with your gallery-changing mechanism. Also, try using the baseUrl of the 3rd gallery in the 2nd gallery's embedding code to see if it displays there. This should at least tell you where the problem lies.

Also, a few tips:
(1) Your web page loads the 'juicebox.js' file from all three galleries. It is necessary to load only one (as they are all identical).
(2) Your galleries are Juicebox-Lite v1.0.2 galleries. You could upgrade them to the current version of Juicebox-Lite (v1.1.0) as many bugs have been fixed since v1.0.2. Please see the Juicebox - Version History for details. The current version of Juicebox-Lite can be downloaded from the link on this page.
(3) You should fix the HTML errors on your web page. You can validate the page with the W3C Markup Validation Service and then fix the errors reported. Once the code validates, your web page should be displayed with greater predictability and consistency across different browsers.

5,591

(4 replies, posted in Juicebox-Pro Support)

The code I posted is the complete caption which should be inserted directly into you gallery's 'config.xml' file.
If using JuiceboxBuilder-Pro to create or edit your gallery, you can simply enter the following into a 'Caption' text field (JuicbeboxBuilder-Pro automatically adds the <caption> and CDATA tags when generating the XML file).

<span style="font-size: 11px;">Charcoal on Paper "22.5" x "36"</span>

5,592

(4 replies, posted in Juicebox-Pro Support)

the first image in my gallery and the second image have the same length - yet the first one shows all the caption, the second bumps it to two lines

The first two images may have exactly the same width but the length of their corresponding captions differs slightly.
When using captionPosition="BELOW_IMAGE", the width of the caption area equals the width of the image so when a narrow image is being displayed, the caption may be split into more than one line.
Other than changing the captionPosition to OVERLAY, it is not possible to increase the width of the caption area.
However, you could decrease the font size of the caption (so that it all fits on a single line) by using something like:

<caption><![CDATA[<span style="font-size: 11px;">Charcoal on Paper "22.5" x "36"</span>]]></caption>

Alternatively, you could change the font-size globally for all captions by opening the 'jbcore/classic/theme.css' file in a plain text editor and changing the 'font-size' on line 201.

5,593

(17 replies, posted in Juicebox-Pro Support)

Open the file 'jbcore/classic/theme.css' in a plain text editor and remove lines 143-145 inclusive (which control the drop shadow around the main image):

-moz-box-shadow: 0px 0px 10px rgba(0, 0, 0, .4);
-webkit-box-shadow: 0px 0px 10px rgba(0, 0, 0, .4);
box-shadow: 0px 0px 10px rgba(0, 0, 0, .4);

5,594

(2 replies, posted in Juicebox-Pro Support)

Are there any plans to add more functionality within the Lightroom Juicebox engine?! I have a couple of other 3rd Party plugins that do offer enhanced features so therefore I assume from a technical point of view it is possible. Isn't it?!

As far as I am aware, there are no immediate plans to incorporate Juicebox-Pro options into the interface of the Lightroom plugin, though it is technically possible and may be considered some time in the future.

If there is a certain combination of Pro Options that you use for all of your galleries, you could edit the plugin's 'juicebox.lrwebengine/config.xml' file and add the Pro Options as attributes to the opening <juiceboxgallery> tag so that each time you create a gallery with the plugin, these Pro Options are used and included in the generated gallery's XML file. This may save you from having to edit XML files after you create each gallery.

5,595

(3 replies, posted in Juicebox-Lite Support)

It didn't work

It should work fine. Here it is in action in a Juicebox-Lite test gallery.
All I did was create a basic gallery in JuiceboxBuilder-Lite and replace the following line of code in the gallery's 'index.html' file with the code I posted above.

<div id="juicebox-container"></div>

so i was wondering if i could still use the 75% galleryWidth

My reasoning for setting the gallery's width to 100% was to ensure that it completely fills the width of the <div> which I floated right and specified a width of 75% of the total browser window's width. This is equivalent to setting the gallery's width to 75% but I set out my code as I did to try to keep things as clear as possible.

and make a menu in a css file.
On the internet i couldn't find an answer about this.
Only how to format a menu in the css file and put the link-lines in the html-page.
Do you know if it's possible?

It is certainly possible. There are many ways to create a CSS menu. Try a web search and you will find many pre-made templates which you could implement within your web site.
As an alternative, if you are looking to link together multiple galleries, take a look at the 'Using a Resizable Gallery with a Header' section of the 'Embedding Multiple Galleries' support page here, specifically, the View Resizable Gallery with Side Menu Example which appears to be feature the functionality you are after.

5,596

(3 replies, posted in Juicebox-Lite Support)

Set your gallery's width to 100% and try using the following structure on your web page:

<div id="wrap" style="width: 100%;">
    <div id="left" style="width: 25%; float: left;">
        <span>Content for left side of screen goes here</span>
    </div>
    <div id="right" style="width: 75%; float: right;">
        <div id="juicebox-container"></div>
    </div>
</div>

5,597

(2 replies, posted in Juicebox-Lite Support)

It depends on how you are creating your gallery (or more specifically your gallery's XML file) as to whether there are any sorting options available to create the order you require in the first instance.
However, no matter how the gallery is created, you can always open it in JuiceboxBuilder and then reverse the order of the images quickly by selecting 'Images -> Sort -> Reverse' from the application's drop-down menu at the top. The go to the 'Publish' tab and re-save your gallery.

Are you trying to embed a Juicebox gallery in a theme's header?
If so (and you know the gallery id you wish to display), you should be able to use the following code in your theme's 'header.php' file.

<?php
    $JB = new Juicebox();
    echo $JB -> shortcode_handler( array( 'gallery_id '=> '2' ) );
?>

... changing the '2' above to the gallery id of your choice.
Alternatively, the following should also work:

<?php
    echo do_shortcode('[juicebox gallery_id="2"]');
?>

As you have discovered, the gallery's dimensions are tied to the gallery (being stored in the gallery's XML file) and a single gallery cannot be displayed twice with different dimensions each time. In fact, the same gallery should not be displayed twice on the same page because both galleries will create divs with identical names to be embedded into.
I would recommend creating a separate gallery for your theme and, if necessary, duplicating the gallery (with different dimensions) for use elsewhere.

The problem with your original code seems to be the extraction of the gallery id from your custom field as entering the code above (with the hardcoded gallery ids) seems to work fine. However, I would need to know more about the custom field you are using to help with the extraction process.

What is output if you echo $juicebox after defining it on this line:

$juicebox = get_post_meta( $post->ID, 'slideshow_embed', true);

For your subsequent code to work, the output would have to be something like: [juicebox gallery_id="2"]

It looks like the plugin you use is rather complex. Could you give me a quick rundown as to how you are using it and how I can replicate the problem? Thank you.
In the meantime, it might help you to know that the function that handles the shortcode within WP-Juicebox is called 'shortcode_handler' and it is within the class Juicebox defined in 'wp-juicebox.php'.
Perhaps if you called this function instead of 'do_shortcode', it might help.

File received, thank you. I've deleted your link above.
I'll take a look and get back to you in due course.