aspect ratio and minimum size of image