Added ImageViewByRatio. Thanks to @aavasilenko