Tags:

ImageFlow

The ImageFlow function allows you to browse images interactively, flicking through a database after a search, to find a particular record.


ImageFlow( "imageFieldName" ; "recIDFieldName" ; "selectionFieldName" {; bgColor ; BlackBoxRefresh} )


Parameters:

1 "imageFieldName" Name of the field on the Related table containing image, enclosed in quotes and the full Table Occurrence:: Field Name form.
2 "recIDFieldName" Name of the field on the Related table containing Record ID, enclosed in quotes and the full TableOccurrence:: FieldName form.
3 "selectionFieldName" Name of the field on the “Home” table, enclosed in quotes and the full TableOccurrence::FieldName form, where ImageFlow will set the record ID when clicked. Typically this will be the “home” record that the user is currently viewing.
4 Background color
(opt)
The default color is #0266A1, “Reactor” blue, but you can specify a different color: see “Background Color” in the “Basics” section.
5 BlackBoxRefresh
(opt)
If you are going to be changing images and require them to be refreshed immediately, this parameter is necessary. It should be set to List( relationship name::PhotoName), where PhotoName is a text calculation field set to the container field. e.g. List( Related Table::PhotoName), where PhotoName = Photo (the container field name).


Example:


ImageFlow (
"People for ImageFlow::Photograph" ; // field containing image
"People for ImageFlow::Person ID" ; // field containing record ID
"Home::SelectedPersonID" ; // field on Home table
$$bgColor // Background color ;
BlackBoxRefresh( List( People for ImageFlow::PhotoName) )
)


Additional Notes:

  • All of the images must be JPG, GIF or PNG. PDFs are not supported.
  • Internet Explorer (and maybe Firefox) has issues displaying JPEG images that have been encoded using CMYK, rather than the default RGB encoding. Better to encode your images to RGB format to avoid this issue.
  • The size of the images will affect the speed of rendering. Very large images may be unwieldy for this function.


Miscellaneous Requirements


The ImageFlow uses the relationship between the 'home' table and the 'appointment' table. You should read the Complex Controls page to understand the requirements for this feature.


Table of Contents