The ImageSelector component is a non-visual component that is paired with an Image component and allows for specifying 1 to 5 image URLs (of different sizes for the same image) and will select the closest image size based on the number of URLs provided.

The baseUrl property is used to construct the urls and is joined with the fileNames array. The file sizes provided are the recommended ones. If you choose to supply less than 5 fileNames, then choose image sizes that are larger so the image can down-scale.

BUG: There is a bug where the portrait URLs are always used even on devices that are landscape. Help solve this is appreciated.

DownloadOpen in Editor
0
Views13
0
Likes0
Share
Supported Viewport Profiles
  • Mobile Portrait, Small
  • Mobile Landscape, Medium
  • Mobile Landscape, Large
  • Hub Round
  • Hub Landscape, Small
  • Hub Landscape, Medium
  • Hub Landscape, Large
  • Hub Landscape, Extra Large
  • Hub Portrait, Medium
  • TV Fullscreen
Minimum required APL version1.8
Comments

Be the first to comment.