Quote:
Originally Posted by Jellby
That has proved to be a very slippery goal. When you get it working, it will fail in some other reader.
Do not add that in the html. Instead, look for calibre42 (or whatever appropriate) in the CSS and add height:100%;
But height 100% (if it works) means the image will always take the whole screen vertically, regardless of its aspect ratio, the screen's aspect ratio and the image size. Is that what you want?
|
Thanks I did that and got it to work.
Regarding the aspect ratio; there are tall thin diagrams and short fat ones (some I have added white spacing on each side), for some of the short ones I think I will ad a width100% and leave the height.
A bunch of other graphics were affected too, which have the same "calibre13" with them. To solve this would I need to have certain specifications in the CSS e.g. calibre13 height100%, calibre14 width100% etc. then in the html change "caliber whatever it was" to calibre14 for all images that need to follow 14's rules?
Knowing that as you say it's a slippery goal (which is more the fault of eReader manufacturers?) could another option be simply to leave it alone so as not to conflict with technology within eReaders and instead take the taller pictures down to 720 pixels in height so they don't get clipped at the bottom on the average PC screen size for people who read on a ADE or Nook, neither of which rescale images (that is based on the assumption that eReader actually rescale images?).