description |
---|
Image component for apps. |
Display an image based on a URL. You can host URLs using Published Folders.
New-UDImage -Url "https://ironmansoftware.com/img/ps-logo.png"
Display an image based on a file local to the server.
New-UDImage -Path C:\users\adamr\Desktop\ps-logo.png
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
Apply additional attributes to the image.
New-UDImage -Url "https://ironmansoftware.com/img/ps-logo.png" -Attributes @{
alt = "Ironman Software Logo"
}