801

(3 replies, posted in Juicebox-Pro Support)

There is no doubting that a hashed password is more secure than a plain text one.
It is certainly something for the developers to consider.
Thank you, once again, for your suggestion.

I'm glad that you have been able to integrate the code into your WordPress web pages.
Thank you for letting me know.

As you suggest, there are numerous ways to add the code to your web pages.
It could certainly be done with just CSS:

.menu-item: z-index: 9999;

I just happened to paste the jQuery code I posted into my browser's developer tools console to make sure that it worked in your gallery's web page.

803

(3 replies, posted in Juicebox-Pro Support)

I realise that you say you have "excelent network connectivity and modern equipment on the client side"  but this certainly sounds like a problem with either:
(1) Your web server
(2) Your internet connection
(3) Your browser

Do you see similar problems with any of our demo galleries?
https://www.juicebox.net/demos/

Does the problem happen if you try viewing your gallery in different browsers (Chrome, Edge, Firefox, Internet Explorer, Opera, Safari)?

Please post back with the URL to your gallery's web page so that I can take a look at the problem for myself and hopefully help further. Thank you.

804

(3 replies, posted in Juicebox-Pro Support)

... but config.xml and jbcore/pswd.php are both accessible from the client side.

A gallery's 'config.xml' file is easily found and visible to all but no web site visitor should be able to access the contents of a gallery's 'pswd.php' file (as long as the web server is configured correctly).
Also, in my experience, people don't seem to use very secure passwords for their Juicebox galleries.
Typically, people like to password protect galleries to allow only friends and family to view them and frequently use passwords which are easy to remember.
With rainbow tables readily available on the internet, keeping a password hidden in a PHP file might still be a better option than putting its hashed form in plain view (especially for weak passwords).
However, this is a design choice for the developers to make so I've copied your post to the Feature Requests thread here.

805

(496 replies, posted in Juicebox-Pro Support)

Feature request from bjbarouch (original thread):

Bug: password handling

It is inconvenient to have the password stored in a separate file from the config file. I was told this was for security, but config.xml and jbcore/pswd.php are both accessible from the client side. To be secure, instead of storing passwords in plain text in any file, passwords should be passed through a secure digest such as SHA-2 and the result of that process stored. If this approach is taken, they can be in config.xml, because knowing these values does not inform anyone of the passwords themselves.

[Copied to Feature Requests thread here.]

807

(496 replies, posted in Juicebox-Pro Support)

Feature request from bjbarouch (original thread):

Direct linking without changing the URL in the location bar

In the best of both worlds, one could allow for direct links to individual images, but also have the url in the location bar remain the beginning of the slideshow instead of the current image, in case that is bookmarked partway through a gallery. The direct link to image feature could pop up a tiny window with the link to the image ready to be copied or put into a bookmark without being a #image reference in the location bar.

[Copied to Feature Requests thread here.]

809

(496 replies, posted in Juicebox-Pro Support)

Feature request from bjbarouch (original thread):

email addresses for feedback and for requesting a new password

While it is nice to allow for these to be different, the address set in config.xml should be the default for password requests unless the latter is explcitly given as well.

810

(11 replies, posted in Juicebox-Pro Support)

To make it work right I will need to find the original non watermarked versions of my current (non-juicebox) gallery images...

If the source images are still in the same location on your hard drive as they were when you first created the gallery, then JuiceboxBuilder-Pro will automatically find them via the sourcePath entries in the gallery's 'config.xml' file. There will be no need to go looking for them yourself or to manually re-add them to your gallery.

Otherwise, you could certainly find them yourself (if they are no longer in their original location) and re-add them to your gallery or just copy the watermarked gallery images (in the 'images' folder) to a safe location and use them to overwrite any double-watermarked images (again, in the 'images' folder) after you have edited your gallery.

[Copied to Feature Requests thread here.]

812

(496 replies, posted in Juicebox-Pro Support)

Feature request from bjbarouch (original thread):

Above Thumbnails option for titles and captions

It would be good to be able to put titles and captions under the main image but as wide as the row of thumbnails instead of being contrained by the image's width. Currently you can only do one (Below Image) or the other (BOTTOM).

[Copied to Feature Requests thread here.]

814

(496 replies, posted in Juicebox-Pro Support)

