prevents posting picture twice