lucaorio / obsidian-image-gallery

A zero setup masonry image gallery for Obsidian
MIT License
186 stars 14 forks source link

Add "." or "./" to reference current note's folder #19

Open notSagyo opened 1 year ago

notSagyo commented 1 year ago

I found the plugin to be very useful for having a "preview" file in my "gallery" folders and exploring the images without leaving Obsidian.

Problem: I wasn't able to reuse the file as much because I had to modify the path in every instance, which quickly became a rather tedious chore.

Proposed solution: using "." to reference the path where the current note is located.

Additionally, since it was a very similar change, I added support for "./" to access subfolders of the current note's location.