v1.5.0 released
New features:
Codeblock shortcuts
You can use codeblock shortcuts to insert galleries of photos:
Photos from the periodic note date
This is especially useful to put in your daily note template. It will show the photos just from that daily note date. Really fun to use this to browse back through history.
```photos
notedate
```
You can configure the settings to fetch the date from the note title or a frontmatter property.
Photos from today
This will show photos from today - the current live date.
```photos
today
```
Advanced codeblock usage
There are some other fun things you can do with the codeblocks; see here for a more advanced example:
https://github.com/alangrainger/obsidian-google-photos#advanced-codeblock-usage
Album galleries
You can now insert an entire Google Photos album into your note:
- Open the command palette, and choose Google Photos: Insert album.
- Click on an album and it will be inserted into your note as a gallery.
If you want to style or hide the title, the CSS class is .google-photos-album-title
Points of note:
- It shows only your most recently used albums. This should be enough to get started, and I hope to update it in the future so it can fetch more of that list.
- Clicking on the photos doesn’t do anything. I’d be interested to hear feedback on what it should do, in an ideal world.