Home > Platform > SolutionBuilder Guide > Layout Designer > Control Library > Image Picker

Image Picker

11 Dec 2017Last updated
1votes
29updates
64views

Overview


The Image Picker control (outlined in red below) in dialogs allows you to select images from:

  • a server of your choice,
  • the Matrix42 icons library, or
  • your computer.

1.png

The Image control in Preview displays the image selected via the Image Picker control in the entity’s Edit Dialog.
2.png

Selecting an Image from UI


To select an image via the universal Image Picker control:
 
  • Open the entity in the Edit Dialog and click the Search (magnifying glass) icon in the Image field.
     
  • In the dialog that appears, click one of the available tabs: IMAGE FROM SERVER, ICON, or OBJECT ATTACHMENT.
    TIP: Availability of tabs depends on whether checkboxes are selected next to corresponding Image Picker Properties in Layout Designer, Appearance group: Allow Icons, Allow Attachment, and Allow Server Image.
     
  • Under the selected tab, locate and select the image you would like to add to the dialog.

 

Setting up an Image Picker in Layout Designer


Image Picker Properties
     Model group
- Value: this is the image path, icon name, or attachment url, depending on the selected mode.
- Allow Icons: select to allow users to set icons as a value (the ICONS tab will be available in the image selection dialog).
- Allow Attachment: select to allow users to use an object attachment as a value (the OBJECT ATTACHMENT tab will be available in the image selection dialog).
 - Allow Server Image: select to allow users to pick a server image (the IMAGE FROM SERVER tab will be available in the image selection dialog).
3.png
- Server Folder: path to the folder on the server where static images are stored.
 

     Appearance group

 - Display Mode: select how the image control will appear in the UI: input or image block (dimensions for the image block may also be specified here).
4.png

You must to post a comment.
Last modified

Tags

This page has no custom tags.

Classifications

(not set)
Customer
(not set)
icons-access-c.png