only ignore images in the directory, not the directory itself