I am looking into several improvements for the import translator from Citavi (see e.g my pull request here
https://github.com/zotero/translators/pull/3183 ). Now, one thing is that Citavi has also notes with pictures. Such notes resp. knowledge items contain a title, a relative path to the image file (which needs to be saved in the same folder) and possibly some text. In Zotero notes with images are also possible, but how can this been done in a import translator? Somehow the image first needs to be saved in the Zotero storage and then linked. But how?
For example look at the following (simplified) snippet from Citavi XML to import:
<KnowledgeItems>
<KnowledgeItem id="1e45a919-b939-4f90-a03b-beb756bcf4c6">
<Address>{"$type":"SwissAcademic.Citavi.LinkedResource, SwissAcademic.Citavi","LinkedResourceType":1,"UriString":"test.png","LinkedResourceStatus":8,"Properties":{"$type":"SwissAcademic.Citavi.LinkedResourceProperties, SwissAcademic.Citavi"},"SyncFolderType":0,"IsLocalCloudProjectFileLink":false,"IsCloudRestore":false,"IsCloudCopy":false,"AttachmentFolderWasInFallbackMode":false}</Address>
<CoreStatement>Some Test</CoreStatement>
</KnowledgeItem>
This should create an standalone note in Zotero with the title "Some Test" conaining the image test.png.