Super old topic, but here’s my script for adding images directly from Google Photos.
Update - new version here.
Original post below:
Share any individual photo from your Google Photos, and copy the link. Launch the template from Templater, and paste in the share link:
It then asks what style of embed do you want - just a link to the photo, or to embed the image, with the image data being stored remotely, or save the actual image to the same folder as the note:
The script goes and gets the permanent image location and either embeds that as a 350x250 image, or save that 350x250 thumbnail locally with a link back to the original image on Google Photos.
That way the local image takes up hardly any space in your vault, and you still have a direct link to the original fullsize image
Get the code here: