The PNG overlay is then set as the new SRC for the IMG element. That’s all it takes, now images will be overlayed with the border image you see at the top of this post. There are some drawbacks ...