title: Saving base64 encoded image for facebook sharing via PHP
body: <p>I have an image thumbnail, encoded as base64, that I want to use as the default thumbnail when sharing a page via Facebook.  Facebook does not seem to support using the base64 image directly so I need to render/save/decode(?) it first before the user can click the "share" button.  Any thoughts?</p>
  
  <p>Here's my thumbnail:</p>
  
  <pre><code>$thumbnail = '&lt;img src="data:image/jpg;base64,' . $thumbnail_src . '" /&gt;';
  </code></pre>
  
  <p>Obviously it renders fine in the browser but Facebook can't "get it."</p>