![]() |
#1 |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 66,058
Karma: 108835845
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Aura H2O, PRS-650, PRS-T1, nook STR, iPad 4, iPhone SE 2020, 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. |
![]() |
![]() |
![]() |
#2 | |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 27,429
Karma: 44897222
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2, 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 | |
|
![]() |
#3 |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 66,058
Karma: 108835845
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Aura H2O, PRS-650, PRS-T1, nook STR, iPad 4, iPhone SE 2020, PW3
|
Thank you.
|
![]() |
![]() |
![]() |
#4 |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 66,058
Karma: 108835845
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Aura H2O, PRS-650, PRS-T1, nook STR, iPad 4, iPhone SE 2020, 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.
|
![]() |
![]() |
![]() |
#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 | |
|
![]() |
#6 |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 66,058
Karma: 108835845
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Aura H2O, PRS-650, PRS-T1, nook STR, iPad 4, iPhone SE 2020, 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.
|
![]() |
![]() |
![]() |
Thread Tools | Search this Thread |
|
![]() |
||||
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 |