August 10, 200421 yr 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.
Create an account or sign in to comment