I have an App that saves photos into a local collection (ClearCollect) and then uses the SaveData function to persist this to the device.
If(
varIsSaveDataSupported,
SaveData(
Filter(colPhoto,IsBlank(ID)),
"sdPhoto"
)
);
Note varIsSaveDataSupported is a variable returning true or false. Only saving photos without an ID is related to method of offline synchronisation I'm using (photos without an ID to not exist in the database).
When the App starts the persisted data is loaded back into the local collection using the LoadData command
LoadData(
colPhoto,
"sdPhoto",
true
);
I'm using SQL Server as my datasource, so it is easy to just 'collect' the photos into the table.
When I have done similar with SharePoint, I have patched or collected the Url data of the photo directly to a multiline text field in SharePoint. I have then put a Flow on the SharePoint list to take the Url data and save it as file in a SharePoint library.