Export notes including image
Hi.Am I missing something - when exporting a note item via (Right-click->Export note!188BET靠谱吗) Zotero offers Markdown, HTML and RDF.Images that have been pasted in the notes are not exported, however.One does find a reference where these may be found in e.g.the RDF (e.g."data-attachment-key="DD2ZIBAX""), but ...
Best
Best
For Markdown and HTML, as least as long as we're exporting a single file (and inherently for Quick Copy), the main option would be to embed them as Base64-encoded strings, but that would create a much larger file, and depending on how your Markdown editor handles it, you might see huge strings of gibberish in the middle of your theoretically user-editable document.But at least some Markdown editors apparently can handle that.For an export, there could be an option to include images as separate files along with the exported .md/.html file.
188BET靠谱吗For Zotero RDF export, they should be exported as attachments and reimported properly, but that doesn't work yet.188BET靠谱吗(Official embedded-image support is new in Zotero 6.)
I had 6.0.5 running, but updated -> same result.
Speculating on a solution: but could it not be - knowing that the image is "there", i.e.in this case in folder .\55BVE6CG as per HTML/RDF, the folders root is not referenced correctly: where does "data-attachment-key" point to?BTW.No embedding at all in the Markdown-file, just an \image tag...
Cheers
When you export an item (sic!) using e.g.188BET靠谱吗Zotero RDF and the translator option is set to allow "Export files", the attached PDF is exported to some folder relative to the citation.Doing the same for a note, however, does not attach anything.Not sure if this is how things work - but having played around while delving deeper into this query: isn't the image that is part of the note just-not-another "attachment"?188BET靠谱吗It does seem to reside in some Zotero-like-attachment folder, e.g..\55BVE6CG, although we can't access it by the usual right-click->Show file, rather it's in the RDF or HTML code of the exported note (I did believe previously that the images etc.actually reside in the database, with the rest of the note!?).If it is just-another-attachment, couldn't (the couldn't here coming from someone not doing the programming, so no offense...) the image be treated like the exported item -> put it in a folder relative to the Markdown, HTML, RDF note output and reference it there (that would work for most Markdown editors, because they usually pull images relative to the *.md file anyway!and most browsers for the HTML output)?
Cheers
I second the suggestion to export the html/markdown file in a folder with images.Similar to how a website would be downloaded using wget or how Jupyter Notebook markdown export saves a zip with markdown/images bundled.
It's a fairly common way of handling html and markdown export with images.188BET靠谱吗And what a barebones markdown editing app would expect to work with if the files were to be edited further outside Zotero (like then exporting as PDF or Word for example).
188BET靠谱吗(You can also use the Add Note button in the word processor plugins to add the note to your document with active Zotero citations.)
188BET靠谱吗Regarding the Zotero note export feature specifically, might it be possible soon to include images as separate files along with the exported .md/.html file as you mentioned in your first response?
188BET靠谱吗But, if i drag & drop images from zotero to obsidian.md it results in endless markdown code - as @dstillmanexplained above.
My wish, if technically possible, is transfering images (png) via drag & drop too.188BET靠谱吗The advantage would be, i do have an automatically created backlink from any image in Obsidian to it's origin in Zotero.