use 1st jpg as indicator for page with/height ratio