add "required" to image