If there is no configUrl (pointing towards a configuration file) or baseUrl (pointing towards a gallery folder) in your gallery's embedding code, then Juicebox looks for a file named 'config.xml' in the same directory as the web page containing the embedding code.
If your gallery's configuration file is not named 'config.xml' or is not in the same directory as the web page containing the embedding code, then you'll see the "Config file not found." message.
You can either:
(1) Rename and/or move your gallery's configuration file so that it has the default name ('config.xml') and is in the default location (alongside the gallery's web page).
... or:
(2) Use a configUrl in your gallery's embedding code to point towards your gallery's configuration file, e.g.:
<script>
new juicebox({
configUrl: "path/to/my_own_configuration_file.xml",
containerId: "juicebox-container",
galleryWidth: "100%",
galleryHeight: "100%",
backgroundColor: "rgba(34,34,34,1)"
});
</script>Please note that if your gallery's configuration file is not in the default location, then you might need to adjust the imageURL and thumbURL paths within the file.
Another reason why you might be seeing the "Config file not found." message is if the file itself is somehow corrupt and the browser cannot read it.
Open the 'config.xml' file directly in a browser (drag and drop the file into a browser window or enter the address to the file into the browser's address bar) and you should see the XML code.
If there is a problem with the file (such as a control character in an image's caption which is breaking the XML syntax), then the browser should note the problem and the line in the file at which the problem occurs.
You should then be able to open the 'config.xml' file in a plain text editor and fix the problem.
I hope this points you in the right direction.
However, if you continue to experience difficulties, then please email me back with a link to your gallery so that I can see the problem for myself and hopefully help further.
Thank you.