Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

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

Recommended Posts

  • Newbies
Posted

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.

This topic is 7401 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.