View Single Post
Old 10-28-2014, 08:02 AM   #6
MickiTee
Guru
MickiTee ought to be getting tired of karma fortunes by now.MickiTee ought to be getting tired of karma fortunes by now.MickiTee ought to be getting tired of karma fortunes by now.MickiTee ought to be getting tired of karma fortunes by now.MickiTee ought to be getting tired of karma fortunes by now.MickiTee ought to be getting tired of karma fortunes by now.MickiTee ought to be getting tired of karma fortunes by now.MickiTee ought to be getting tired of karma fortunes by now.MickiTee ought to be getting tired of karma fortunes by now.MickiTee ought to be getting tired of karma fortunes by now.MickiTee ought to be getting tired of karma fortunes by now.
 
MickiTee's Avatar
 
Posts: 863
Karma: 4097942
Join Date: Jun 2012
Location: London, UK
Device: Sony PRS-505, Pocketbook TL3, TL4, TL5
Quote:
Originally Posted by rosshalde View Post
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 View Post
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.
MickiTee is offline   Reply With Quote