View Single Post
Old 03-11-2013, 08:43 AM   #5
Pablo
Guru
Pablo ought to be getting tired of karma fortunes by now.Pablo ought to be getting tired of karma fortunes by now.Pablo ought to be getting tired of karma fortunes by now.Pablo ought to be getting tired of karma fortunes by now.Pablo ought to be getting tired of karma fortunes by now.Pablo ought to be getting tired of karma fortunes by now.Pablo ought to be getting tired of karma fortunes by now.Pablo ought to be getting tired of karma fortunes by now.Pablo ought to be getting tired of karma fortunes by now.Pablo ought to be getting tired of karma fortunes by now.Pablo ought to be getting tired of karma fortunes by now.
 
Pablo's Avatar
 
Posts: 972
Karma: 4999999
Join Date: Mar 2009
Location: Rosario, Argentina
Device: SONY PRS-T2, Kindle Paperwhite 11th gen
Quote:
Originally Posted by Derek R View Post
Also, looking at the code you kindly supplied, in my ignorance I'm not sure if the cover would alter proportions to fit both width and height of screen, or simply fit the height and maintain the same width to height ratio?
That depends on the "preserveAspectRatio" parameter. In my example, the image is expanded or compressed keeping proportions. If you want the image to fill the screen, I believe you should change the value to "none".
Pablo is offline   Reply With Quote