Check for duplicate image.