reject image attributes if not added