![]() |
#1 |
eBook FANatic
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 18,301
Karma: 16078357
Join Date: Apr 2008
Location: Alabama, USA
Device: HP ipac RX5915 Wife's Kindle
|
Straaaaaange happenings
I have been chasing this anomoly for a while. Sigil is adding stuff to image calls. Epub and MOBI (via kindlegen) display fine. When the epub is converted to LRF, the Frontpiece does not display.
Here's what I have. HTML titlepage call: Code:
<h2 title="TITLE PAGE"><IMG title= alt= src="Images/TitlePage.jpg"></h2> Code:
<h2 id="heading_id_2" title="TITLE PAGE"><img alt="" src="../Images/TitlePage.jpg" title="alt=" /></h2> Code:
<h2 title= "FRONTPIECE: "I GOT A CALL—A LAND CALL THAT I HAD TO ANSWER.""> <img title="" alt='"I GOT A CALL—A LAND CALL THAT I HAD TO ANSWER."' src= "Over%20Paradise%20Ridge_files/image1.jpg" /></h2> Code:
<h2 title="FRONTPIECE: "I GOT A CALL—A LAND CALL THAT I HAD TO ANSWER.""><img alt=""I GOT A CALL—A LAND CALL THAT I HAD TO ANSWER."" src="../Images/image1.jpg" title="" /></h2> The html, epub, and LRF files are contained in the attached zip file. Would you set me straignt? Charlie |
![]() |
![]() |
![]() |
#2 |
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 8,439
Karma: 5703082
Join Date: Nov 2009
Device: many
|
Hi,
Your original html is simply not correct. You specified a title= and alt= in the img tag but never provided either the title text or the alt text. The code that parses that bad html gets confused and ends up thinking that "alt=" is the title you did not specify. Solution: fix your html before loading it into Sigil. title="" alt="" is one way to fix this or better yet, remove the title= completely and put some valid alt="a text description of the image here". The latter is important for reading software for the blind and others who can not actually see the image. |
![]() |
![]() |
![]() |
#3 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,520
Karma: 121692313
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-T1, Kobo Touch, Kobo Aura
|
Remove the alt= in the HTML code. Just do alt="" or alt="any text" and it should work. In you're second example you used double quotes inside single quotes. That's why the inner quotes are translated to ""xxxx"".
|
![]() |
![]() |
![]() |
#4 |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 30,888
Karma: 59840450
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
my 2cents
Heading_id comes from Sigils TOC build Alt="" (empty string) is not a good HTML practice. The Alt tag is used by Accessibility compliant" devices in lieu of pictures. you should describe the image called "Book cover", "M" (for a Initial Capital "M" image" ... I believe Flightcrew squawks about these tags Missing |
![]() |
![]() |
![]() |
#5 |
eBook FANatic
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 18,301
Karma: 16078357
Join Date: Apr 2008
Location: Alabama, USA
Device: HP ipac RX5915 Wife's Kindle
|
WoW!!!
I feel like a dunce.
![]() Thanks a lot, Gentlemen and/or Ladies. |
![]() |
![]() |
![]() |
#6 |
frumious Bandersnatch
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,543
Karma: 19001583
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
|
An empty "alt" is OK whenever an image is purely ornamental or even if there is already a descriptive caption for the image: in these cases you wouldn't want a text-to-speech program to "read" anything instead of the image, for instance.
|
![]() |
![]() |
![]() |
#7 |
eBook FANatic
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 18,301
Karma: 16078357
Join Date: Apr 2008
Location: Alabama, USA
Device: HP ipac RX5915 Wife's Kindle
|
More strange happenings
What's wrong with this call? Works fine in ePub and MOBI but not in LRF generated by Calibre from the ePub.
Code:
<h2 id="heading_id_2" title="FRONTPIECE: "You don't need another vine," I answered mutinously"> <img alt=""You don't need another vine", I answered mutinously." src="../Images/image01.jpg" title=""You don't need another vine," I answered mutinously." /></h2> |
![]() |
![]() |
![]() |
#8 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,520
Karma: 121692313
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-T1, Kobo Touch, Kobo Aura
|
Looks fine, but I think the LRF doesn't like the " in the text.
|
![]() |
![]() |
![]() |
#9 |
eBook FANatic
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 18,301
Karma: 16078357
Join Date: Apr 2008
Location: Alabama, USA
Device: HP ipac RX5915 Wife's Kindle
|
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Weird happenings with new Sony software | Dusty | Sony Reader | 0 | 06-02-2010 04:14 PM |
Weird epub happenings | tech_au | Sony Reader | 5 | 08-07-2009 12:46 AM |
Happenings over at Sony's ebooks.connect.com | Stuart Young | Sony Reader | 13 | 09-26-2006 02:12 PM |