Topic: Inverted comma bug
I notice if the filename has an inverted comma (') it will not display the image, and if the title of the image has one, it will not display the title properly either.
Very nice slideshow apart from that.
You are not logged in. Please login or register.
Juicebox Support Forum → Juicebox-Lite Support → Inverted comma bug
I notice if the filename has an inverted comma (') it will not display the image, and if the title of the image has one, it will not display the title properly either.
Very nice slideshow apart from that.
As an image filename forms part of a URL when uploaded to a web server, it would be wise to use only web-safe characters (and not other characters such as an apostrophe).
Please see section 2.3 of this document for details.
Characters that are allowed in a URI but do not have a reserved purpose are called unreserved. These include uppercase and lowercase letters, decimal digits, hyphen, period, underscore, and tilde.
JuiceboxBuilder-Pro can handle all images whose filenames use any or all of these unreserved characters.
However, you should be able to use apostrophes and quotes in image titles.
Please make sure that you are using the latest version of JuiceboxBuilder-Pro (upgrading instructions can be found here) or if you are building your gallery manually, make sure that your image title text is enclosed within <![CDATA[ ... ]]> tags.
For example, to display the text '"<>& (an unlikely combination of characters but one that demonstrates the need for CDATA tags), this won't work:
<title>'"<>&</title>
... but this will work:
<title><![CDATA['"<>&]]></title>
(JuiceboxBuilder automatically puts all image titles and captions within CDATA tags.)
What's interesting is I also have this problem with accents like accute accent over an e and circumflex accent over an o. Would "é" really constitute a reserved character? And is it normal to be very strict with filenames?
You should be able to create a gallery with JuiceboxBuilder-Pro using accented characters in image filenames and view it locally but the problem is likely to arise when you upload the gallery to your web server.
As a test, upload an image with an accented character in its filename (such as 'café.jpg') to your web server and try to view the image directly by entering its URL into your browser's address bar (bypassing Juicebox).
You should not have such problems if you stick to using standard ASCII characters for your image filenames (rather than extended ASCII characters/accented characters).
Juicebox Support Forum → Juicebox-Lite Support → Inverted comma bug
Powered by PunBB, supported by Informer Technologies, Inc.