Quote:
Originally Posted by rosshalde
Have you imported the images into Sigil or just referenced to it? You need to add the images into the ePUB.
How do I tell the difference?
|
Any images included in the epub can be located under Images in the Book Browser. Also make sure that you only have a single copy of each image. If you've got duplicate images then decide which one to keep, edit the file name in all the <img> tags and then delete the duplicates.
Sigil provides an option on the Tools menu to Delete Unused Media Files. You can do the same for Unused Stylesheet Classes. This should help reduce the size of your epub
Quote:
Originally Posted by rosshalde
Here is an example of code that works with the picture being a chapter heading
<h1 style="text-align: center;" title="Little Rag Doll"><img alt="Misericordia Readers Primer_Page_016" src="../Images/Misericordia%20Readers%20Primer_Page_016.jpeg" /></h1>
Here is an example of code that is not working for me.
<p class="s1 s3">She called Baby Boy.</p><img alt="Misericordia Readers Primer_Page_017" src="../Images/Misericordia%20Readers%20Primer_Page_017.jpeg" />
|
In your 2nd example, you need to move the closing tag
</p> so that it is after the <img> tag as only classes used only apply to code/text between the start & close tags.