Add the image directory to the ignore list.