obsidian-image-from-field
DataviewJS Script to render a Markdown image in Reading View using a local field for the source
A DataviewJS script that renders a Markdown image in Obsidian’s Reading View using an image URL stored in a frontmatter or inline field. It addresses the case where an image URL is kept in a field for dataview queries but should also display on its own note, avoiding the duplication of embedding the image separately. The script reads the URL from the supplied field and renders the image, and additionally accepts size and alignment values. It requires the Dataview plugin with JavaScript Queries enabled and is invoked through a dv.view call passing size, alignment, and field name.