Implements deleting pictures