alangrainger / obsidian-google-photos

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

Create a command to re-generate all added pictures #44

Closed muchisx closed 7 months ago

muchisx commented 7 months ago

I use git for backing up and I don't include the Media folder in my backups, it would be nice if I could run a command that re-generates the images that I already included in my vault, because when I pull my project into a new device i only see this:

image

and I don't know how to programatically re-generate them without having to erase it, find it and generate it again, which wouldnt be ideal

alangrainger commented 7 months ago

Sorry, that is out of scope for the plugin. I strongly suggest that the correct solution for the issue is to sync or copy that folder.

muchisx commented 7 months ago

@alangrainger

While out of scope this might be easily done! Is just finding the image links in all notes (regex or tagging them with a specific id) then looping through what the plugging already did and regenerating the thumbnails. What do you think?

Let me give a bit of context and you answer to this question

Ths plugin allows users to save on cloud storage by re-using images that are already stored in our own google photos.

Why would we want to sync folders of copies of what is already hosted in our google photos?

The entire idea (or the way I see it) is to programmatically have access to these images without duplication/unnecessary storage.