Added support for required attribute on the Image property