View Single Post
Old 11-27-2018, 08:17 PM   #40
Gregg Bell
Gregg Bell
Gregg Bell ought to be getting tired of karma fortunes by now.Gregg Bell ought to be getting tired of karma fortunes by now.Gregg Bell ought to be getting tired of karma fortunes by now.Gregg Bell ought to be getting tired of karma fortunes by now.Gregg Bell ought to be getting tired of karma fortunes by now.Gregg Bell ought to be getting tired of karma fortunes by now.Gregg Bell ought to be getting tired of karma fortunes by now.Gregg Bell ought to be getting tired of karma fortunes by now.Gregg Bell ought to be getting tired of karma fortunes by now.Gregg Bell ought to be getting tired of karma fortunes by now.Gregg Bell ought to be getting tired of karma fortunes by now.
 
Gregg Bell's Avatar
 
Posts: 2,266
Karma: 3917598
Join Date: Jan 2013
Location: Itasca, Illinois
Device: Kindle Touch 7, Sony PRS300, Fire HD8 Tablet
Quote:
Originally Posted by jhowell View Post
That was not meant as a suggestion! I recommend against leaving out styling for your images.

The 39.063% that appears in KFX if you use no styling for a 200x300 image is not a constant. It depends on the image size. If you use a 400x600 image with no styling you get width:78.125% as a result instead. I can't explain why these occur and do not recommend relying on them.

Percentage width should be used. And if you are concerned about the best look for older, non-KF8/KFX devices, also using height/width in pixels via media queries to cover that case.
Thanks jhowell. I figured the 39.063% was too good to be true. Here's the result of a backmatter image (in my Kindle Touch 7) that was simply:

Code:
<img alt="ManofGodNewFinal800X1200" src="../Images/ManOfGodNewFinal800X1200.jpg"/>
see attachment

Kind of big and from what you're saying that would swamp the older Kindles.

Right now I'm thinking of this (for backmatter images):

Code:
<img alt="ManofGodNewFinal400X600" src="../Images/ManOfGodNewFinal400X600.jpg"/>
Does that sound sane? It shouldn't overwhelm the old Kindles and shouldn't be too tiny on the bigger Kindles and tablets.

Then if I can figure it out, I'll try the percentages and media queries.
Attached Thumbnails
Click image for larger version

Name:	20181127_184038.jpg
Views:	201
Size:	467.4 KB
ID:	168038  
Gregg Bell is offline   Reply With Quote