alangrainger / obsidian-google-photos

Connect to Google Photos from Obsidian
GNU General Public License v3.0
93 stars 5 forks source link

Feature request: replace local image with google photo images #13

Closed nkmechanics closed 1 year ago

nkmechanics commented 1 year ago

Hi,

I really like the idea of inserting google photo links instead of using local images. I'd like to go to the extreme of upload all my local images to google photo and insert links back to the notes.

Do you think it's easy for this plugin to automate it on the per note basis or for the whole vault. Basically, when the cmd is called, it will do:

  1. Upload all images linked to the note to google photo, and copy their links
  2. Replace local image reference with copied google photo links
  3. Keep the local image name incase need to rollback to local image storage, for example: ![local-image-filename.jpg](http://google-photo-link.jpg)
alangrainger commented 1 year ago

I think it's possible, but not easy to do. It's not within the scope of what I plan to add to this plugin, but if someone (you?) wants to work on it and create a pull request, I'm happy to add it in.