View Single Post
Old 03-06-2017, 09:29 PM   #2
Turtle91
A Hairy Wizard
Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.
 
Turtle91's Avatar
 
Posts: 3,355
Karma: 20171571
Join Date: Dec 2012
Location: Charleston, SC today
Device: iPhone 15/11/X/6/iPad 1,2,Air & Air Pro/Surface Pro/Kindle PW & Fire
This is a question that is brought up quite often here and you will find many different answers depending on the target device. I would recommend searching both the workshop and the epub threads to see all the pro's and con's for each technique.

My personal favorite is using the svg wrapper code that you mentioned. It does take a little bit of study to understand, but it isn't too bad. The svg wrapper will allow you to properly scale an image to fill the whole screen while keeping the proper aspect ratio.

The height portion of <img> is not reliable - so I only use <img> for inserting images of a specific size onto a page.

Cheers,
Turtle91 is offline   Reply With Quote