I understand this might not be the best place to ask this question…
I have an application that’s sending important html documents to my Kindle. They are displayed all right, but all referenced resources (css, images etc) are not there.
I don’t really care about absent css, but having images is crucial for me. Even though sometimes they are absolutely referenced, they are not displayed.
I tried to send a zipped archive with the html file and all images it references, but Kindle interpreted it as separate documents instead.
P.S. I’m sending the documents via Amazon’s free @free.kindle.com e-mail.
You have to use KindleGen utility to generate from your .html to .mobi to preserve images, css and use things like cover image, table of contents etc.
When you have your .html file and related image resources you have to create (generate) .opf file (generally it is just xml file describing your book resources). KindleGen has
included example of Kindle User guide in .html with related .opf
After that just use kindlegen with your .opf file from shell to create .mobi file which you can email after to your kindle email adress.