03-24-2016, 11:58 AM | #1 |
Junior Member
Posts: 3
Karma: 10
Join Date: Mar 2016
Device: none
|
Images now showing in ePub after editing in Sigil or Calibre
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! |
03-24-2016, 12:08 PM | #2 |
Grand Sorcerer
Posts: 11,470
Karma: 13095790
Join Date: Aug 2007
Location: Grass Valley, CA
Device: EB 1150, EZ Reader, Literati, iPad 2 & Air 2, iPhone 7
|
How could you possibly think that a reading subforum is appropriate for ePub editing? Moved to a forum where someone might be able to help.
|
03-24-2016, 12:22 PM | #3 | |
Wizard
Posts: 4,520
Karma: 121692313
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-T1, Kobo Touch, Kobo Aura
|
Quote:
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" /> This way images will/should show on all readers and reading programs. |
|
03-24-2016, 12:39 PM | #4 |
eBook Enthusiast
Posts: 85,544
Karma: 93383043
Join Date: Nov 2006
Location: UK
Device: Kindle Oasis 2, iPad Pro 10.5", iPhone 6
|
I agree with Toxaris that the most likely explanation is that your images are in the wrong folder in the eBook structure.
|
03-24-2016, 01:20 PM | #5 | |
Junior Member
Posts: 3
Karma: 10
Join Date: Mar 2016
Device: none
|
Quote:
Thank you! Images are all in the correct places with correct paths. It turned out that because Sigil modifies the structure, the Windows version of AlReader can't find them. Last edited by postkast2929; 03-24-2016 at 01:22 PM. Reason: did't address correctly |
|
03-24-2016, 01:21 PM | #6 | |
Junior Member
Posts: 3
Karma: 10
Join Date: Mar 2016
Device: none
|
Quote:
It turned out that because Sigil modifies the structure, the Windows version of AlReader can't find them. |
|
03-24-2016, 05:16 PM | #7 |
Wizard
Posts: 4,520
Karma: 121692313
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-T1, Kobo Touch, Kobo Aura
|
Then I recommend complaining at the creators of AlReader, since their product if faulty! It does not matter where the images are located, as long as the links are correct.
|
03-24-2016, 05:38 PM | #8 |
Resident Curmudgeon
Posts: 74,648
Karma: 130140792
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
The low usage of AlReader & Bazaar makes them rather irrelevant.
|
03-24-2016, 06:53 PM | #9 | |
Grand Sorcerer
Posts: 11,470
Karma: 13095790
Join Date: Aug 2007
Location: Grass Valley, CA
Device: EB 1150, EZ Reader, Literati, iPad 2 & Air 2, iPhone 7
|
Quote:
So long as the rules about palthnames are met all files will be found and used properly. The root of the ePub file is / in a pathname. Otherwise you can use relative paths to find other files. Dale |
|
03-25-2016, 05:27 AM | #10 |
Fanatic
Posts: 554
Karma: 400004
Join Date: Feb 2009
Device: ONYX M96
|
is the ePub validated after the Sigil open/save?
|
03-25-2016, 05:50 PM | #11 |
Well trained by Cats
Posts: 29,981
Karma: 56143930
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Sigil and Calibre are both forgiving of some minor errors
RMSDK is mostly the opposite. Any CSS error and the whole CSS can get tossed Validate your CSS as well |
03-26-2016, 01:28 AM | #12 |
Curmudgeon
Posts: 629
Karma: 1623086
Join Date: Jan 2012
Device: iPad, iPhone, Nook Simple Touch
|
Forget errors, ADE/RMSDK will toss the whole CSS file just for including things that rely on a complete implementation of the CSS parsing specification even if they're syntactically correct and just beyond ADE's comprehension....
|
03-26-2016, 05:25 AM | #13 |
Resident Curmudgeon
Posts: 74,648
Karma: 130140792
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
I kind of like that ADE tosses the CSS because of an error. That way you know you do have an error and can then go and track it down to fix it.
|
03-26-2016, 10:48 AM | #14 |
A Hairy Wizard
Posts: 3,119
Karma: 18727091
Join Date: Dec 2012
Location: Charleston, SC today
Device: iPhone 11/X/6/iPad 1,2,Air & Air Pro/Surface Pro/Kindle PW & Fire
|
Fortunately, that is not the standard. A standards compliant renderer would gracefully degrade and simply ignore the offending css...not the whole flipping file!
It is easy enough to check your css file without using the "throw the baby out with the bathwater" technique. |
03-26-2016, 07:09 PM | #15 | |
Resident Curmudgeon
Posts: 74,648
Karma: 130140792
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
Now, if you have an error in your CSS, ignoring the entire CSS is a lot easier to know you have an error. I know right away and can then go and fix it. |
|
Tags |
alreader, calibre, epub, image, sigil |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Images not showing in ePub books | jstabe | ePub | 4 | 01-01-2014 04:17 PM |
Unable to open epub book after editing with Sigil | danshand84 | Sigil | 8 | 11-03-2013 06:40 PM |
Gif images not showing in epub | Amalthia | Conversion | 9 | 06-07-2012 03:43 PM |
Alreader not showing images after editing ePUB with Sigil | cerramadre | Sigil | 27 | 09-02-2011 10:24 PM |
Editing an epub with Sigil | Artha | Calibre | 7 | 07-01-2011 01:57 PM |