07-03-2017, 08:10 PM | #16 |
Resident Curmudgeon
Posts: 76,495
Karma: 136564766
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
|
07-03-2017, 11:53 PM | #17 |
creator of calibre
Posts: 44,566
Karma: 24495948
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Feel free to open a bug report and attach one of these docx files whose alt text is not carried over. It should be a trivial fix.
|
07-04-2017, 03:38 AM | #18 |
Grand Sorcerer
Posts: 5,640
Karma: 23191067
Join Date: Dec 2010
Device: Kindle PW2
|
I tested this with Calibre, Pandoc and DiapDealer's Mammoth based DOCX plugin. Only pandoc preserved both title and alt attributes. (DiapDealer's plugin preserved only the alt attribute.) Calibre also considered my single page test document as a book that only contained a cover page and stripped the image from the page.
|
07-04-2017, 04:57 AM | #19 |
creator of calibre
Posts: 44,566
Karma: 24495948
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
|
07-04-2017, 08:32 AM | #20 | |
Grand Sorcerer
Posts: 5,640
Karma: 23191067
Join Date: Dec 2010
Device: Kindle PW2
|
Quote:
Code:
<wp:docPr id="1" name="Picture 1" descr="This is the image description." title="This is the image title."/> |
|
07-04-2017, 08:37 AM | #21 |
creator of calibre
Posts: 44,566
Karma: 24495948
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Works for me with
Code:
ebook-convert Image.docx oeb --docx-no-cover && cat oeb/index.html <?xml version='1.0' encoding='utf-8'?> <html xmlns="http://www.w3.org/1999/xhtml" lang="en"> <head> <title>Unknown</title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/> <link href="stylesheet.css" rel="stylesheet" type="text/css"/> <link href="page_styles.css" rel="stylesheet" type="text/css"/> </head> <body class="calibre"> <p lang="de" class="block_">Image attribute test</p> <p class="block_"><img src="images/Calibre_logo_2.png" title="This is the image title." alt="This is the image description." class="calibre1"/></p> </body></html> |
Tags |
alt text, calibre, conversion, identifier, picture |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Signature: table possible? Left and right text on same line? Wiki-Link with alt name? | Cyberman tM | Lounge | 5 | 03-31-2014 03:05 PM |
Alt Text in epub | Lancelot | ePub | 3 | 09-11-2013 04:55 AM |
Images linked, 'Align' and 'Width' attributes | sebdea | Kindle Formats | 2 | 01-17-2012 09:16 AM |
Images and text wrapping | steveboyett | Calibre | 3 | 07-20-2010 09:26 PM |
Image and text- images lost in conversion | monkeywithscisso | Calibre | 3 | 01-14-2009 11:01 PM |