title: Base64 encode image in visual composer WordPress
body: <p>I try to get a base64 in my img src like this: <code>&lt;img src="data:image/jpg;base64,etc..."/&gt;</code> into my WordPress website through the visual composer in <strong>text mode</strong>. It's all working fine when I save it but when I edit it again the <code>src</code> attribute is just gone. The image does get displayed but the code disappears when I try to edit it. When I update it without editing anything it just saves <code>&lt;img /&gt;</code> without anything in it. So no image is shown. This only happens when my src starts with the standard base64. It stays when I just throw in a URL. What is going wrong here and how do I fix this?</p>
  
  <p><strong>Edit:</strong></p>
  
  <p>I use text block element which I would like to keep this way cause Im using a json plugin.</p>
  
  <p>When I inspect it, it removes the: <code>image/jpg</code> part.</p>