finalize photo ratio