Use pasteboard for image support in `addnote` deep links?

The documentation says here https://docs.ankimobile dot net/url-schemes.html#adding-notes (links blocked in forum) that importing an image only works from a URL.

I am under the impression that the pasteboard is already used by AnkiMobile when querying deck and model configuration data. Could the pasteboard be used for image transfer with deep links? This would be extremely helpful for an app I’m building.

Thanks!

I was able to find a workaround for my use case by hosting a local web server from my app and invoking that from AnkiMobile. However, it would still be helpful if something were done about this issue as it isn’t possible to add information like alt-text to images in Anki cards which is important for accessibility.

You should be able to add alt-text directly in the field of the note by opening the HTML view. Click </> at the top of the editor.