jf-roku/components/photos/LoadPhotoTask.brs

17 lines
331 B
Plaintext
Raw Normal View History

2022-02-06 15:37:02 +00:00
sub init()
m.top.functionName = "loadItems"
end sub
sub loadItems()
item = m.top.itemContent
if item <> invalid
params = {
2022-05-30 12:59:24 +00:00
maxHeight: 1080,
2022-02-06 15:37:02 +00:00
maxWidth: 1920
}
m.top.results = ImageURL(item.Id, "Primary", params)
else
m.top.results = invalid
end if
end sub