Image

Using the image widget, you can insert an image in to an application. Application users can see the image, but cannot manipulate it, since it is display-only. Images can be attached to the entities via queries and then shown to application users.

Image Settings

When you use an image widget, in addition to the default settings, the following setting is available:
  • Source: The data source can be based on which queries have been added in the Page Data section. It is also possible to provide a URL or select a file from the local machine.

Possible Uses

You can add an image gallery in an application by adding several image widgets. Additionally, if application users use the camera widget, they can take an image, and then upload the image in to their application with a button. The button can send the image to an entity, and a query of that entity can use the image widget to display the picture.

Suppose you want to insert an image in an application, and want to direct the user to the home page when the image is selected. In that case, perform the following steps:
  1. In the page designer, add an image widget to a page other than the home page.
  2. Select the File option, and select Choose File.
  3. Select the image that you want to insert in the application.
  4. In the Image Properties section, in the Actions box, select the action to go to the home page.
  5. Save the application, and preview it.

    When you select the image, the home page appears.