alangrainger / obsidian-google-photos

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

Feature Request: Show photo caption #50

Closed Sorrieah closed 2 months ago

Sorrieah commented 2 months ago

I'm planning to use this plugin to add photos to my daily journal. My previous method was to just add the photos to my vault, but it's taking up too much space. I always add a caption to the photos, and if I can do that in Google Photos instead of in Obsidian, it would give me a much cleaner note and allow those captions to be used for other albums and purposes, without needing to add them twice.

alangrainger commented 2 months ago

Thanks for the suggestion - you can now do this in v1.6.6.

Use the variables in the Inserted Markdown setting to add the caption where you want it in your inserted markdown. For example, if you wanted the caption as plain text following the image, edit the Inserted Markdown setting to look like this:

[![]({{local_thumbnail_link}})]({{google_photo_url}}) 

{{google_photo_desc}}
Sorrieah commented 2 months ago

Perfect, thank you so much!

On Wed, 19 June 2024, 12:24 pm Alan Grainger, @.***> wrote:

Thanks for the suggestion - you can now do this in v1.6.6.

Use the variables in the Inserted Markdown setting to add the caption where you want it in your inserted markdown. For example:

{{google_photo_desc}}

— Reply to this email directly, view it on GitHub https://github.com/alangrainger/obsidian-google-photos/issues/50#issuecomment-2177417254, or unsubscribe https://github.com/notifications/unsubscribe-auth/AJU5SBBPXSL2C6YAPIWY7CTZIDTWRAVCNFSM6AAAAABJPXKVQOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNZXGQYTOMRVGQ . You are receiving this because you authored the thread.Message ID: @.***>