View Single Post
Old 05-23-2014, 02:03 AM   #675
Rev. Bob
Wizard
Rev. Bob ought to be getting tired of karma fortunes by now.Rev. Bob ought to be getting tired of karma fortunes by now.Rev. Bob ought to be getting tired of karma fortunes by now.Rev. Bob ought to be getting tired of karma fortunes by now.Rev. Bob ought to be getting tired of karma fortunes by now.Rev. Bob ought to be getting tired of karma fortunes by now.Rev. Bob ought to be getting tired of karma fortunes by now.Rev. Bob ought to be getting tired of karma fortunes by now.Rev. Bob ought to be getting tired of karma fortunes by now.Rev. Bob ought to be getting tired of karma fortunes by now.Rev. Bob ought to be getting tired of karma fortunes by now.
 
Rev. Bob's Avatar
 
Posts: 1,760
Karma: 9918418
Join Date: Feb 2013
Location: Here on the perimeter, there are no stars
Device: Kobo H2O, iPad mini 3, Kindle Touch
Quote:
Originally Posted by theducks View Post
The S in SVG is scalable. IMHO a better way to go and the code shown also preservesthe Aspect No stretched cover images
If you mean my code, the combination of height and max-width preserves the aspect ratio, unless the cover dimensions are way off - for instance, wider than it is tall.

Not that I have anything against SVG, but normally I just don't see the need for it and believe that avoiding it lowers the odds of implementation problems. As always, YMMV.
Rev. Bob is offline   Reply With Quote