Since we are doing this check at least twice, it would be good to pull it out into a method `(BOOL)shouldResizeForImageSize:(CGSize)imageSize`