1 Reply Latest reply on Jan 11, 2013 1:13 AM by LyndsayHowarth



      Hello FileMaker Community,

      Here is an issue I am trying to resolve.

      I am trying to display the contents of a container field with the contents being externally stored on the server via the web. I am getting back the data, but the container field is not displaying. I am confident that the URL is correct that is echoing back, however I am not seeing an image. I am using Chrome and IE to view the pages and I am not sure if I am missing a plug in or anything, I am absolutely clueless on why this does not work.....

      Here is the code:


      # create a new search transaction

      $request = $fm->newFindCommand('$Layout');

      $result = $request->execute();

      #Check for errors

      if (FileMaker::isError($result))


      echo "<p>Error: " . $result->getMessage(). "</p>";



      #Get the records and store the results in the $records array.

      $records = $result->getRecords();

      $record = $result->getFirstRecord();

      // Display the container as an images.

      echo 'Externally Stored File<br>Path: ' . $fm->getContainerDataURL($record->getField('container')) . '<br>';

      echo '<img src="containerBridge.php?path=' . $fm->getContainerDataURL(urlencode($record->getField('container'))) . '">';

      Please Help,

      Thanks in Advance