SyntaxFix
Write A Post
Hire A Developer
Questions
Place a second copy of the image in the same spot, then remove the original image.
ele.insertAdjacentHTML('beforebegin',ele.outerHTML); ele.parentNode.removeChild(ele);
This will effectively refresh the image.