Quote:
Originally Posted by Quoth
Really? How do you know what size the screen is, or does the image always scale?
|
Because I use a svg wrapper inside a div with a height of 99vh

So, no matter how big is the picture, the wrapper makes its magic and the image always will fit inside the space asigned. I've done a lot of work (and testing) on this point, and I can assure you that using an SVG wrapper makes the problems go away. But I don't always set the container div to 99vh in height; depending on the image (mainly half-page images), I set it to 50vh (or 60vh) in height. The thing even works in landscape mode; watch the following examples (with full and half page images):
https://www.mobileread.com/forums/sh...6&postcount=16
https://www.mobileread.com/forums/sh...0&postcount=17
Of course, all of this is done under epub3 together with appropriate code to avoid fragmentation.