View Single Post
Old 09-08-2016, 11:43 PM   #2
Hitch
Bookmaker & Cat Slave
Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.
 
Hitch's Avatar
 
Posts: 11,503
Karma: 158448243
Join Date: Apr 2010
Location: Phoenix, AZ
Device: K2, iPad, KFire, PPW, Voyage, NookColor. 2 Droid, Oasis, Boox Note2
Quote:
Originally Posted by eggheadbooks1 View Post
I want to put a webding symbol in my text. I have converted it to a GIF (~300 pixels x 300 pixels). I embedded the image in the text as per the following code:

Code:
When you see this symbol in the chapter <img alt="note symbol" height="1em" src="../Images/note2.gif"/>, listen to the song that accompanies the story.</p>
This code works perfectly in the ePub. But when I convert to Kindle, the symbol does not appear. I then upped the em value to 20em, and then the image appeared BUT it is a different size in Kindle Previewer than it is in Kindle for PC app, and different again in my Fire. And when I change the font size, the image does not scale as is expected in any device/app.

All help appreciated.
Questions, if I may?
  1. How are you converting the file? CL KG, KP? ePUB to either? Zipped HTML to...?
  2. You're using inline CSS? As opposed to the usual? May I inquire why?
  3. Are you using the default font? I note that you've made the image 1em, in a line that by default is 1.2em, yes? Are you using any embedded font?
  4. What's the styling of the line? The line/paragraph, rather, that the image is in?

When you say that the image is a different size, in the K4PC versus the Previewer, wouldn't you expect that? Assuming that you don't have K4PC sized the same as the KP viewing/reading pane?

What happens if you use other image types? PNG? JPG?

Hitch
Hitch is offline   Reply With Quote