add_image API is obsolete