check if a picture has been uploaded. If so, skip that picture