Quote:
Originally Posted by Turtle91
Using ePub3 - if your targeted reader supports the css3 properties - you can use:
'object-fit: contain' as you mentioned, and maybe take a look at 'display: flex' .
You would need to provide fallback coding for devices that don't support them.
As DNSB mentioned, I use an svg wrapper that seems to be widely supported and works on ePub2/3 and doesn't care if the reading
|
Thank you for your suggestion and codes for SVG wrappers, but I'm more comfortable using <img> . SVG wrappers are usually used for full-page images, also for fixed-layout epub. My images are full-width, but not full page.