View Single Post
Old 11-01-2010, 11:06 AM   #3
Starson17
Wizard
Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.
 
Posts: 4,004
Karma: 177841
Join Date: Dec 2009
Device: WinMo: IPAQ; Android: HTC HD2, Archos 7o; Java:Gravity T
Quote:
Originally Posted by marbs View Post
try adding
Code:
    extra_css='img {max-width:100%;}'
This allows the image to be as large as the space provided, but no larger. I don't see any CSS in the free Economist, so I would expect the image to be full size, if it fits, not scaled up. However, if the OP has a default device set, the recipe will create images scaled for the screen size of that device. If he then views it on his computer - the image may have been sampled down for the device when the recipe EPUb was created, then scaled up when viewed on a larger computer screen. What device is set for the default? What device is he viewing the recipe on?
Code:
    extra_css='img {max-width:50%;}'
will produce smaller images, but he might be losing resolution due to the default device he's told Calibre he's using. (There may also be some internal style that's not getting stripped that may override some of this.)
Starson17 is offline   Reply With Quote