Topic: email Button [SOLVED]

When using IE v11, or Edge, the email button does not pass the image reference to the email client. The text in the email message is just "Regarding image " with nothing more. Using Firefox, Safari, Chrome, or Opera, no problem.

Re: email Button [SOLVED]

Thank you for reporting this problem.
I have logged a bug report with the developers and hopefully it will be fixed in the next version.
Unfortunately, there's no workaround for this issue (the Email Button's 'body' content is not use-changeable and cannot be altered to something that Edge and IE11 will accept) and we might need to just wait until the bug is fixed.

3 (edited by Huloo 2022-04-01 16:55:16)

Re: email Button [SOLVED]

bherrman wrote:

When using IE v11, or Edge, the email button does not pass the image reference to the email client. The text in the email message is just all about Proextender with nothing more. Using Firefox, Safari, Chrome, or Opera, no problem.

Has this been fixed Steven?

Re: email Button [SOLVED]

Not yet.
You could override Juicebox's own click handler for the Email Button with your own (to use your own subject text) but I'm not sure exactly what Edge and Internet Explorer are choking on so you might encounter the same problem.
However, if you'd like to try it, you could use something like the following:

<script src="jbcore/juicebox.js"></script>
<script>
    var jb = new juicebox({
        containerId: "juicebox-container",
        showEmailButton: "TRUE"
    });
    jb.onInitComplete = function() {
        $('.jb-bb-btn-email').off('click');
        $('.jb-bb-btn-email').click(function() {
            window.location.href = 'mailto:email@address.com?subject=Gallery&body=Image No. ' + jb.getImageIndex();
        });
    };
</script>

This workaround uses the Juicbox-Pro API, specifically the onInitComplete event and the getImageIndex method (to fetch the current image number to be used in the email subject).

Re: email Button [SOLVED]

This issue has now been fixed in Juicebox v1.5.1 which has just been released (25 August 2017).
Please see the Version History for a full list of changes.
Full instructions for upgrading can be found on the Upgrading Juicebox support page.

Re: email Button [SOLVED]

Thank you

Re: email Button [SOLVED]

You're welcome!