nightfall223 downloadsLocalize images, rename attachments, and clean up unused files with ImgBox Pro, keeping your vault tidy.
An image management toolkit for Obsidian
Combines image localization, renaming, and attachment cleanup into a single plugin, suitable for long-term maintenance of notes with large numbers of attachments, supporting both desktop and mobile.
YYYYMMDD-HHmmss-md5-first-6 naming, deduplication (images and non-image attachments can be controlled separately)Go to Source NoteAuto Trigger / Storage & Naming / Download Behavior / Image Compression / Image Cleanup / NotificationsRibbon shortcutCommand palette entries automatically follow Obsidian's display language.
Core commands:
Localize attachments for the current note (custom location)Localize attachments for the current note (Obsidian location)Localize attachments for all your notes (custom location)Clear Unused Images in VaultClear Unused Attachments in VaultClear Unlinked Attachments in Current Note Folder (Next to Note mode)Notes:
Clear Unlinked Attachments in Current Note Folder (Next to Note mode) is only available in "next to note" mode, and the folder pattern must end with ${notename}The plugin provides one left cleanup Ribbon action:
清理未使用图片Clear unused imagesIt triggers:
Clear Unused Images in VaultThe settings page uses a single-page layout, with settings grouped in the following order.
| Format | Detect | Save | Included in unused-image cleanup | Compression output |
|---|---|---|---|---|
jpg / jpeg |
Yes | Yes | Yes | No |
png |
Yes | Yes | Yes | Yes, can be converted to jpeg / webp |
gif |
Yes | Yes | Yes | No |
svg |
Yes | Yes | Yes | No |
bmp |
Yes | Yes | Yes | No |
webp |
Yes | Yes | Yes | Yes |
avif |
Yes | Yes | Yes | No |
heic |
Yes | Yes | Yes | No |
Notes:
webp, avif, and heic are recognized, saved, and cleaned correctlypng.obsidian/plugins/ImgBox Pro in Community PluginsClear Unused Images in Vault / Clear Unused Attachments in Vault scan the whole vaultClear Unlinked Attachments in Current Note Folder (Next to Note mode) only targets the current note's attachment folderUsing this plugin means you accept the project license terms. See:
LICENSE