in this case , I would make the scroll text , which is present text and images
You could put the URL Path in the variable spot... so it would pull the image from that path...
(or did I misunderstand you?)
Develop games in your browser. Powerful, performant & highly capable.
Use Pode's iFrame and load an entirely separate html file. That is far easier than building a new dynamic text/image loader.