Add image from Photos Library

is it possible to display an image from Photos Library to the widget ?

Like so?


let image =await Photos.fromLibrary()
let w = new ListWidget()
w.addImage(image)
w.presentSmall()

Hello

It says “Picking images is not supported in a widget.”

How to solve that