|
|
#1 |
|
Karmaniac
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,158
Karma: 9023682
Join Date: Oct 2008
Location: Miami FL
Device: PRS-505, Jetbook, Jetbook Mini, Jetbook Color, Astak Ez Reader Pro
|
Epub issue, pic does not show; Bug???
I'm testing with Adobe digital editions a test ebook I found online called 'The great american novel' by 'John Q Public'. It's not a book, just a test epub to test some stuff. In the title page he has posted a smilie as his author picture. When I open the epub in Sigil, and save it, the image does appear in sigil, but not in ADE. How come? I've been looking like crazy, modifying the toc, the contents, the original doc, but to no avail. When I open the doc with 7z, and add the original content back into the epub, the image shows.... WHat's going on?? Bug??
__________________
--------------------------------- BOOO! ks. I read Internet instead of books. |
|
|
|
|
|
#2 | |
|
Det
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 716
Karma: 450180
Join Date: Jan 2012
Location: Zischebattem
Device: Acer Lumiread
|
Quote:
Code:
<div class="center">
<object data="images/author-pic.svg" height="150" type="image/svg+xml" width="150">
</object>
</div>
I wonder how you can see it in sigil, I don't see even a placeholder for a picture. |
|
|
|
|
|
Enthusiast
|
|
|
|
#3 |
|
Karmaniac
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,158
Karma: 9023682
Join Date: Oct 2008
Location: Miami FL
Device: PRS-505, Jetbook, Jetbook Mini, Jetbook Color, Astak Ez Reader Pro
|
in sigil?
I just downloaded sigil a couple of hours ago, hoping it would help me somewhat to make epubs. But sigil moves files around.
__________________
--------------------------------- BOOO! ks. I read Internet instead of books. |
|
|
|
|
|
#4 | |
|
Staff to 4 Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 10,707
Karma: 2485850
Join Date: Aug 2009
Location: The (original) Silicon Valley, USA
Device: Galaxy Tab 2,Black Astak PEz, K4NT(now Wifes)
|
Quote:
Sigil will also toss un-manifested files that come in via a malformed EPUB (when you add files to a work in progress, they get manifested immediatly).
__________________
Using: Ubuntu(32 bit):Oneric,Precise and XPpro SP3, W7HP(64)- - Libre Office w/Writer2EPUB
|
|
|
|
|
|
|
#5 |
|
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,686
Karma: 772746
Join Date: Sep 2010
Device: Sony PRS 650, Kindle for PC
|
ADE will not show images if there is an issue with image size i.e. if something in the image file properties leads it to think that the image is too large.
extract that image & check it's file properties. .I had this one time with a book cover image that looked fine in sigil but went AWOL in ade & on my sony reader. finding a similar image from another source & replacing it did the trick |
|
|
|
|
|
#6 | |
|
Zealot
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 126
Karma: 194002
Join Date: Aug 2009
Device: Nook Classic wi-fi, iPod Touch (Bluefire Reader)
|
Sigil is not auto-correcting the path to the SVG image after it normalizes the ePub structure. Change this,
Code:
<object data="images/author-pic.svg" height="150" type="image/svg+xml" width="150"> Code:
<object data="../Images/author-pic.svg" height="150" type="image/svg+xml" width="150"> Quote:
Shows up fine in Sigil and ADE, once you fix the path.
__________________
I told you, stick with me and you won't go far wrong. Last edited by Keroberos; 04-14-2012 at 04:40 PM. Reason: Added more info |
|
|
|
|
|
|
#7 |
|
Karmaniac
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,158
Karma: 9023682
Join Date: Oct 2008
Location: Miami FL
Device: PRS-505, Jetbook, Jetbook Mini, Jetbook Color, Astak Ez Reader Pro
|
Funny thing is, I did that I did change the pic directory, without success.
__________________
--------------------------------- BOOO! ks. I read Internet instead of books. |
|
|
|
|
|
#8 |
|
Det
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 716
Karma: 450180
Join Date: Jan 2012
Location: Zischebattem
Device: Acer Lumiread
|
|
|
|
|
|
|
#9 |
|
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,102
Karma: 927511
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-300, PRS-T1
|
You can also put the SVG image in a <img /> tag. That is also according to specs. In another post I researched some stuff about the SVG usage. There is more to it and actually in XHTML <object> is not recommended for HTML stuff.
See more info in this post.
__________________
Creator and maintainer of the e-Book Tools Word add-in. Creator and maintainer of the Clean HTML macro for MS Word. |
|
|
|
|
|
#10 |
|
Zealot
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 126
Karma: 194002
Join Date: Aug 2009
Device: Nook Classic wi-fi, iPod Touch (Bluefire Reader)
|
Yeah, I wouldn't recommend using the <object> tag. I did some more testing with the epub and got some odd results. Using the <object> tag works in Sigil, ADE 1.7.2 and Calibre's viewer, but does not in ADE 1.8.1 or Sony's Reader for PC software (which uses ADE mobile) or my Nook (which also incorrectly renders the svg image). It looks like the entire page gets covered by the object (text is there and selectable, but not visible). I attached a screenshot showing what I mean (the background color of the Title Page was set to black in the css file for this test).
__________________
I told you, stick with me and you won't go far wrong. |
|
|
|
|
|
#11 |
|
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,102
Karma: 927511
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-300, PRS-T1
|
I confirm the results of Kerberos. Within <img /> tag works fine in general.
__________________
Creator and maintainer of the e-Book Tools Word add-in. Creator and maintainer of the Clean HTML macro for MS Word. |
|
|
|
![]() |
| Thread Tools | Search this Thread |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Epub to Epub: issue with Multiple headings and page breaks | erion | Conversion | 5 | 12-04-2011 06:06 AM |
| Cover pic added in Calibre don't show up on device | martienne | Devices | 5 | 07-09-2011 12:10 PM |
| Nook STR: epub show only cover | molokom | Conversion | 1 | 06-30-2011 06:45 AM |
| Let the reader show any epub as Periodica | moe | Sony Reader | 7 | 06-10-2011 03:58 PM |
| Show difference between ePUB files | LGN | Sigil | 7 | 01-16-2011 05:41 PM |