Only annotate an image if it has annotations.