Answers.Body: <p>Given the heavy restrictions on block formatting in Mobi 7 this seems to be the best solution for my situation.</p>
  
  <p>Have the images small enough and inline, set the <code>width</code> <code>height</code> and <code>align</code> attributes of the image (and felt very dirty) then place image at the start of a line – title here.</p>
  
  <pre><code>&lt;img src="images/house-redfort.png" width="51" height="56" align="middle" &gt;
  </code></pre>
  
  <p><a href="https://i.sstatic.net/QRk5G.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/QRk5G.png" alt="kindle preview screenshot"></a></p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-01-09T18:05:23.813Z
Answers.LastActivityDate: 2016-01-09T18:05:23.813Z
Answers.UserDisplayName: wjdp
Body: <p>I'm working on a <a href="http://wjdp.github.io/gotdict/" rel="nofollow">Game of Thrones Kindle dictionary</a> and would like to float images in some of the definitions. (width 20%, floated right)</p>
  
  <p>This is supported on newer kindles using the KF8 format however kindlegen suppresses KF8 support when an index is detected:</p>
  
  <pre><code>*************************************************************
   Amazon kindlegen(Linux) V2.9 build 1028-0897292 
   A command line e-book compiler 
   Copyright Amazon.com and its Affiliates 2014 
  *************************************************************
  
  Info:I9007:option: -c2: Kindle Huffdic compression
  Info:I9014:option: -verbose: Verbose output
  Info:I9018:option: -donotaddsource: Source files will not be added
  Info(prcgen):I1047: Added metadata dc:Title        "GOTDict"
  Info(prcgen):I1047: Added metadata dc:Date         "2016-01-07"
  Info(prcgen):I1047: Added metadata dc:Creator      "Various"
  Info(prcgen):I1047: Added metadata dc:Description  "Kindle dictionary for A Song of Ice and Fire."
  Info(prcgen):I1002: Parsing files  0000005
  Info(prcgen):I1003: Parsing file     URL: title.html
  Info(prcgen):I1003: Parsing file     URL: toc.html
  Info(prcgen):I1003: Parsing file     URL: defs.html
  Warning(parser8):W26001: Index not supported for enhanced mobi.
  Info(prcgen):I1003: Parsing file     URL: contributing.html
  Info(parser8):I12001: Enhanced mobi generation suppressed.
  Info(prcgen):I1036: Mobi file built successfully
  cp _output/gotdict.mobi _output/site/gotdict.mobi
  </code></pre>
  
  <p>Is there a way to force KF8 output, or to float images in MOBI7?</p>
  
Tags: <kindle><mobi><image><dictionaries><kf8>
Title: Create Kindle dictionary as KF8 / Floating images in a Kindle dictionary
UserDisplayName: wjdp
ThreadText: # Create Kindle dictionary as KF8 / Floating images in a Kindle dictionary
  
  (Asked by: username_0 on 2016-01-07)
  
  I'm working on a [Game of Thrones Kindle dictionary](http://username_0.github.io/gotdict/) and would like to float images in some of the definitions. (width 20%, floated right)
  
  This is supported on newer kindles using the KF8 format however kindlegen suppresses KF8 support when an index is detected:
  
  ```
  *************************************************************
   Amazon kindlegen(Linux) V2.9 build 1028-0897292 
   A command line e-book compiler 
   Copyright Amazon.com and its Affiliates 2014 
  *************************************************************
  
  Info:I9007:option: -c2: Kindle Huffdic compression
  Info:I9014:option: -verbose: Verbose output
  Info:I9018:option: -donotaddsource: Source files will not be added
  Info(prcgen):I1047: Added metadata dc:Title        "GOTDict"
  Info(prcgen):I1047: Added metadata dc:Date         "2016-01-07"
  Info(prcgen):I1047: Added metadata dc:Creator      "Various"
  Info(prcgen):I1047: Added metadata dc:Description  "Kindle dictionary for A Song of Ice and Fire."
  Info(prcgen):I1002: Parsing files  0000005
  Info(prcgen):I1003: Parsing file     URL: title.html
  Info(prcgen):I1003: Parsing file     URL: toc.html
  Info(prcgen):I1003: Parsing file     URL: defs.html
  Warning(parser8):W26001: Index not supported for enhanced mobi.
  Info(prcgen):I1003: Parsing file     URL: contributing.html
  Info(parser8):I12001: Enhanced mobi generation suppressed.
  Info(prcgen):I1036: Mobi file built successfully
  cp _output/gotdict.mobi _output/site/gotdict.mobi
  
  ```
  
  Is there a way to force KF8 output, or to float images in MOBI7?
  
  **Tags:** kindle, mobi, image, dictionaries, kf8
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_0 on 2016-01-09. Score: 0
  
  Given the heavy restrictions on block formatting in Mobi 7 this seems to be the best solution for my situation.
  
  Have the images small enough and inline, set the `width` `height` and `align` attributes of the image (and felt very dirty) then place image at the start of a line – title here.
  
  ```
  <img src="images/house-redfort.png" width="51" height="56" align="middle" >
  
  ```
  
  [![kindle preview screenshot](https://i.sstatic.net/QRk5G.png)](https://i.sstatic.net/QRk5G.png)
  
  
  ---
  
  