View Single Post
Old 03-24-2016, 12:22 PM   #3
Toxaris
Wizard
Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.
 
Toxaris's Avatar
 
Posts: 4,520
Karma: 121692313
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-T1, Kobo Touch, Kobo Aura
Quote:
Originally Posted by postkast2929 View Post
I have encountered a problem of images not showing (X appears instead of an image) in ePub after resaving the file in Sigil or Calibre. If you view the unedited ePub that was exported from the latest version of InDesign, then all images are there.

Only several ePub readers appear not to show images (AlReader, Bazaar); most commonly used like ADE, iBooks show images after edits in Sigil.

It wouldn’t bother me if all ePubs (mine and from other publishers) behaved the same way on those viewers, but I found out that only my ePubs behave this way.

If I take an ePub produced by another publisher, images are shown fine, and when I resave their ePub - images are gone!

I think that all ePubs need further editing in editors after exporting and Sigil and Calibre are most widely used - so I don't understand how other publishers manage to edit ePub and retain all images?!

All ideas are appreciated!

I cannot say how those readers will actually show the ePUB or the images, but images in an ePUB are not exactly rocketscience and both the Sigil editor and Calibre editor have tools to help you more.

Now, since I am the most experienced in the Sigil editor, I will use that as example. What is important to know, is that Sigil enforces a certain internal folder structure. When you open an ePUB in Sigil, the files are moved to that folder structure. For images that folder will be '/Images'. Notice the capital I. In that folder the images are stored and organized. Images must be added to the ePUB! They are stored inside the ePUB.

A link to an image is structured like this:
Code:
<img src="../Image/example.jpg" alt="picture of an example" />
There is also a button that will insert an image you select at the location of the cursor with the correct coding.

This way images will/should show on all readers and reading programs.
Toxaris is offline   Reply With Quote