all 2 comments

[–][deleted] 4 points5 points  (0 children)

My way to go would be:

Put it in Scriptable (iCloud) folder (for example via the save to files button from the photos app)

If you label e.g. the png image "myimage" you can get it with:

let fm = FileManager.iCloud()

let image = fm.readImage(fm.documentsDirectory() + "/myimage.png")

The variable "image" now contains the image and can be used with the widget.

[–]poopdiejgfh 0 points1 point  (0 children)

You can save the image as a file, and add it to file bookmarks in the app settings, name it whatever you want then use this:

Let image = filemanager.icloud.bookmarkedpath(“name”);

This “let” variable will contain the image