'Removes all cached image files and any attributes about the images'

def delete_all_cached_images(self):

    deleted = 0
    for path in get_all_regular_files(self.base_dir):
        delete_cached_file(path)
        deleted += 1
    return deleted
