Added #delete to the ImageRepository