No description
Find a file
2025-12-24 15:32:45 +08:00
.github/workflows modified: .github/workflows/release.yml 2024-12-22 14:34:26 +08:00
.editorconfig Initial commit 2024-12-08 18:20:46 +08:00
.eslintignore Initial commit 2024-12-08 18:20:46 +08:00
.eslintrc Initial commit 2024-12-08 18:20:46 +08:00
.gitignore Initial commit 2024-12-08 18:20:46 +08:00
.npmrc Initial commit 2024-12-08 18:20:46 +08:00
esbuild.config.mjs Initial commit 2024-12-08 18:20:46 +08:00
LICENSE Create LICENSE 2024-12-08 20:37:27 +08:00
main.ts fix: missing exclamation mark 2025-12-24 15:32:45 +08:00
manifest.json fix: travel path 2025-02-25 18:06:49 +08:00
package-lock.json fix: missing exclamation mark 2025-12-24 15:32:45 +08:00
package.json fix the required 2024-12-09 13:40:16 +08:00
README.md fix: missing exclamation mark 2025-12-24 15:32:45 +08:00
tsconfig.json Initial commit 2024-12-08 18:20:46 +08:00
version-bump.mjs Initial commit 2024-12-08 18:20:46 +08:00
versions.json fix: missing exclamation mark 2025-12-24 15:32:45 +08:00

Obsidian Plugin: Image Size

This is a image plugin for Obsidian (https://obsidian.md).

feature

  • set the default size of the pasted images
  • add enough relative path
    • relative path is friendly to bloggers using hugo

how to install

You can directly install this plugin in Obsidian.

Or

  1. find your vault's plugins
/path/to/yourvault/.obsidian/plugins
  1. directly download the obsidain-image-size.zip in the latest release

    • or download main.js and source code(zip) in the latest release and put the main.js into the source code folder
    • image
  2. put the whole folder into your vault's plugins folder

  3. reload the obsidian plugins, and you can see Image Size

easy to use

image

After set the default size in the setting of the plugin, you can paste any image with a size you set.

image

And, the pasted image will be stored in the folder you set.

attentions

Please make sure the folder you set exists!

It is strongly recommended to place the attachment folder in the project root directory!