Topic: index.html not saving properly [SOLVED]

Juicebox builder Pro Mac 10.13

I've re installed, re downloaded and re installed Builder Pro

I create gallery ok

then when I try to save gallery to gallery folder,
the index.html in the gallery folder is blank, it just lists the image titles as plain text

so I can't open the gallery from index.html

Can you help?

Thanks

Re: index.html not saving properly [SOLVED]

It sounds like the default program on your system for opening HTML files might currently be a plain text editor rather than a web browser (and that you might need to change your system's file association for HTML files to a web browser).

If you double-click the gallery's 'index.html' file, what program does the file open in?
If the 'index.html' file is not automatically opened in a web browser, then  try opening a web browser and then navigation towards the gallery's 'index.html' file using the web browser's 'File - Open File...' option.

If your gallery is online, then please post its URL so that I can check the gallery for myself and hopefully help further.
If your gallery is not online, then please attach the gallery's 'index.html' file to a post here in the forum so that I can at least take a look at the file.
It might help if I could see what you are seeing so, when you see the image titles as plain text, please take a screenshot and attach it to a post, too.

Also, if you think that the gallery's 'index.html' file is not being written (or overwritten) correctly when you save the gallery on JuiceboxBuilder-Pro's 'Publish' tab, then make sure that the 'index.html' file is not open in another program (such as a plain text editor or web browser) when you save the gallery. (If the file is open in another program , then the program may have a lock on the file, preventing JuiceboxBuilder-Pro from writing to it.)

I hope that these notes help.
However, if you continue to experience difficulties, then please let me see the gallery (or at least the gallery's 'index.html' file and/or a screenshot showing what you are seeing) so that I can help further.

Re: index.html not saving properly [SOLVED]

thanks yes, I think the file was open

Builder Pro is saving the html file

I'm getting error 'config file not found' when I open the html.index in the gallery folder

The config file is in the gallery folder, with jbcore, images and thumbs

What might I be doing wrong?

here is the html source:

<html lang="en">
<head>
    <title>Juicebox Gallery</title>
    <meta charset="utf-8" />
    <meta name="viewport" id="jb-viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1, maximum-scale=1, user-scalable=0" />
    <meta name="description" content="" />

    <!-- START OPEN GRAPH TAGS-->
    <meta property="og:title" content="Juicebox Gallery" />
    <meta property="og:type" content="website" />
    <meta property="og:url" content="" />
    <meta property="og:image" content="" />
    <meta property="og:description" content="" />
    <!-- END OPEN GRAPH TAGS-->

    <style type="text/css">
    body {
        margin: 0px;
    }
    </style>
</head>
<body>
    <!--START JUICEBOX EMBED-->
    <script src="jbcore/juicebox.js"></script>
    <script>
    new juicebox({
        containerId: 'juicebox-container',
        galleryWidth: '100%',
        galleryHeight: '100%',
        backgroundColor: 'rgba(34,34,34,1)'
    });
    </script>
    <div id="juicebox-container">
            <!-- Image gallery content for non-javascript devices -->
            <noscript>
                <h1></h1>
                <p></p>
                <p><img src="images/eagles_nest_1017_002_lowres.jpg" title="eagles_nest_1017_002_lowres" alt="" /><br>eagles_nest_1017_002_lowres </p>
                <p><img src="images/eagles_nest_1017_005_drone_lowres.jpg" title="eagles_nest_1017_005_drone_lowres" alt="" /><br>eagles_nest_1017_005_drone_lowres </p>
                <p><img src="images/eagles_nest_1017_010_lowres.jpg" title="eagles_nest_1017_010_lowres" alt="" /><br>eagles_nest_1017_010_lowres </p>
            </noscript>
        </div>
    <!--END JUICEBOX EMBED-->
</body>
</html>

Re: index.html not saving properly [SOLVED]

Here is a test I've uploaded:
http://robertjohn.me/wplightbox/test/

I get 'config file not found error' when I try to open this link

I've cleared cache and restarted browser etc. I get same error in Firefox and Safari

Thanks

Re: index.html not saving properly [SOLVED]

I get 'config file not found error' when I try to open this link

Thank you for providing the link to your gallery and the contents of your gallery's 'index.html' file.
Your gallery at http://robertjohn.me/wplightbox/test/ seems to be fine (and your gallery's 'index.html' file also seems to be fine).
I have viewed the gallery in Chrome 64, Edge, Firefox 58.0.2, IE11 and Opera 51 and it displays and functions correctly in all browsers.
There seems to be no problem with any of the gallery files on your web server.

Whatever browser you are using to view your gallery, please double-check that you have completely cleared its cache before reloading the gallery's web page.
Also, check to see if you have any browser extensions installed which may somehow be interfering with the gallery (and try temporarily disabling them to see if this helps).

I'm getting error 'config file not found' when I open the html.index in the gallery folder

If you encounter the "Config file not found." message whilst trying to view a gallery locally (from your computer rather than from your web server) in Safari 11, then please see this forum post for a full explanation and a workaround.

Unfortunately, Safari 11 (released 19 September 2017) introduced a new security restriction which prevents local viewing of Juicebox galleries by default. This issue is specific to viewing galleries locally (from your computer's hard drive) and there is no such issue once the galleries have been uploaded to a web server (where they can be viewed in any modern browser).
Selecting 'Disable Local File Restrictions' from Safari 11's 'Develop' menu (full instructions in the link above) should, once again, allow you to view your galleries locally in Safari 11.

More general information on the "Config file not found." message can be found in this FAQ:
When I view my gallery I see the message 'Config file not found'. How do I fix this?

However, there seems to be no problem with your 'test' gallery online and ensuring that your browser's cache has been cleared before reloading the gallery's web page and making sure that you have no browser extensions enabled which may be interfering with the gallery should hopefully help.

Please let me know how you get on.

Re: index.html not saving properly [SOLVED]

Thanks, it was very useful to know problem was at my end.
Seems the problem was with my VPN internet connection, for some reason the Juicebox gallery doesn't work.
I used a different VPN or turned off VPN and gallery worked fine.

Just as an aside, is Juicebox still being developed? It's useful to know if using Juicebox in projects whether updates can be expected in the future. I ask because it's been a while since last update.

Many thanks for your help

Re: index.html not saving properly [SOLVED]

I'm glad that you've been able to figure out the cause of your problem.
Thank you for letting me know.

Just as an aside, is Juicebox still being developed?

Yes, absolutely! Juicebox is still very much alive and well and being actively developed.
I'm not sure when the next release will be (or what it will include) but if you'd like to be notified of new releases, you can join our mailing list at the foot of our homepage, keep an eye on our Facebook page, follow us on Twitter @JuiceboxGallery or subscribe to our blog RSS feed.