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.

Using fmp-image in portal

Featured Replies

  • Newbies

I can successfully view images on web page using [fmp-image], but only if image is stored in the db I am accessing. If the image is in a related db and viewed through a portal, it will not display on the web page. Other text/number fields in the portal do display.

Thus:

[fmp-image:mydb::image field] does not display

[fmp-field:mydb::text field] does display

[fmp-image:local image] also works

Is this a restriction within FM that you cannot access images through portals?

Later that day:

Nevermind. Problem solved. Looks like you CAN access image through a portal. What I was trying to do was to set a local field with the image from a related record and then access the local field through the fmp-img tag. That doesn't work via CDML. However, the way around it was:

<img src="FMPro?-DB=related-db.fp5&key=[FMP-Field:local_field,url]&-Img" border="0">

Essentially, I grab the image key from "local_field" which contains the image from the related record. The CDML then just accesses the related database directly with the image key and bingo.

Well done smile.gif Thanks for the information.

Garry

Create an account or sign in to comment

Important Information

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

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.