Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Sigil

Notices

Reply
 
Thread Tools Search this Thread
Old 04-14-2012, 05:37 AM   #1
ProDigit
Karmaniac
ProDigit ought to be getting tired of karma fortunes by now.ProDigit ought to be getting tired of karma fortunes by now.ProDigit ought to be getting tired of karma fortunes by now.ProDigit ought to be getting tired of karma fortunes by now.ProDigit ought to be getting tired of karma fortunes by now.ProDigit ought to be getting tired of karma fortunes by now.ProDigit ought to be getting tired of karma fortunes by now.ProDigit ought to be getting tired of karma fortunes by now.ProDigit ought to be getting tired of karma fortunes by now.ProDigit ought to be getting tired of karma fortunes by now.ProDigit ought to be getting tired of karma fortunes by now.
 
Posts: 2,553
Karma: 11499146
Join Date: Oct 2008
Location: Miami FL
Device: PRS-505, Jetbook, + Mini, +Color, Astak Ez Reader Pro, PPW1, Aura H2O
Epub issue, pic does not show; Bug???

Hi,

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??
Attached Files
File Type: epub Great_American_Novel.epub (4.8 KB, 169 views)
ProDigit is offline   Reply With Quote
Old 04-14-2012, 06:13 AM   #2
mmat1
Berti
mmat1 ought to be getting tired of karma fortunes by now.mmat1 ought to be getting tired of karma fortunes by now.mmat1 ought to be getting tired of karma fortunes by now.mmat1 ought to be getting tired of karma fortunes by now.mmat1 ought to be getting tired of karma fortunes by now.mmat1 ought to be getting tired of karma fortunes by now.mmat1 ought to be getting tired of karma fortunes by now.mmat1 ought to be getting tired of karma fortunes by now.mmat1 ought to be getting tired of karma fortunes by now.mmat1 ought to be getting tired of karma fortunes by now.mmat1 ought to be getting tired of karma fortunes by now.
 
mmat1's Avatar
 
Posts: 1,196
Karma: 4985964
Join Date: Jan 2012
Location: Zischebattem
Device: Acer Lumiread
Quote:
Originally Posted by ProDigit View Post
Hi,
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.
This:
Code:
<div class="center">
    <object data="images/author-pic.svg" height="150" type="image/svg+xml" width="150">
      </object>
  </div>
is not valid in epub-standard.

I wonder how you can see it in sigil, I don't see even a placeholder for a picture.
mmat1 is offline   Reply With Quote
Old 04-14-2012, 06:36 AM   #3
ProDigit
Karmaniac
ProDigit ought to be getting tired of karma fortunes by now.ProDigit ought to be getting tired of karma fortunes by now.ProDigit ought to be getting tired of karma fortunes by now.ProDigit ought to be getting tired of karma fortunes by now.ProDigit ought to be getting tired of karma fortunes by now.ProDigit ought to be getting tired of karma fortunes by now.ProDigit ought to be getting tired of karma fortunes by now.ProDigit ought to be getting tired of karma fortunes by now.ProDigit ought to be getting tired of karma fortunes by now.ProDigit ought to be getting tired of karma fortunes by now.ProDigit ought to be getting tired of karma fortunes by now.
 
Posts: 2,553
Karma: 11499146
Join Date: Oct 2008
Location: Miami FL
Device: PRS-505, Jetbook, + Mini, +Color, Astak Ez Reader Pro, PPW1, Aura H2O
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.
ProDigit is offline   Reply With Quote
Old 04-14-2012, 06:54 AM   #4
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 29,799
Karma: 54830978
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Quote:
Originally Posted by ProDigit View Post
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.
Sigil normalizes the file layout so that it can function.What you can not do is have duplicate filenames: anywhere. Your (sub-)folders go away. If more than one contain the same file name (eg Chapter01.html), only the last will survive. Book1Ch01.html and Book2Ch01.html is a winner

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).
theducks is offline   Reply With Quote
Old 04-14-2012, 08:30 AM   #5
cybmole
Wizard
cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.
 
Posts: 3,720
Karma: 1759970
Join Date: Sep 2010
Device: none
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
cybmole is offline   Reply With Quote
Old 04-14-2012, 04:07 PM   #6
Keroberos
Zealot
Keroberos ought to be getting tired of karma fortunes by now.Keroberos ought to be getting tired of karma fortunes by now.Keroberos ought to be getting tired of karma fortunes by now.Keroberos ought to be getting tired of karma fortunes by now.Keroberos ought to be getting tired of karma fortunes by now.Keroberos ought to be getting tired of karma fortunes by now.Keroberos ought to be getting tired of karma fortunes by now.Keroberos ought to be getting tired of karma fortunes by now.Keroberos ought to be getting tired of karma fortunes by now.Keroberos ought to be getting tired of karma fortunes by now.Keroberos ought to be getting tired of karma fortunes by now.
 
