View Single Post
Old 01-15-2012, 09:57 PM   #2
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 31,094
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Quote:
Originally Posted by JSWolf View Post
Is there a way in ePub to make it such that an image sizes up to the full size of the image but once it hits the full size, it stop sizing?

So if the screen was a resolution of 600x800 and the image was 500x900 that the image would be sized to fit the 800 lines but on a screen of 768x1024, it would display at 100% without going over.
In the CSS;
set Max-width and Max-height values for the block that contains the Image.
SVG has its own version.
My first rule is: Maintain aspect Ratio (I hate stretched images)
theducks is offline   Reply With Quote