Jump to content
Server Maintenance This Week. ×

Images with errors via PHP API


This topic is 3770 days old. Please don't post here. Open a new topic instead.

Recommended Posts

  • Newbies

I've setup a site that's using the FileMaker API for PHP, I have a page that displays images, it usually works out great except when the image that's being displayed was added to the FileMaker 12 Database via a FileMaker Go client (where as the ones that work fine are ones that were dragged into the FileMaker Windows or Mac desktop client). 

 

This is the error in FireFox (in Chrome I just get a picture of a broken image icon):

 

The image “ cannot be displayed because it contains errors.

 

In my PHP file I specfiically declare a header type of image/jpeg (it works for PNGs too I've noticed), the files are from iOS and are JPG files or are from the camera app on iOS. The images that don't display on the site still display fine in any FileMaker client.

 

Am I missing something somewhere?

 

On the FileMaker side the images get added to a container on a layout for one parent table, then there's a script that adds that containers data to another related child table. I don't know if that has anythign to do with it, just wanted to share as much info as I could.

 

thanks.

Link to comment
Share on other sites

This topic is 3770 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.