Did you try to use the changeImg() function that I created? You just have to provide the element and the variable as parameters and the image should change. Like this:
changeImg($w('#img'),itemData.image) //change itemData.image to the variable you stored the URL