Lasso Soft Inc. > Home

[IMG]

[IMG] returns an HTML <img> tag referencing the URL for an image from a FileMaker Pro database. Requires a single parameter, the name of the container field which contains the image.

  • Syntax
  • Parameters
[IMG: 'Field_Name']
Required Parameters
Field_Name The name of the FileMaker Pro container field that contains the image to be returned.
Optional Parameters
-IMGAlt The alt parameter for the tag.
-IMGWidth The width parameter for the tag.
-IMGHeight The height parameter for the tag.
-IMGBorder The border parameter for the tag.
-IMGIsMap Includes the ismap parameter in the tag.
-IMGUseMap The usemap parameter for the tag.
-IMGAlign The align parameter for the tag.
-IMGName The name parameter for the tag.
-IMGVSpace The vspace parameter for the tag.
-IMGHSpace The hspace parameter for the tag.
-IMGOptions Optional additional parameters to be specified in the tag.
Examples

To display a series of images from a FileMaker Pro database:

Use the [IMG] tag to automatically generate HTML <img> tags within the found set results. The following example returns the Photo field from each record in the Contacts.fp5 database, People layout.

[Inline: -FindAll,
    -Database='Contacts.fp5',
    -Table='People']
  [Records]
    <br>[IMG: 'Photo', -IMGAlt='Photo Field']
  [/Records]
[/Inline]
Tag Link [IMG] Category Database
Type Substitution Data Source FMP
Support Preferred Version 3.0
Output Type String Security None
Implementation Sets Lasso 5.0,LDML3x

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

 

 

©LassoSoft Inc 2015 | Web Development by Treefrog Inc | PrivacyLegal terms and Shipping | Contact LassoSoft