Skip to content

Latest commit

 

History

History
43 lines (28 loc) · 925 Bytes

File metadata and controls

43 lines (28 loc) · 925 Bytes
description
Image component for apps.

Image

Image by URL

Display an image based on a URL. You can host URLs using Published Folders.

New-UDImage -Url "https://ironmansoftware.com/img/ps-logo.png"

Image by Path

Display an image based on a file local to the server.

New-UDImage -Path C:\users\adamr\Desktop\ps-logo.png

Image Size

Change the size of the image using the -Width and -Height parameters.

New-UDImage -Url "https://ironmansoftware.com/img/ps-logo.png" -Width 250 -Height 250

Attributes

Apply additional attributes to the image.

New-UDImage -Url "https://ironmansoftware.com/img/ps-logo.png" -Attributes @{
    alt = "Ironman Software Logo"
}

API