Image

Returns markup text to insert an image from the specified URL

  • Returned Output: Text
  • Library: PQL \ Dynamic \ Markup
  • Version: 2020.10.000
  • Compatibility: Any content (regardless of data source) in the relevant parts of the application

Syntax

Image( <URL> , OPTIONAL <Width> , OPTIONAL <Height> )

* Click on the function's arguments above for more details on the input values.

Comments
  • Use this function to embed web-based images into your dynamically created text programmatically.
  • The image URL address must be accessible from a web browser on your network.
  • If width or height are not supplied, the image is shown using its natural dimensions,
  • The text can be any static or formula driven text element.

Examples

This example returns the following Pyramid logo image from the Pyramid website, with a width of 150.

Image ("https://www.pyramidanalytics.com/images/default-source/pyramid-2020/pyramid_logo_horizontal_dark_110119.svg", 150)