You're welcome! I hope you get on OK.
Just let me know if you run into any difficulties. Thanks!
You are not logged in. Please login or register.
Juicebox Support Forum → Posts by Steven @ Juicebox
You're welcome! I hope you get on OK.
Just let me know if you run into any difficulties. Thanks!
The embed code is required only if you want to insert the gallery into an existing web page alongside other content.
If all you want to do is display a gallery on a web page of its own, then just upload the complete gallery folder to your web server (using an FTP program such as Filezilla) and view the 'index.html' file (directly inside the gallery folder) in a browser.
If you want to create a link to a gallery (on a web page of its own), then, again, upload the complete gallery folder to your web server and link to the 'index.html' file (using an HTML <a> tag). For example:
<a href="http://www.example.com/galleries/gallery_folder/index.html">Click here to view gallery.</a>
If you want to insert the gallery into an existing web page alongside other content, then:
(1) Upload the content of the gallery folder to the directory containing the embedding web page.
(2) Add the embed code to the web page wherever you want the gallery to appear.
For reference (and others reading this thread), full instructions can be found in the Embedding Guide.
I hope this helps to clarify things a little for you.
You're welcome!
1) The last version is the 1.5.1 and it was released in 2017. Is it the plugin abandoned? Are you planning to release a new version soon or the plugin is just perfect and doesn't need new updates?
It has, indeed, been a while since the last release but please let me reassure you that Juicebox is still actively being developed.
The current version is certainly quite stable but, having said that, the next version will likely be a bug-fix version, rather than introducing new features.
Unfortunately, I do not know when the next version will be released (there is no set release schedule) so any estimate I give you could turn out to be wholly inaccurate.
2) Is it possible to use it only in wp posts or also in wp pages? (now I'm using the lite version and I can see the JuiceBox Button only when I'm creating new posts)
Yes. WP-Juicebox can create galleries in pages as well as posts. The 'Add Juicebox Gallery' button should appear in both 'Posts -> Add New' and 'Pages -> Add New' (and it does in my own WordPress v5.2.3 installation).
You might need to temporarily revert to a default theme (such as Twenty Nineteen) and disable your active plugins one-by-one (checking for the 'Add Juicebox Gallery' button in 'Pages -> Add New' after each one) to see if you can find a conflicting theme or plugin.
3) Using Divi theme and Polylang plugin for multilanguage, when I create a new post, after the translation in another language, the gallery disappears and I have to save it again to show it. Is it a bug?
I'm not sure what could be causing this problem as, unfortunately, I do not use the Divi theme or the Polylang plugin.
The first thing to do is to try to determine whether it is the theme or the plugin which is causing the problem so please try to reproduce the problem under a default theme (such as Twenty Nineteen). This might at least rule out the theme as being a factor in the equation.
If the problem still occurs, then please post back with a detailed list of steps that I can use to try to reproduce the problem myself (as I am not familiar with Polylang).
Once I am able to reproduce the problem, I should be able to troubleshot it and hopefully find a solution.
Also, if the problem manifests itself in your WordPress frontend, then please post back with a link to your gallery's web page so that I can see the problem for myself within your own Wordpress site. (If I can see a web page where the gallery should appear, then I might be able to determine why it does not appear.)
Thank you.
If all else fails, you can always embed a Juicebox gallery manually into a WordPress page or post using the baseUrl method documented here.
I read on a post, to import the photos must not exceed 1GO
Adobe's AIR's maximum memory allocation does not exactly equate to the total filesize of the images you add to your gallery in a single batch.
As you have discovered, a problem could occur with the total filesize of a batch of images being much less than 1GB.
If you find you have a problem adding many images at once, then trial and error should help you to determine a safe number of images per batch. (It will depend on your own images so I cannot recommend a maximum number of images which will work for all users.)
In any case, this is another known issue which the developers are aware of but if, as I expect, the problem is due to a limitation within Adobe AIR (the platform on which JuiceboxBuilder runs), then there may be little that can be done about it.
At least you are aware of the workaround (to add images in smaller batches).
Thank you for reporting this problem.
Unfortunately, this is actually a known issue which the developers are aware of. As such, it should hopefully be fixed in a future version (although I do not know when this might be).
Essentially, the 'Gallery -> Open...' option from the drop-down menu at the top does not currently work from the 'Images' or 'Customize' tabs.
If you want to open a new gallery without closing and restarting JuiceboxBuilder, just click on the 'Start' tab first and you will then be able to open a new gallery via the 'Open Gallery...' button or the 'Gallery -> Open...' option from the drop-down menu at the top.
I hope this workaround is not too much of an inconvenience until the bug is fixed.
Thanks again for reporting the issue, though. We appreciate the feedback!
I'm sorry to hear that you are having trouble with Juicebox-Pro.
Hopefully my notes below will help.
First of all, thank you for proving the link to your gallery's web page. Being able to see the problem live on your web server makes troubleshooting much easier than it would be otherwise.
The problem is caused by custom CSS from your 'dprl/sites/default/files/css/css_QCv8MsId5filqsoIiRNQ1kr6cc8cfMD65mL0h8pDWos.css' file.
Specifically, within this file, you have the following CSS:
#content img, #sidebar-first img, #sidebar-second img {
max-width: 100%;
height: auto;
}
These max-width and height CSS rules are being applied to all <img> tags (i.e. al images) within your #content container (which includes your Juicebox gallery).
The Juicebox gallery has no option but to inherit such global CSS rules. (It is the max-width CSS rule which is causing the problem and changing the width of the thumbnails within their frames.)
One possible solution would be to apply the custom CSS rules to only those images on your web page which require them through use of CSS selectors (ids and classes).
Another solution would be to try to protect the images within your Juicebox gallery from the custom CSS rule which is causing the problem.
Try adding the following CSS to your Juicebox gallery's '/dprl/sites/default/files/jbcore/classic/theme.css' file.
.juicebox-gallery img, .jb-idx-thb-list .jb-idx-thumb img, .jb-dt-main-frame img, .jb-idx-thumbnail-container .jb-splash-holder img {
max-width: none !important;
}
I hope that this helps to resolve your problem.
@meredithkleiber
If you are using the current version of WordPress (v5.2.3), then you will likely be using the new default editor, Gutenberg, which no longer features the 'Add Media' button.
You likely attached your images to your page or post using a Gutenberg 'Gallery' block and you can rearrange your images through this block type.
Here is the complete procedure for adding a WP-Juicebox gallery to a WordPress page or post using Gutenberg. (Steps #7 and #8 are for reordering your images.)
(1) Click the 'Add Juicebox Gallery' button to add a WP-Juicebox gallery to your page or post.
(2) Configure your gallery as required in the settings window and click the 'Add Gallery' button to add the WP-Juicebox shortcode to your page or post.
(3) Click the 'Add Block' button (top left) to add a new Gutenberg block to your page or post.
(4) Select a 'Gallery' block. (You'll find it in the 'Common Blocks' section.)
(5) Click the 'Media Library' button within the 'Gallery' block.
(6) Drag and drop the images that you want to attach to your page or post (i.e. the images that you would like to be displayed in your WP-Juicebox gallery) from your hard drive into the media window.
(7) Select 'Uploaded to this post' from the first drop-down menu (on the 'Create Gallery -> Media Library' tab).
(8) Drag and drop the thumbnail images into the order that you would like them to be displayed in your WP-Juicebox gallery.
(9) Close the media window via the cross at the top right. (Do not click the 'Create a new gallery' as this will create a native WordPress gallery in addition to your WP-Juicebox gallery.)
I hope this helps.
Hi.
This is a support forum for the Juicebox-Pro web gallery software from SimpleViewer Inc.
From your query, it sounds like you are referring to a 'JuiceBox' from eMotorWerks, a completely unrelated company to our own (although the product names are the same).
I do not know if they have a forum but you should be able to contact eMotorWerks directly via their online form here: https://emotorwerks.com/contact
I hope this points you in the right direction.
That's very strange. Even if your web host is incompatible with Safari (which in itself is rather odd), I'd think that they might want to make some changes to ensure that it is compatible, given the number of Safari users out there. (Safari is currently second only to Chrome in the number of users, according to StatCounter, August 2019.)
In any case, looking at the results of an ICANN lookup for 'juicebox.net', I see that the nameservers are ServInt which looks to be an enterprise solution rather than a 'regular' web host. (As you have probably gathered, I personally have no direct dealings with our web host.)
Having said that, I've never heard of a web host that claims to be incompatible with Safari so yours appears to be the exception to the rule and I expect that the majority of web hosts will support both Safari and Juicebox-Pro's Download Button (as long as PHP 5.2.0 or later is installed).
I wish you well in your search for a compatible web host but I really don't think that you should have to look too far.
I'm very surprised by your web host's admission and refusal to try to fix the problem (which could just be a tweak to their Mod_Security settings which they seem to be unwilling to change).
I would hesitate to recommend a web host, though, as one person's experiences may differ greatly to another's.
However, I have free accounts with a few web hosts and I have uploaded a test Juicebox-Pro gallery (featuring the Download Button) to each of them so that you can check out the Download Button's functionality in your Safari browser.
AwardSpace: [Link removed.]
ByetHost: [Link removed.]
x10hosting: [Link removed.]
Please be aware that all the galleries above are on free accounts and you usually get what you pay for.
Paid accounts usually offer more features, greater stability and speed and better support.
Also, please note that I'm not actually recommending any of these web hosts.
This is really just a test to (hopefully) demonstrate that most web hosts will support Safari and Juicebox-Pro's Download Button.
Please let me know how you get on.
As long as you are getting on well within the limitations imposed by your web hosting account, that's great!
You can certainly create and embed multiple Juicebox-Lite galleries into your website.
Please see the Embedding Multiple Galleries support section which deals with 'Multiple Galleries on One HTML Page' and 'Multiple Galleries on Separate HTML Pages'.
(Embedding techniques are exactly the same for both Juicebox-Lite and Juicebox-Pro.)
Thanks for letting me know. I hope you get on OK.
Please keep me posted.
There's nothing wrong with using an iframe but there are some drawbacks to doing so (which are noted here... scroll down to "2) Using an iframe") so I'd always recommend embedding directly into a web page (following either the regular embedding instructions or the baseUrl embedding instructions) where possible.
If you run into any difficulties, then perhaps you could let me know a little more about how you are trying to embed your gallery (maybe an example would help me to understand your scenario better) and I'll try to help further.
I have been using 1.5.1. I just sent a link to a smaller site that didn't have photos that I didn't want going public.
OK, thank you for the information.
From what I've read, Safari should support HTML5 download.
I put up an HTML5 download test, and it works with Safari.
Safari does now support the HTML 5 'download' attribute but, at the time the Download Button functionality was written for Juicebox-Pro, it is very possible that it did not (which would explain why Juicebox-Pro uses the PHP implementation for Safari).
In any case, it should work (regardless of the implementation being used).
Check out the Download Button in our demo gallery here.
If this works in your Safari browser, then the problem likely lies somewhere within your web server's set up and the error message you see ("This error was generated by Mod_Security.") certainly suggests that Mod_Security is at the root of your problem. It sounds like a custom Mod_Security rule is interfering with (and blocking) the PHP download process.
Please check in with your web host to find out what custom Mod_Security rules are being applied to your hosting account (and where they are being set).
You may need to temporarily remove them one-by-one (checking the Download Button's functionality after removing each one) to find the Mod_Security rule causing your problem.
If you find that the Download Button does not work in our demo gallery in your Safari Browser, then please let me know and I will notify the developers.
Thank you.
@adec
ah thanks!
You're welcome! I'm glad this thread has helped you out.
now just need to embed it into a local website to make sure it works there.
I hope all goes well. Just let me know if you run into any difficulties and I'll do my best to help you out.
For reference, the Embedding Guide is here.
@jcisaacs3
I'm sorry to hear that you are having trouble with Juicebox-Pro.
Hopefully my noted below will help.
Thank you for providing the URL to your website
Just for the record, I have been able to successfully use the Download Button in your gallery in all major up-to-date browsers on my Windows 10 PC (Edge, Chrome, Firefox, Internet Explorer, Opera).
It looks like the only browser in which the Download Button fails is Safari.
I notice that your gallery uses Juicebox-Pro v1.5.0.
Please try upgrading your gallery to the latest version (v1.5.1) as many bugs have been fixed since v1.5.0 and upgrading may fix your problem without any further action.
Full instructions for upgrading JuiceboxBuilder-Pro and existing galleries can be found on the Upgrading Juicebox support page.
I realise that the only fix regarding the Download Button listed in the Version History does not seem relevant to your problem but the code for the Download Button has changed since v1.5.0 so upgrading may still be worth a try.
I hope that upgrading your gallery helps.
Otherwise, the error message you see relates to Mod_Security so please check your web server's .htaccess files to see what Mod_Security rules are in place and which might be interfering with Juicebox's download functionality.
Just for clarification, your gallery's 'config.xml' file looks fine (all linkURL entries are blank).
Also, when you say that the Download Button works in Chrome and Firefox, this could be because these browsers use the HTML 5 'download' attribute rather than the PHP implementation of the download functionality. (Juicebox includes both methods of download to support browsers which do not support the HTML 5 'download' attribute.)
In any case, I hope that my notes above help.
Please let me know how you get on and if I can be of any further assistance.
What you are seeing in Firefox is the gallery being displayed in Small Screen Mode (where thumbnails and main images are displayed on separate pages).
Small Screen Mode is usually used only on mobile devices (or when Small Screen Mode is forced by setting screenMode="SMALL").
(More information on Screen Modes can be found in the Gallery Tour here.)
If all three screenshots are from the same gallery, then screenMode must be set to AUTO, otherwise a certain Screen Mode (either Large or Small) would always be used on all devices and in all browsers, so something must be triggering Small Screen Mode to be used in your Firefox browser.
Here are a few things to check:
Check that your Firefox browser is not in 'Tools -> Web Developer -> Responsive Design Mode'.
Check that your 'View -> Zoom' is set to 100% and not zoomed in or out.
Check that you do not have any browser extension installed and active which is currently changing the User-Agent string (for example, to mimic a mobile device).
I hope that this helps or at least points you in the right direction.
Hi.
This is a support forum for the Juicebox-Pro web gallery software from SimpleViewer Inc.
From your query, it sounds like you are referring to a 'JuiceBox' from eMotorWerks, a completely unrelated company to our own (although the product names are the same).
I do not know if they have a forum but you should be able to contact eMotorWerks directly via their online form here: https://emotorwerks.com/contact
I hope this points you in the right direction.
@mrp
Yes. You can set most configuration options in either the 'config.xml' file or the embedding code.
( I usually recommend setting options in JuiceboxBuilder-Pro as it seems to be the most popular method of creating and editing galleries and it does not involve any manual code editing.)
Please see the Setting Config Options support section for further details.
The only configuration options that must be set in the embedding code rather than the 'config.xml' file are listed in the Embed Options.
All other options can be set in either the 'config.xml' file or the embedding code.
(If an option is set in both the 'config.xml' file and the embedding code, then the value in the embedding code takes precedence over the value in the 'config.xml' file.)
Are there any known problems getting the Pro version to work with the Juicebox module?
There are no problems using Juicebox-Pro with the Juicebox Module for Drupal. Just follow the 'Installation Instructions' here.
When you reach Step #3, be sure to use the files inside the 'jbcore' folder from the Juicebox-Pro v1.5.1 zip package ('juicebox_pro_1.5.1/web/jbcore/').
Please note that upgrading the module to Juicebox-Pro will not change the module's interface.
There will be no additional interface options for setting Pro configuration options (like JuiceboxBuilder-Pro or the Lightroom Plugin).
However, you can configure your gallery as you like by entering individual Pro Options in the 'Juicebox Library - Pro / Manual Config' section of your Drupal Dashboard ('Home -> Administration -> Structure -> Content types -> Article -> Manage Display -> Juicebox settings').
Can I create a gallery with the thumbnail tool on the right side with the Juicebox module?
I am not familiar with the thumbnail tool you refer to so I guess this query is one for Ryan to field over in the Drupal forum.
Can I remove the large whitespace above a gallery?
First of all, please check with your browser's developer tools to see whether the whitespace you refer to is inside or outside the gallery.
If it is inside the gallery, then the space could be due to setting your gallery's height to 100%. If the gallery's parent container has no height specified via CSS, then the gallery's actual height could be 100% of the browser window height. The main images could already be scaled as large as possible within the gallery's image area (if they were scaled any larger, then cropping might occur), leaving space above and below the main images.
Try reducing your gallery's height. Try a fixed pixel value such as 600px to see if this helps.
The gallery will still be responsive in the horizontal dimension (dependent on your web page layout and the dimensions of all parent containers) but will have a fixed height.
However, this is not usually a problem for a web page which scrolls vertically.
Elements in a vertically scrolling web page usually have a fixed height (the height of elements does not usually change when scrolling down a page).
Please also see this FAQ:
My Juicebox gallery shows too much space above or below the main image, how do I fix this?
Can I remove the juicebox logo on the mobile display?
Yes. Just use Juicebox-Pro. All Juicebox-Lite galleries feature the Juicebox logo in the lower right corner. This branding is not present in any Juicebox-Pro galleries.
I am working on an intranet site that may not allow the server to have Internet access. Does it call home (require internet connection etc) for any reason...
Juicebox-Lite contacts our web server only to fetch the logo (for the lower right corner of the galleries). Juicebox-Pro does not call home at all.
... and will it not work if it cannot call home etc?
Both Juicebox-Lite and Juicebox-Pro will both work without an internet connection. Please see the following FAQ regarding local viewing, though.
When I view my gallery locally, I see the message "Juicebox can not display locally in this browser". Why?
Also, please see this additional note for local viewing in Safari 11 and this additional note for local viewing in Firefox 68.
I am constantly creating and deleting test environments. Is my Pro version tied to a specific site?
No. You do not actually need to inform us of the websites that you use Juicebox-Pro on.
We ask only that you abide by the Terms of Use and upload Pro galleries to only as many website domains as your license allows.
For example, if you have a 5-Site License, then you are free to change the website domains that you upload Pro galleries to at any time you like without notifying us and, as long as you have Pro galleries uploaded to no more than 5 different website domains at any one time, that is fine.
I don't want to have to deal with relicensing it every time I build a new test site.
Please see this FAQ:
How many websites can I use Juicebox-Pro on?
Licenses are only required for publicly accessible domains, so staging and testing domains do not require an additional license.
I hope my notes above help to clarify things.
Please let me know if you have any further queries.
My apologies, the test site is on my PC and I put it into sleep when I go to bed. That URL should be working again for the next 15 hours or so.
Still no joy with the URL I'm afraid...
I hope that Ryan (or another Drupal Juicebox Module user) can help you out over in the Drupal forum but I suspect that trying to integrate my solution into the module will not be an easy task.
Maybe there's a different solution that a user of the bootstrap tab system that you use can recommend (perhaps they have experienced a similar issue with other HTML elements embedded into the tabs ).
Being that the problem resolves itself when the browser is resized, you could perhaps manually trigger a resize when your tab is clicked. (Such a solution would be independent of Juicebox and the module's code.)
Try adding the following code to your web page:
<script>
$(document).ready(function() {
$('#gallery_tab').click(function() {
$(window).trigger('resize');
});
});
</script>
Again, this assumes that your 'Gallery' tab has an id="gallery_tab". (If not, then just change #gallery_tab in the code above to the correct 'id' for your 'Gallery' tab.)
It also assumes that jQuery is loaded into your web page. (Juicebox comes bundled with its own version of jQuery so as long as the code is run after the 'juicebox.js' file is loaded into your web page, then all should be fine.)
Please note that this proposed solution has not been tested so I do not know whether it will work or not, but it should be a fairly quick and easy thing to try (as long as you can get the JavaScript code into your web page).
Thanks!
Edit:
For others reading this thread, although I have notified the developers, unless the 'juicebox.js' file is repacked using a different method, it will always trigger the Content Security Policy eval warning.
If you have a CSP in place and want to retain it whilst still allowing Juicebox to run, then you'll need to add 'unsafe-eval' to your CSP (and also 'unsafe-inline', too, if your gallery's embedding code is inline and not in an external JavaScript file.)
Relaxing the CSP to suppress warnings is not ideal by any means but I thought I should mention this in case it helps anyone.
I get a lot of errors on the javascript console such as
I realise that in an ideal world, it would be great to have no '[Violation]' entries in the console but it is worth remembering that these entries are only present in Chrome and only when the debugging level is set to 'Verbose'. (They are not classed as 'Errors', 'Warnings' or even 'Info'.)
Just out of curiosity, I loaded a few popular web pages into Chrome (adobe.com, amazon.com, apple.com, microsoft.com, mozilla.org) and they all display '[Violation]' entries (of one type or another, some more than others) in 'Verbose' mode.
Of course after completing it I find I can't get rid of the 'unsafe-eval' in the policy
That's down to the way that the 'juicebox.js' file is packed which is a choice that the developers have taken.
The 'juicebox.js' file uses eval() and CSP does not allow the use of eval() ("Eval and related functions are disabled") so, unfortunately, Juicebox will not be fully compatible with CSP guidelines.
There really is nothing that can be done about this (at user level) at the moment, although I have notified the developers of this so it is in their hands now.
I didn't realise that you had so many galleries! Hopefully you'll be finished by now.
I'm glad you've made the choice of having al your galleries share a single 'jbcore' folder (as documented here).
This will make updating all your galleries (when a new version of Juicebox is released) a simple matter of replacing just one 'jbcore' folder on your web server (instead of 233).
(I mention this just in case anyone else reading this thread also has a lot of galleries and is not aware that multiple galleries can share a single 'jbcore' folder.)
Juicebox Support Forum → Posts by Steven @ Juicebox
Powered by PunBB, supported by Informer Technologies, Inc.