Keroberos's Avatar
 
Posts: 128
Karma: 238654
Join Date: Aug 2009
Device: Kobo Mini (4GB), 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">
To this,
Code:
<object data="../Images/author-pic.svg" height="150" type="image/svg+xml" width="150">
in the title page.

Quote:
Originally Posted by mmat1 View Post
This:
Code:
<div class="center">
    <object data="images/author-pic.svg" height="150" type="image/svg+xml" width="150">
      </object>
  </div>
is not valid in epub-standard.
How so? An SVG image can be in an object element.

Quote:
Originally Posted by mmat1 View Post
I wonder how you can see it in sigil, I don't see even a placeholder for a picture.
Shows up fine in Sigil and ADE, once you fix the path.

Last edited by Keroberos; 04-14-2012 at 04:40 PM. Reason: Added more info
Keroberos is offline   Reply With Quote
Old 04-15-2012, 12:04 AM   #7
ProDigit
Karmaniac
ProDigit ought to be getting tired of karma fortunes by now.ProDigit ought to be getting tired of karma fortunes by now.ProDigit ought to be getting tired of karma fortunes by now.ProDigit ought to be getting tired of karma fortunes by now.ProDigit ought to be getting tired of karma fortunes by now.ProDigit ought to be getting tired of karma fortunes by now.ProDigit ought to be getting tired of karma fortunes by now.ProDigit ought to be getting tired of karma fortunes by now.ProDigit ought to be getting tired of karma fortunes by now.ProDigit ought to be getting tired of karma fortunes by now.ProDigit ought to be getting tired of karma fortunes by now.
 
Posts: 2,553
Karma: 11499146
Join Date: Oct 2008
Location: Miami FL
Device: PRS-505, Jetbook, + Mini, +Color, Astak Ez Reader Pro, PPW1, Aura H2O
Funny thing is, I did that I did change the pic directory, without success.
ProDigit is offline   Reply With Quote
Old 04-15-2012, 02:22 AM   #8
mmat1
Berti
mmat1 ought to be getting tired of karma fortunes by now.mmat1 ought to be getting tired of karma fortunes by now.mmat1 ought to be getting tired of karma fortunes by now.mmat1 ought to be getting tired of karma fortunes by now.mmat1 ought to be getting tired of karma fortunes by now.mmat1 ought to be getting tired of karma fortunes by now.mmat1 ought to be getting tired of karma fortunes by now.mmat1 ought to be getting tired of karma fortunes by now.mmat1 ought to be getting tired of karma fortunes by now.mmat1 ought to be getting tired of karma fortunes by now.mmat1 ought to be getting tired of karma fortunes by now.
 
mmat1's Avatar
 
Posts: 1,196
Karma: 4985964
Join Date: Jan 2012
Location: Zischebattem
Device: Acer Lumiread
Quote:
Originally Posted by Keroberos View Post
Shows up fine in Sigil and ADE, once you fix the path.
You're right. Thanks for clarification
mmat1 is offline   Reply With Quote
Old 04-15-2012, 02:30 AM   #9
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
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.
Toxaris is offline   Reply With Quote
Old 04-15-2012, 03:18 PM   #10
Keroberos
Zealot
Keroberos ought to be getting tired of karma fortunes by now.Keroberos ought to be getting tired of karma fortunes by now.Keroberos ought to be getting tired of karma fortunes by now.Keroberos ought to be getting tired of karma fortunes by now.Keroberos ought to be getting tired of karma fortunes by now.Keroberos ought to be getting tired of karma fortunes by now.Keroberos ought to be getting tired of karma fortunes by now.Keroberos ought to be getting tired of karma fortunes by now.Keroberos ought to be getting tired of karma fortunes by now.Keroberos ought to be getting tired of karma fortunes by now.Keroberos ought to be getting tired of karma fortunes by now.
 
Keroberos's Avatar
 
Posts: 128
Karma: 238654
Join Date: Aug 2009
Device: Kobo Mini (4GB), 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).
Attached Thumbnails
Click image for larger version

Name:	Sony_Reader.jpg
Views:	230
Size:	169.6 KB
ID:	85321  
Keroberos is offline   Reply With Quote
Old 04-15-2012, 03:25 PM   #11
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
I confirm the results of Kerberos. Within <img /> tag works fine in general.
Toxaris is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Show difference between ePUB files LGN Sigil 12 01-02-2014 10:32 AM
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


All times are GMT -4. The time now is 05:46 AM.


MobileRead.com is a privately owned, operated and funded community.