Image Web Control Image Web Control

Image Web Control

Leo Ng Leo Ng

Overview

Image Web Control can be used to insert images into a web page.  This control is found under Media when adding a Web Control.

media_gif.gif

 

Control Details

URL

Used to specify a link to the desired image or media file. Airkit will accept an image URL or Asset URI.  By default, a stock image URL is inserted that should be replaced.

 

 

Advanced Control Properties

Alt Text

Allows the app builder to insert alternative text to the image. This text will be displayed to the app user if the image cannot be displayed.  For more information, see the following MDN article.

 

Is Visible

This allows the app builder to set conditions as to whether the image is visible.  This field expects an expression that evaluates to either a True or False.   If the value is True, the image will display, otherwise it will not. By default, images are visible unless otherwise specified in this setting.

mceclip0.png

 

 

Styling

Images can be styled with these controls. For more information, see Common Style Properties of Web Controls.

 

Examples

Adding an image of a car to a web page.

image_upload.gif

After creating an image within the app, change the URL property to the image URI of an image you upload in Media Builder.

 

Further Reading

Add comment

Please sign in to leave a comment.