Juicebox Problem

Started by Ted, October 14, 2016, 02:43:41 PM

Previous topic - Next topic

Ted

I have looked at Juicebox and am trying to use the export module from IMatch 5.7.2.  I must be doing something wrong because I can not get the webpages to display.  It is simply blank.
This morning I used 6 photos and drug them to the export module for a test.  After I confirmed that the images, thumbs, and jbcore folders were there I clicked on gallery.html and got a blank page.  I then loaded juiceboxBuilder and "Opened" the gallery just created by IMatch and saved it (which creates new index.html and config.xml files).  I then clicked on index.html and got the display I was expecting.  I then clicked on the gallery.html (still using the juicebox created config.xml) and it display properly.  To me that seems to indicate that there is a problem with the config.xml file created by IMatch - or I'm doing something wrong.

Any suggestions would be welcome.

I'm attaching a zip file with copies of the to files created by IMatch (with a ' - IM' added to the file name) and the copies of the files created by JuiceboxBuilder (with a ' - JB' added to the file name).

Thanks.
-----
Ted
Enjoying life one day at a time.

Mario

Did you download and install the Juicebox library as explained in the export module help?
Without it, nothing will happen. The Juicebox library is not automatically installed by IMatch or the export module.
-- Mario
IMatch Developer
Forum Administrator
http://www.photools.com  -  Contact & Support - Follow me on 𝕏 - Like photools.com on Facebook

Ted

Yes, I believe that is contained in the 'jbcore' folder that I referenced in my original post.  I am using the Pro version, but I have experienced the exact same problem with the Lite version.
-----
Ted
Enjoying life one day at a time.

Mario

I don't see a problem with the files produced by IMatch.

+ Juicebox is loaded (you can see the little icon in the lower right corner).
+ There are no errors reported by JB in the developer console.
+ When I rename the config.xml file produced by IMatch, JB reports an error so it seems to find and use he config.xml file.
+ No images are displayed.

I've checked the current version of the documentation and it looks like IMatch is doing it right. I could also see no obvious difference between the two XML files you have provided.

I did not change anything in the JB export module for a long time.
Did you contact JB support and asked them to have a look at the files? If they can see what the problem is, I can fix the export script in IMatch if needed.
-- Mario
IMatch Developer
Forum Administrator
http://www.photools.com  -  Contact & Support - Follow me on 𝕏 - Like photools.com on Facebook

Ted

I have not contacted them, but I will.  Thanks.
-----
Ted
Enjoying life one day at a time.

Ted

Mario,
Here is the response from Juicebox.  I verified that what they said is true.  Can you remove the problem line in your next release?
Thanks.

Hello.

Unfortunately, there seems to be a problem with Juicebox v1.5.0 galleries created by IMatch.
The problem happens only with the current version of Juicebox (v1.5.0) and not with previous versions.

The XML files generated by IMatch contain the following comment (directly after the XML declaration and before the opening <juiceboxgallery> tag) and this seems to break Juicebox galleries.
<!-- This file was produced with photools.com IMatch - http://www.photools.com -->
The solution to the problem is to open the XML file in a plain text editor and remove this line (and re-save the file).

I have notified the developers of this problem and it should hopefully be fixed in the next version of Juicebox.
In the meantime, removing the comment that IMatch places in the XML files should work fine.

I hope this is a suitable workaround for your problem.
Unfortunately, when I was forwarded your support query, I did not receive your original attachments so I have been unable to examine your files.
If my suggestion above does not help, then please email me back directly with your files so that I can investigate further.
Thank you.

Regards,
Juicebox Support Team
-----
Ted
Enjoying life one day at a time.

Mario

Hi, Ted

this is a normal XML comment. It should not break any XML parser (the programming thing that is used to read the configuration file).
Comments like this are used to annotate XML data, XML parsers are supposed to just ignore them.
-- Mario
IMatch Developer
Forum Administrator
http://www.photools.com  -  Contact & Support - Follow me on 𝕏 - Like photools.com on Facebook