Child pages
  • RuntimeImageMedia

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Rev: 1384958006482
Div
styledisplay:none

DO NOT EDIT THE CONTENT OF THIS PAGE DIRECTLY (EXCEPT INSIDE THE DIV BELOW WITH ID=DESCRIPTION), UNLESS YOU KNOW WHAT YOU'RE DOING.
THE STRUCTURE OF THE CONTENT IS VITAL IN BEING ABLE TO AUTO UPDATE THE CONTENT THROUGH THE DOC GENERATOR. Enter additional information related to this 'class' inside the {div} macro with 'id=description'

Div
iddescription

ImageMedia fields are fields that can display images.

The user can, depending on the field state (enabled/readonly) get/set of update the contents of the field.

When the user sets/updates the content of the field, Servoy has special logic that retrieves the filename and mimetype of the uploaded file and stores those in dataproviders that follow the following naming convention:

  • filename: DataProviderID (of the ImageMedia field) + "_filename"
  • mimetype: DataProviderID (of the ImageMedia field) + "_mimetype"

...