alangrainger / obsidian-google-photos

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

Click on code-block image to see it larger #42

Open OPEN1004MIND opened 7 months ago

OPEN1004MIND commented 7 months ago

I love seeing photos for the month and day, but I can't tell what year the photo is from. How about adding the ability to know the name of the photo (since the name has information about the year) when the mouse hovers over it?

Ah. One more thing It would be nice to have the ability to click on a picture of a code-block to see it larger.

alangrainger commented 7 months ago

Hi @OPEN1004MIND - that's what the {{taken_date}} template variable is for :) Just put that into your settings in the Inserted Markdown setting.

Maybe like this:

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

Or if you want to have it as an image caption or tooltip:

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

Re codeblock images - good idea. I'll leave this issue open and rename it to better reflect the request.

OPEN1004MIND commented 7 months ago

Hi @OPEN1004MIND - that's what the {{taken_date}} template variable is for :) Just put that into your settings in the Inserted Markdown setting.

Maybe like this:

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

Or if you want to have it as an image caption or tooltip:

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

Re codeblock images - good idea. I'll leave this issue open and rename it to better reflect the request.

Thank you for your quick response. I also appreciate the ability to click on a picture from a codeblock to show it on a larger screen.

One thing, when I said the name of the photo you requested, I didn't mean the individual photo.

I was asking how to view the information of the photos that came from the codeblock or from the album.

This is most needed when the year is displayed as 0, and I can't tell what year the photo is from.

So I would like to be able to see the date (filename) of the retrieved photo, such as a speech bubble or shadow effect.

Below is a sample shadow effect.

Normal Mode MSC230124_0636001

Mouse Hover Effect MSC230124_0636002

Speech bubbles are another common feature.

MSC230124_0642001

Thank you reading