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.
Be the first to comment.