Compress images when pasted into Obsidian

I think this could be easy to set up,

  1. Configure the attachment folder path, for example, ‘images’
  2. Add this folder to the file .gitignore, so GIT does not version it.
  3. Link the attachment folder path to dropbox. (in Linux would be to make a symbolic link)