Thread: Image size lost
View Single Post
Old 10-03-2014, 04:41 AM   #12
pbw
Member
pbw began at the beginning.
 
Posts: 21
Karma: 10
Join Date: Dec 2011
Device: Kindle
Quote:
Originally Posted by kovidgoyal View Post
Look at the contents of that class
The class included the width and height parameters from the original html.

By changing the css as follows

.calibre8 {
width: 100%;
height: auto;
/*height: 366px;
width: 650px*/
}

in the couple of image-related classes, I was able to to get the calibre viewer to present the images with aspect ratio intact. This change also seemed to be acceptable to iBooks and to Readium in the Chrome brewer, although I have not tested the unchanged EPUB in Readium.

Azardi remains a problem, but I am talking to InfogridPacific separately about this issue.
pbw is offline   Reply With Quote