View Single Post
Old 03-16-2026, 04:14 PM   #54
RbnJrg
Wizard
RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.
 
Posts: 1,923
Karma: 9553607
Join Date: Mar 2013
Location: Rosario - Santa Fe - Argentina
Device: Kindle 4 NT
Quote:
Originally Posted by ElMiko View Post
Hmmm. I mean, this was your code originally... Does the VH work in epub2?
You want a solution for epub2? you should start by saying that because the code you posted is not supported by ADE 2.x/3.x; your code is for epub3 (max-height and max-width are properties don't honored by ADE).

Quote:
Also I really don't want the image to scale infinitely with screen size, hence the em limit.
No risk of that, because you are not using "height: 90vh" but "max-height: 90vh". So if your image is tiny, then the image will be rendered by using the height acording to "width: auto" to maintain the proportion.

Quote:
But also do you know why the max height isn't being honored in the Readium plug-in?
In my system, Readium (Sigil's plugin) displays correctly the image and the text below.
RbnJrg is offline   Reply With Quote