The -Image command tag returns an image stored in a container field within a FileMaker Pro database.
The database and table for the find all action should be specified using the -Database and -Table command tags. The specific record from which the image should be retrieve should be specified using the -KeyValue command tag to reference its record ID.
The name of the container field which contains the image must be specified as the name portion of an additional name/value pair in the URL which fetches the image. The value of the name/value pair is unimportant, but must not be empty.
<img src="default.lasso?-Image&
-Database=Database_Name&
-Table=Table_Name&
-KeyValue=KeyField_Value&
Field_Name=JPEG">
Use the -Image tag within a URL. The following HTML <img> tag retrieves the image stored in the Photo field from a FileMaker Pro database named Contacts.fp3.
<img src="Action.Lasso?-Database=Contacts.fp3&-Table=People&
-KeyValue=123&-Image&Photo=JPEG">
Tag Link | -Image | Category | Action |
---|---|---|---|
Type | Command | Data Source | FMP |
Support | Deprecated | Version | 2.5 |
Output Type | None | Security | Database,Classic |
Implementation | Internal | Sets | LDML3x,LDML25 |
Please note that periodically LassoSoft will go through the notes and may incorporate information from them into the documentation. Any submission here gives LassoSoft a non-exclusive license and will be made available in various formats to the Lasso community.
©LassoSoft Inc 2015 | Web Development by Treefrog Inc | Privacy | Legal terms and Shipping | Contact LassoSoft