View Single Post
Old 05-09-2011, 04:33 PM   #1
paola
Wizard
paola ought to be getting tired of karma fortunes by now.paola ought to be getting tired of karma fortunes by now.paola ought to be getting tired of karma fortunes by now.paola ought to be getting tired of karma fortunes by now.paola ought to be getting tired of karma fortunes by now.paola ought to be getting tired of karma fortunes by now.paola ought to be getting tired of karma fortunes by now.paola ought to be getting tired of karma fortunes by now.paola ought to be getting tired of karma fortunes by now.paola ought to be getting tired of karma fortunes by now.paola ought to be getting tired of karma fortunes by now.
 
paola's Avatar
 
Posts: 2,840
Karma: 5843878
Join Date: Oct 2010
Location: UK
Device: Pocketbook Pro 903, (beloved Pocketbook 360 RIP), Kobo Mini, Kobo Aura
problem scaling images

Hi, I have a file converted from mobi to epub via Calibre. Images are "called" by "calibre 3", e.g.

Code:
<p class="calibre33"><img alt="image" class="calibre3" src="../Images/00042.jpg" /></p>
so in order to allow them to be scaled to the screen width I have used Sigil to edit the css file, substituting:

Code:
.calibre3 {
    height: auto;
    width: 100%
    }
to the original

Code:
.calibre3 {
    height: auto;
    width: auto
    }
in Sigil, so far so good, the pictures are rescaled accordingly. But when I load the file in my reader (Pocketbook 903), the pictures look small, as if I had made no changes to the css file.

Any suggestions as to where I am going wrong would be greatly appreciated - I am rather software illiterate, so please be gentle

EDIT: though this question involves EPUB, Calibre and Sigil, the EPUB forum looked the most appropriate palce to post, hope this is ok.

Last edited by paola; 05-12-2011 at 02:20 AM.
paola is offline   Reply With Quote