alangrainger / obsidian-google-photos

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

2 feature requests #7

Open abdcef opened 1 year ago

abdcef commented 1 year ago

Thank you for this useful plugin!

alangrainger commented 1 year ago

Can you expand what you mean by point 1? The filenames are by default based off the photo date-taken timestamp, and the format is configurable.

abdcef commented 1 year ago

Thanks, it is good to see the timestamp included. Can I change the pasted text to something like the following: [![](file name)(online link)] hh:mm AM/PM

alangrainger commented 1 year ago

Request 1 sounds good, I'll add that in with the ability to completely customise the inserted text using your own format and placeholders.

Request 2 I won't do any time soon, but you're welcome to work on it yourself and submit a pull request.

And before you say you can't code - neither could I before starting these kind of personal projects. I watched a course on Udemy and just gave it a go.

alangrainger commented 1 year ago

Timestamps have been added in v1.2.3.

Set your custom Markdown template to be something like this:

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

At the moment you can't customise the date/time format, but the current inserted format is the ATOM date format for maximum compatibility.

ashishbhateja commented 1 year ago

Thank you!

abdcef commented 1 year ago

Thanks for the added features!