Better Image Info

approvedunreviewed

by Abdulkader Safi

Show the size and pixel dimensions of the open image in the status bar.

★ 1 stars↓ 36 downloadsUpdated 21d ago0BSD

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

  1. Run npm install, then npm run build.
  2. Copy main.js and manifest.json into <Vault>/.obsidian/plugins/better-image-info/.
  3. Reload Obsidian.
  4. 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.