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 <img> tag.
-IMGWidth The width parameter for the <img> tag.
-IMGHeight The height parameter for the <img> tag.
-IMGBorder The border parameter for the <img> tag.
-IMGIsMap Includes the ismap parameter in the <img> tag.
-IMGUseMap The usemap parameter for the <img> tag.
-IMGAlign The align parameter for the <img> tag.
-IMGName The name parameter for the <img> tag.
-IMGVSpace The vspace parameter for the <img> tag.
-IMGHSpace The hspace parameter for the <img> tag.
-IMGOptions Optional additional parameters to be specified in the <img> 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 Internal Sets Lasso 6.0, 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