Added a new property ratio to handle multiple image formats for autoResize