Paste Image Rename and Convert
approvedby iaos
Renames pasted images and covert the formats
Paste Image Rename Convert
An Obsidian plugin developed with the help of Cursor and Claude, which renames images when pasted into notes and can compress images to take up less space. Currently supports jpg and webp formats.
Created with Cursor and Claude AI, I know nothing about TypeScript
Overview
This plugin is inspired by and based on the following repositories:
Please refer to their READMEs for usage instructions :)
Why this plugin was created
My requirements:
- Support rename images when pasted into notes obsidian-paste-image-rename perfectly meets this need
- Compress images to take up less space obsidian-paste-png-to-jpeg does this well, but only supports automatic renaming while I need manual naming
- Automatically upload renamed images to Cloudflare R2 object storage Found that plugin obsidian-image-upload perfectly solves this
So, with the help of Cursor + Claude, I combined code from obsidian-paste-image-rename and obsidian-paste-png-to-jpeg into one plugin. Then after documentation is done, use obsidian-image-upload to upload all images to object storage. Initially thought about merging this plugin too, but found it unnecessary.
Limitations
Code readability and extensibility are limited, even though I asked Claude to optimize the code with each new feature.
Acknowledgments
Special thanks to:
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.