max-height added to photos