improve photo sizing