amend image path