Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Images with errors via PHP API

Featured Replies

  • 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.

Create an account or sign in to comment

Important Information

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

Account

Navigation

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.