01-30-2011, 03:23 PM | #1 |
was engr, now dentist
Posts: 143
Karma: 18558
Join Date: Nov 2010
Location: Riverside, Ca
Device: Kindle DXG
|
Text and picture on same page
Is it possible to embed a picture in a text page in a Mobipocket ebook? I have been experimenting with Mobipocket Creator and it seems like the only way to have an image in an ebook is to insert the file between the html files that make up the text which puts the image on a separate page. I have tried embedding pictures in the html files and it doesn't seem to work. I believe I get some warnings from MC about links not resolving and the pictures end up at the end of the book on separate pages.
I've been using Kompozer as my html editor, in case that matters. I made a test book consisting of a few pages of text, a few images, a table of contents, metadata, etc. and find it works and displays well in the Kindle DX OS. Chapters start on new pages, the TOC has its own page, but when I go to Duokan the TOC and text get reflowed(?) so that they all just run together- no new pages at new chapters, etc. Is there a tag I need to insert into the html files to get the book to behave better under Duokan? Thanks! MR |
01-30-2011, 03:33 PM | #2 |
reader
Posts: 6,975
Karma: 5183568
Join Date: Mar 2006
Location: Mississippi, USA
Device: Kindle 3, Kobo Glo HD
|
All you need is an img tag, at its simplest:
Code:
<img src="images/00001.jpg" /> Your problem with MobiPocket Creator is that the image files are not imported automatically. You will need to add them yourself. |
Advert | |
|
01-30-2011, 04:38 PM | #3 |
Wizard
Posts: 2,251
Karma: 3720310
Join Date: Jan 2009
Location: USA
Device: Kindle, iPad (not used much for reading)
|
You may need to not sure relative links like the one shown above. Just use something like <img src="image001.jpg" />. Then, import the picture, as well as the HTML file in Mobipocket Creator. The link should then resolve. Sometimes Mobipocket Creator is weird about what directory it is looking in for files, so you might have to play with that.
|
01-30-2011, 05:02 PM | #4 | |
eBook Enthusiast
Posts: 85,544
Karma: 93383043
Join Date: Nov 2006
Location: UK
Device: Kindle Oasis 2, iPad Pro 10.5", iPhone 6
|
Quote:
|
|
01-30-2011, 08:09 PM | #5 |
was engr, now dentist
Posts: 143
Karma: 18558
Join Date: Nov 2010
Location: Riverside, Ca
Device: Kindle DXG
|
Got it sorted out!
Thanks! It was a matter of putting the image files into the right directory.
MR |
Advert | |
|
Tags |
duokan, html, mobipocket creator |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
image on separate page without half-page text next | Toxaris | ePub | 2 | 01-26-2011 04:32 AM |
Text aligned on the bottom of the page? | NASCARaddicted | ePub | 4 | 11-15-2010 02:14 PM |
page numbers coming up over text | soup | ePub | 11 | 08-07-2010 06:31 PM |
Error text overwrites page text? | troymc | Sigil | 6 | 07-07-2010 10:07 PM |