Insert a new image and its relationship with the collection