obsidian-image-from-field

DataviewJS Script to render a Markdown image in Reading View using a local field for the source

Reads the image URL from a specified inline or frontmatter field and renders the image in place, instead of duplicating the URL as a separate embed. Accepts size (numeric), alignment (left, float-left, center, right, etc.), and the field name as arguments. Requires the Dataview plugin with JavaScript Queries enabled; live preview is not supported.