Topic: embed error

Hi.
Can anyone see what I'm getting wrong here?
My exported folder is jb-appliances, uploaded to my public_html folder.

Post's attachments

Screenshot 2021-03-30 at 9.20.34 am.png 77.5 kb, file has never been downloaded. 

You don't have the permssions to download the attachments of this post.

Re: embed error

If 'jb-appliances' is your gallery folder, then your baseUrl should point towards it, i.e.:

baseUrl: 'https://apsw******k.uk/jb-appliances/',

Tip:
Hardcoding paths starting with https://apsw******k.uk/ may work only if you visit your site via https:// (not http://) and do not use the 'www' subdomain (i.e. www.apsw******k.uk).
Use a leading slash in your paths to denote your root directory and the embedding code will work on both http:// and https:// and with and without the 'www' subdirectory in the path.
This depends somewhat on how your server is configured to handle things but it's a safer (and usually more versatile) option.

<script src="/jb-appliances/jbcore/juicebox.js"></script>
<script>
  new juicebox({
    baseUrl: '/jb-appliances/jbcore/',

I used asterisks above as, having used a screenshot to display your embedding code, I expect you do not want active links to your website in this forum thread. Just replace the asterisks with your actual domain name.

Re: embed error

Hi.
Thanks for the reply.
When I grab the embed code, there’s a lot of it, listing all img files.
Is that correct and do I use all of it?

Re: embed error

Yes, use all of the embedding code. (If you stop short of the end, you might miss the closing </div> tag of the Juicebox container and that'll break things.)

The image entries you see listed in the code are the SEO Content.
This code helps with Search Engine Optimization and also allows your gallery images to be seen in a browser where JavaScript has been disabled.
You can find out more about the SEO Content here.

SEO Content is switched on by default but if you don't need or want this code, you can turn it off by deselecting the 'Add SEO Content' checkbox in JuiceboxBuilder-Pro's 'Customize -> Sharing' section.

Incidentally, if you use a baseURL, you will need to manually adjust the image paths in the SEO Content code.
JuiceboxBuilder-Pro does not know that you will be using a baseURL at the time the SEO Content code is generated. (The SEO Content code is generated with a standard gallery structure in mind.)