JSTools Space39 downloadsResize, convert, and compress images locally while preserving the originals.
Resize and compress JPEG, PNG, and WebP images locally inside your vault. Local Image Resizer does not upload images or require an account.
Created for Image Resizer
The new file is saved next to the source image with -resized in its name. If that name already
exists, Local Image Resizer adds a number. The source image is preserved.
Local Image Resizer creates a new image file and updates the image link in the current note. By default, it does not delete the original image.
Open Settings -> Community plugins -> Local Image Resizer to change original-file behavior.
The Delete original image after resizing setting is disabled by default. When enabled, Local Image Resizer moves the original image to trash after the resized copy is created and note links are updated.
All processing happens locally in Obsidian using the browser canvas API.
Copy main.js, manifest.json, and styles.css into:
<vault>/.obsidian/plugins/image-resizer/
Restart the app, open Settings → Community plugins, and enable Local Image Resizer.
Develop and test plugins in a separate vault before using them with important files.
npm install
npm run check
npm run build
The plugin is self-contained and does not depend on files outside this repository.