Johan Sanneblad33k downloadsAutomatically set a featured image property in your notes based on the first image.
Available in: English • Deutsch • Español • Français • 日本語 • 中文
Featured Image is an Obsidian plugin that automatically finds and sets thumbnail images for your notes. It detects the first image, YouTube link, or Auto Card Link in each document, downloads external images locally for instant loading, and creates optimized resized thumbnails.
The main use case for Featured Image is when you want a property with an image in each markdown file, typically for Bases or Dataviews.
Important!
Before Notebook Navigator version 2.0 was released this was the preferred way to generate image thumbnails for Notebook Navigator. However, as of version 2.0 the thumbnail-generation is now built into Notebook Navigator and saved to a dedicated database separate from the vault.
This means Featured Image is no longer needed for Notebook Navigator.
If you enjoy using Featured Image, please consider buying me a coffee or Sponsor on GitHub ❤️.
Access these commands via Command Palette (Ctrl/Cmd + P):
Set featured images in all files
Scans your entire vault and sets featured images based on the first image found in each note. File modification dates are preserved.
Set featured images in current folder
Same as above but only processes the current folder and its subfolders.
Update featured image in current file
Updates only the active note. Useful if you disable automatic updates and want to run the plugin manually.
Remove featured images from all files
Clears all featured image properties from your vault while preserving file modification dates.
Remove unused downloaded images and thumbnails
Deletes downloaded images that are no longer referenced by any notes to free up disk space.
Re-render all resized thumbnails
Regenerates thumbnails with your current size and alignment settings.

Show notifications - Show notifications when the featured image is set, updated or removed.
Run automatically while editing - Automatically updates the featured image when a note changes. Disable this if you prefer to use the Update featured image in current file command manually.
Frontmatter property - The name of the frontmatter property to update with the featured image.
Thumbnails folder - Folder for downloaded thumbnails and resized images. Subfolders will be created automatically for different image types.
Excluded folders - Comma separated list of folders to exclude from the featured image plugin.
Frontmatter image source properties - Comma-separated list of frontmatter properties to check for image paths/URLs before scanning the document. Supports strings and YAML lists.
Media link format - Choose how to format the featured image property in frontmatter:
path/to/image.png[[path/to/image.png]]![[path/to/image.png]]Only update if frontmatter property exists - Enable this to only update the frontmatter property if it already exists.
Keep empty property - When enabled, the frontmatter property will be kept but set to an empty string if no featured image is found. When disabled, the property will be removed.
Don't clear existing property - When enabled, keeps the existing featured image property if no image is found in the document. When disabled, clears or removes the property when no image is detected (depending on the 'Keep empty property' setting).
Download external images to thumbnails folder - Store external image links locally. Disable to skip remote images when selecting a featured image.
Download YouTube thumbnails - Store YouTube thumbnails locally. Disable to skip YouTube links when selecting a featured image.
Require exclamation mark for YouTube thumbnails - If enabled, only YouTube links prefixed with an exclamation mark will be considered for thumbnail download.
Debug mode - Enable debug mode to log detailed information to the console.
Dry run - Enable dry run to prevent any changes from being made to your files.
This plugin follows strict code quality standards using Obsidian's official ESLint plugin and the build process enforces zero tolerance for errors and warnings. All TypeScript is fully typed with no explicit any, and the codebase is validated with ESLint, Prettier, and dead code detection.
If you have any questions, suggestions, or issues, please open an issue on the GitHub repository.
Enjoy using Featured Image!