set normal ratio between the width and height of the photo