View Single Post
Old 04-25-2020, 09:35 AM   #1
shadowmanwkp
Dutch guy
shadowmanwkp began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Apr 2020
Device: Kobo Clara hd
File paths not case sensitive in preview window?

I don't know if this has been reported on the github or here on the forums, but I couldn't find my issue in either place.

On Sigil 1.2.0 I often use the preview window to check if I've made an error (XHTML has a stricter syntax than regular HTML 5), one thing I regularly slip up with is using the proper case for images and style sheets. For example:

I have the following files:
  • Styles/style.css
  • Images.image.png

If I then use the following tag in my header...

Code:
<link rel="stylesheet" type="text/css" href="../styles/style.css" />
And this code in my tag...

Code:
<img src="../Images/Image.png" class="img"/>
Everything looks fine if I preview it in Sigil. However on Adobe Digital Editions and my Kobo Clara HD I don't see any image and the CSS is not applied. I've added an example epub so you can see it in action.
Attached Files
File Type: epub case test.epub (371.6 KB, 395 views)
shadowmanwkp is offline   Reply With Quote