title: Echo Encoded Image from Container Field using FileMaker Pro & PHP
body: <p>How can an image stored in an embedded container field in a FileMaker Pro database be accessed via PHP and echoed to a native iOS application? There are several references to attaining the url, but nothing specifically about echoing the image as an encoded string.</p>
  
  <p>Here are the steps in more detail:</p>
  
  <ol>
  <li>iOS application passes a recordId to via POST to a PHP file.</li>
  <li>PHP file gets the matching record</li>
  <li>PHP file gets the container field containing an image (how is this done?)</li>
  <li>PHP file encodes the image as text (how is this done?)</li>
  <li>PHP file echoes the encoded image</li>
  <li>Swift project displays image in a UIImageView</li>
  </ol>
  
  <p>As I have only worked with moving text back and forth between FileMaker Server and a native iOS app using similar methods, I am seeking guidance on doing the same for images, specifically for step #4.</p>