Display dynamic images

The Show Image server behavior allows the web developers to display dynamic images in their site pages. Make sure you have a recordset in your page. Before applying the server behavior, you could select an image tag in your Dreamweaver page, or simply make no selection.

This server behavior is accessible from the Application panel, Server Behaviors -> + -> MX Kollection -> File Upload -> Show Image.

The user interface has only one tab. Directions about its correct configuration are given below.

 

To set the dialog box options, follow the next steps:

  1. In the File folder text box enter the name of the folder from where the images will be retrieved. You can use the Browse button to select a static folder and then you can append to it a dynamic value by using the InterAKT Dynamic Data selector.
  2. In the Recordset drop-down menu select one of the recordsets defined in your page.
  3. In the Field drop-down menu select the table column that stores the names for the images to be shown. You can also select None (which means that the image file name will not be retrieved from the database) or None: Rename rule. Only in the latter case, the text box below will be enabled.
  4. In the Renaming rule text box, when enabled, enter a custom name rule used to save the image. The name can only contain constant expressions and the current recordset fields. The InterAKT Dynamic Data selector allows you to input dynamic data in the corresponding field.
  5. The three buttons in the top right corner of the interface offer you the next functionalities:
    · Click OK when you are done configuring the server behavior.
    · Click Cancel to exit without applying the new settings.
    · The Help button opens this help page.

After applying this server behavior, a translator will be shown in your Dreamweaver page: