This Smarty plugin encodes an image to base64 format. For CMS Made Simple 2.x.
<img src="{base64image src="uploads/simplex/images/cmsmadesimple-logo.png"}" width="227" height="59" alt=""/>
background: url([[base64image src="uploads/simplex/images/palm-circle.png"]]) no-repeat;