Feature request from bjbarouch (original thread):

Show title and caption on hover over thumbnail

Might help a user decide if they want to click on that image.

815

(1 replies, posted in Juicebox-Pro Support)

[Copied to Feature Requests thread here.]

816

(496 replies, posted in Juicebox-Pro Support)

Feature request from bjbarouch (original thread):

Editing IPTC Data

It would be great to incorporate an open source library so users can edit IPTC info directly from within Juicebox instead of having to use an external tool such as exiftool or photoshop and reload image files afterward.

Yes. This is a known issue and a bug report has already been logged with the developers.
It should be resolved in the next version (although I do not know when this will be released).

For anyone reading this thread, this problem happens only when using web mail (e.g. Gmail).
There is no problem when using an email client program such as Outlook or Thunderbird.

You can set some space around the main image using imagePadding (in JuiceboxBuilder-Pro's 'Customize -> Main Image' section) or around the gallery itself using stagePadding ('Customize -> General').
Both of these configuration options have default values of 0 (and values are in pixels).

819

(1 replies, posted in Juicebox-Pro Support)

If you still see the Juicebox logo in the lower right corner, then the gallery is still Juicebox-Lite.
The Juicebox logo is present in all Lite galleries but not in any Pro galleries.

First of all, please try completely clearing your browser's cache before reloading your gallery's web page to see if the problem is a browser caching issue. (Your browser might be storing and using the Lite files.)

If this does not clear the problem, then please try the Upgrading to Juicebox-Pro instructions again but, this time, try deleting the Lite 'jbcore' folder from your web server first before uploading the Pro version in its place.

Please note that upgrading WP-Juicebox to Juicebox-Pro does not change the plugin's interface.
Only Lite options will have their own individual controls but all Pro options entered in the Pro Options text area will become active.

I hope this helps.

820

(11 replies, posted in Juicebox-Pro Support)

I'm sorry if my reply was confusing.

When you add an image to a gallery in JuiceboxBuilder-Pro, the application knows where the original (source) image is stored on your hard drive and keeps a note of this location (via the sourcePath attribute).

If JuiceboxBuilder-Pro needs to reprocess images (to resize them or to add/remove a watermark), then it will use the image that you originally added to the gallery (from its original location on your hard drive outside the gallery folder) rather than the already-processed image in the gallery's 'images' folder.

For example, if you drag and drop an image into JuiceboxBuilder-Pro from C:\images\image_0007.jpg and save the gallery to C:\galleries\gallery_folder, then the processed gallery image will be at C:\galleries\gallery_folder\images\image_0007.jpg.

If you then open the gallery in JuiceboxBuilder-Pro and JuiceboxBuildler-Pro needs to re-process the images, the application will use the image from C:\images\image_0007.jpg instead of C:\galleries\gallery_folder\images\image_0007.jpg to generate a new gallery image.

However, if the C:\images\image_0007.jpg image has been deleted, moved or renamed, then JuiceboxBuilder-Pro will not be able to find it and it will use the gallery image instead.

Essentially, as long as you do not delete, move or rename the images that you use to create your gallery, all will be fine when editing a gallery.

I hope this helps to clarify things.

821

(11 replies, posted in Juicebox-Pro Support)

When you create a gallery with JuiceboxBuilder-Pro, the application stores the locations of the source images in the gallery's 'config.xml' file (the sourcePath attributes in the <image> tags).
As long as you do not relocate your source images, JuiceboxBuilder-Pro will use the un-watermarked source images (rather than the already watermarked gallery images) if a new watermark is to be applied to the images (so gallery images will not be watermarked twice).

If the source images are no longer available in their original locations, then JuiceboxBuilder-Pro will have no option but to use the already watermarked gallery images and will watermark them again.
In this case, the best course of action would be to copy the gallery images to a safe location whilst the gallery is being saved and then move them back into the 'images' folder afterwards (overwriting the double-watermarked images).
The image filenames will be the same so there will be no need to modify any paths in any files.

I hope this helps.

The problem is almost certainly a z-index issue.
Juicebox uses z-index values to ensure that certain elements (such as captions and navigation hit areas) are stacked on top of other elements (such as the main images) within the gallery.
Unfortunately, it looks like the gallery z-index values are larger than those of your menu system.

To resolve your problem, assign a z-index value of 9999 to your menu system via CSS to ensure that your menu is stacked on top of all gallery elements.

Adding the following jQuery JavaScript to your page should work (I've tested it on your web page in my own browser's developer tools):

$(document).ready(function() {
    $('.menu-item').css('z-index', '9999');
});

I hope this helps.

823

(11 replies, posted in Juicebox-Pro Support)

There are many ways that you can structure your web site and Juicebox galleries.
Here are a few tips which might help.

Using the regular embedding code noted here (and presented on the 'Publish' tab of JuiceboxBuilder-Pro), the contents of the gallery folder (not the gallery folder itself) should be uploaded to the same directory as the web page containing the gallery's embedding code.

If you move of rename the gallery's configuration file (default name 'config.xml'), then you can point towards it using a configUrl entry within the gallery's embedding code, for example:

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

No matter whether of not you use a custom configUrl, all relative paths within the gallery's configuration file ( imageURLs, thumbURLs and linkURLs) will be relative to the web page containing the gallery's embedding code.

Short descriptions of the configUrl and baseUrl embed options can be found here.

Alternatively, you could upload a complete gallery folder to anywhere on your web server and point towards it using a baseUrl entry within the gallery's embedding code, for example:

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

The baseUrl method of embedding is documented here.
When using the baseUrl method of embedding, all relative paths within the configuration file (imageURLs, thumbURLs and linkURLs) will be relative to the baseUrl.

Additionally, you can upload your gallery's 'jbcore' folder to anywhere you like on your web server. In fact, multiple galleries can even share a single 'jbcore' folder. Please see here for details.
All you need to do is make sure that you point towards the 'juicebox.js' file within the 'jbcore' folder within the <script> tag, for example:

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

The location of the 'jbcore' folder is completely independent of the configUrl and baseUrl options (which still work as noted above).

if you use any of the suggestions above, then you will not need to modify any of the paths inside the gallery's configuration file.
However, if you want to store your images elsewhere on your web server (not inside the 'images' and 'thumbs' folders within the gallery folder), then you will need to manually modify the paths (the imageURLs, thumbURLs and linkURLs) inside the gallery's configuration file (by opening the file in a plain text editor) bearing in mind that if you use a baseUrl, then relative paths will be relative to the baseUrl.

I hope this helps.

Can we safely remove the TinyMCE folder in the Juicebox plugin folder on the server?

If your WP-Juicebox plugin version reads "v1.5.1" on the Plugins page, then yes, you can safely remove the 'tinymce' folder from within the 'plugins/wp-juicebox/' plugin folder. The 'tinymce' folder does not form part of WP-Juicebox v1.5.1.

If you want to be sure that you have no redundant files in your 'plugins/wp-juicebox/' folder, then you can delete the contents of the folder and then upload the contents of the v1.5.1 plugin (making sure that you still have the Pro 'jbcore' folder). You will not lose any gallery information doing this. No gallery-specific data is stored in the 'plugins/wp-juicebox/' folder. All gallery information is stored in the 'uploads/juicebox/' folder and other plugin options are stored in the database.

I already succeeded in doing this today.

That's great to hear. Thank you for letting me know.

What I first did was just uploading the jbcore folder and later I tried to add the pluginthrough wordpress. This however did not work.

As you have discovered, you need to update the plugin first (as it comes bundled with Juicebox-Lite). Afterwards, you can upgrade the plugin to use your Juicebox-Pro files.

Is it correct that Tinymce is located inside the existing juicebox plugin folder?

No. The TinyMCE editor was never included within WP-Juicebox.
Older versions of the plugin included code (inside a folder named 'tinymce') to add an 'Add Juicebox Gallery' button to WordPress's own TinyMCE editor toolbar.
However, later versions of the plugin moved the 'Add Juicebox Gallery' button from the TinyMCE editor toolbar to alongside WordPress's 'Add Media' button (and so the TinyMCE code was no longer required and the 'tinymce' folder was removed from the plugin package).

This would be good to know since we are getting some php errors related to php 7 on this.

I have run the current version of WP-Juicebox (v1.5.1) under PHP 7, 7.1, 7.2 and 7.3 without any problems but if you find any issue with WP-Juicebox under a certain version of PHP, please let me know so that I can investigate further. Thank you.