I’ve heard about this problem couple of times and I’m sorry to tell you that I don’t know a fix for this.
It happens when you have many images on a single page. One workaround is to enable picture paging, so less images are rendered on the page at a time.
It’s a problem with PHx. It doesn’t parse all the phx code and some gets shown to the browser. You could try to increase the max passes value for PHx in the PHx plugin configuration, if you have installed it as a plugin that is. If you havent, first install the PHx as a plugin and if newer version doesn’t work out of the box, increase the maximum passes value.
Please report back your findings.
"He can have a lollipop any time he wants to. That's what it means to be a programmer."