modify api url and add image files.