epub images not appearing, a fix, and error sending to support
Posted: Fri Apr 23, 2021 3:46 pm
This may be at my end - I get an error, "Couldn't send data (Failed to connect (701))" when I use Help->Support to send a question.
Here's what I sent. Angle braces around xhtml tags were omitted in this message, thinking that might be why the error message appeared:
Here's what I sent. Angle braces around xhtml tags were omitted in this message, thinking that might be why the error message appeared:
An image used as a chapter heading decorator didn't appear when a Mellel epub export was read with Apple iBooks.
The image was in file OEBPS/content-unit-4.xhmtl as:
img src='images/image_1.jpeg' style='width:165px;height:21px'
If I opened the file with the Safari web browser, the image was there. In iBooks, the image appears as a rectangle with a blue square containing a question mark.
If I double clicked on the question mark, the image appeared.
The cure was to add this to OEBPS/package.opf in the manifest tag:
item id='image_1' href='images/image_1.jpeg' media-type='image/jpeg'
After that was added to the manifest, the image displays as expected in iBooks.
The cover image displayed correctly and was already in the manifest in nearly the same form:
item id='cover-image' properties='cover-image' href='cover-image.jpeg' media-type='image/jpeg'
Is there something I need to add in the Mellel source document to get images added to the manifest in an epub export?
Mellel is fantastic, by the way. Thank you for a wonderful product. I hope your enthusiasm is high. Your work helps many writers.