We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 39498
    • 169 Posts
    A chunk with a base64 image breaks the rendering of my page.

    The chunk looks like this:
    <img src="data:image/png;base64,iVBOR…
    has around 34k characters

    Only splitting it into 2 chunks renders the page. But it takes realy long to render.

    Is there any limitations for chunks. How to deal best with that?


    This question has been answered by sottwell. See the first response.

    • discuss.answer
      • 28042 ☆ A M B ☆
      • 24,524 Posts
      The snippet field of an htmlsnippet is a mediumtext field. It shouldn't have a problem storing your data. It's more likely that rendering the whole thing at once either takes too long or uses too much memory. Check your server's PHP error log.
        Studying MODX in the desert - http://sottwell.com
        Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
        Join the Slack Community - http://modx.org