Originally Posted by glenngv
You appended the img object before its src is set.
var actualImg = document.createElement('img');
imageLink.appendChild(actualImg); //<----you appended the <img> to the <a>
var imgSrc = reorderResponse[i].imagePath;
actualImg.src="products/images/" + imgSrc; //<----but you only set the img src here
LOL Thank you. I checked my script and I was also missing several appendChild steps. Thank you!