use vertical rhythm to determine width and height of photo