View Single Post
Old 05-11-2017, 10:17 PM   #6
richo
Connoisseur
richo began at the beginning.
 
richo's Avatar
 
Posts: 68
Karma: 10
Join Date: Sep 2014
Device: KOReader on: Kindle Paperwhite and Android
To give more information. Whatever I do the size of images is always same, good looking at viewer of calibre itself, but very small in PocektBook 1200x1600 pixel display.

Image size in pixels is 402x220px.
This is relevant part of html in book as displayed by calibre in resulted epub:
All this never change doesn't matter what input output profile I choose during conversion. I must be doing some trivial mistake here.

Code:
<p class="image1"><img src="../images/00008.jpeg" alt="image" class="calibre12"/></p>
where
Code:
.image1 {
display: block;
line-height: 1.2;
margin-bottom: 2em;
margin-left: 0;
margin-right: 0;
margin-top: 0;
padding-top: 1em;
text-align: center;
}

.calibre12 {
height: 220px;
line-height: 1.2;
width: 402px;
}

The relevant resulting CSS is:

Code:
display: inline;
font-family: newbaskervilleitcstd-roman;
font-size: 18px;
height: 220px;
line-height: 21px;
text-align: center;
width: 402px;
richo is offline   Reply With Quote