remove required attribute on the images. Either one can be present.