I don't think iOS supports linking to photos in the way. There are some internal URLs to library assets, but I think they are time limited and secured to particular use cases. Support for attachments is still in the backlog, and hoping I get time to work on that at some point.
Hmm. That will be a problem as it now means the photos have to be copied out of Apple Photos to be used by Beorg. That obviously causes problems with syncing and such. I was hoping that we could create an Apple specific way of accessing Apple Photos. How do other applications (like picture editors) get access? If we can create a special hyperlink, we can redefine the hyperlink under Emacs to do attachments.
Do you know [[PhotoKit]]? The hard part will probably be figuring out a generic "URL" to pass to PhotoKit that it can use to find the appropriate photo as I don't think photos have a unique name we can use. When I download Photos from my library, it creates a zip file containing the photos with names like "IMG_####.jpeg" -- perhaps that can be used.
It should be possible for beorg itself to work with a PHCloudIdentifier, which should uniquely and persistently identify a photo stored in a user's iCloud photos library. It would probably (but I would need to research this more) a helper app to be written for macOS so that it could then be used from within Emacs. This is all useful discussion, which I'll keep under review.
That sounds good. Note, though, in a first iteration, don't worry about Emacs. Define it as a new hyperlink type and that could be added to Emacs later in a "free" form. A simple first form for Emacs would be to just treat it as another name for "attachment".
When you say written for MacOS, what about iOS?
David Masterson
Would it be possible for BeOrg to implement (say) an "apple:" hyperlink that can get photos directly from Apple Photos? I'd really like to make tasks that not only can describe the work that needs doing, but also provide a picture (or two) to illustrate the work. We could later setup a different definition for "apple:" under Org to link to a local directory of photos. I think we talked about using attachments for this at one time. The hard part is making the photos accessible on the iPhone.
Do you have ideas?