01-15-2012, 06:41 PM | #1 |
Resident Curmudgeon
Posts: 74,037
Karma: 129333114
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Image sizing in ePub
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. |
01-15-2012, 09:57 PM | #2 | |
Well trained by Cats
Posts: 29,818
Karma: 54830978
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
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) |
|
Advert | |
|
01-15-2012, 10:31 PM | #3 |
Resident Curmudgeon
Posts: 74,037
Karma: 129333114
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Thank you.
|
01-15-2012, 10:33 PM | #4 |
Resident Curmudgeon
Posts: 74,037
Karma: 129333114
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Full screen covers that aren't full screen really bug me. 510x680 bugs me too. Thanks to MS Reader we have that off-aspect cover size sometimes.
|
01-17-2012, 06:03 PM | #5 |
Addict
Posts: 351
Karma: 70000
Join Date: Jul 2010
Location: Australia
Device: ADE, iPad
|
I actually make the cover image 600x860px
And css it to 95% I like having a nice white border around it. I hate having a stretched image... |
Advert | |
|
01-17-2012, 06:04 PM | #6 |
Resident Curmudgeon
Posts: 74,037
Karma: 129333114
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
If it is a commercial eBook I'm adding in a cover for, I try to find a hi-res cover image and if I do and it's larger then 1024 lines, I reduce it to 1024 lines keeping the proper aspect ratio of course. Then I use that image for the cover.
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Does NookColor have font-sizing issues? | L.J. Sellers | Nook Color & Nook Tablet | 12 | 06-02-2011 04:45 PM |
Help: Font Sizing Irregularities | wolfdown | Amazon Kindle | 4 | 09-24-2010 08:01 PM |
Image sizing for Epubs | purcelljf | ePub | 2 | 08-19-2010 05:01 PM |
Image Maps in ePub | NewBabyProd | ePub | 10 | 06-08-2010 11:28 AM |
PDF Text Font Sizing | Cactusgod | Calibre | 3 | 11-27-2009 01:50 AM |