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.
You are not logged in. Please login or register.
Juicebox Support Forum → Juicebox-Pro Support → embed error
Hi.
Can anyone see what I'm getting wrong here?
My exported folder is jb-appliances, uploaded to my public_html folder.
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.
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?
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.)
Juicebox Support Forum → Juicebox-Pro Support → embed error
Powered by PunBB, supported by Informer Technologies, Inc.