by Abdulkader Safi
Show the size and pixel dimensions of the open image in the status bar.
better-image-info
Open an image in Obsidian and the status bar tells you what it is:
1.24 MB 1920×1080 PNG
That line is the file size, then width × height in pixels, then the format. Open a note and it disappears.
It works with png jpg jpeg webp gif bmp svg avif. An SVG without a fixed width and height has no pixel size, so you only see its file size and format.
Desktop only in practice. Obsidian mobile has no status bar.
Install manually
- Run
npm install, thennpm run build. - Copy
main.jsandmanifest.jsoninto<Vault>/.obsidian/plugins/better-image-info/. - Reload Obsidian.
- Turn on Better Image Info in Settings → Community plugins.
Development
npm run dev rebuilds on every save. npm run build makes the release build, and npm run lint runs ESLint. The whole plugin is about 40 lines in src/main.ts.
License
0-BSD
For plugin developers
Search results and similarity scores are powered by semantic analysis of your plugin's README. If your plugin isn't appearing for searches you'd expect, try updating your README to clearly describe your plugin's purpose, features, and use cases.