gen full path to img in ManageVm class