changed image_success tyoe from bool to string and added vocab