'Removes a specific cached image file and any attributes about the image
:param image_id: Image ID'

def delete_cached_image(self, image_id):

    path = self.get_image_filepath(image_id)
    with self.get_db() as db:
        delete_cached_file(path)
        db.execute('DELETE    FROM    cached_images    WHERE    image_id    =    ?', (image_id,))
        db.commit()
