tokenshift/obsidian-page-gallery

Optionally get image src from frontmatter

Closed this issue · 3 comments

Allow users to specify what image to use in the frontmatter for a particular page, rather than parsing the page contents for the first image in it. Example:

---
pageGallery:
  src: some_image.jpg
---

This would be a great addition! Any chance of it happening soon?

This would perfect integration with other plugins, such as MAKE.md and Banners, and allow users to have more control over the page gallery display. I hope this becomes a feature soon!

You can now specify a specific image src in YAML frontmatter like:

pageGallery:
  imageSrc: some-image.jpg