Built a plugin-grade DataviewJS image gallery with carousels, regex search, continuous keyboard viewing, and direct anchor jumps back to notes!
Hi Obsidian community! ![]()
I wanted a feature-rich way to browse images in my vault, so I developed
DataView Image Gallery v1.5—a DataviewJS script that provides a plugin-grade gallery experience without installing additional community plugins.
Instead of just dumping images into a simple grid, this script parses your notes and groups headings and images into interactive “cards,” bringing an app-like browsing experience directly into your Reading View!
Key Features
Continuous Binge-Watching Lightbox: Click any image for a full-screen view. Use ←/→to navigate seamlessly across images and automatically cross over into adjacent cards/headings! UseCtrl + ←/→(Cmdon Mac) to skip cards entirely.
Multi-Image Album Support: Placing multiple images under a single heading automatically generates a smooth carousel slider with dot indicators (up to 10 images per block).
Direct Anchor Links: Clicking a card title (heading) instantly jumps you to the exact section/heading in the original source note.
Rich Control Bar: Dynamically adjust columns (1–10), sorting (name/created/modified), switch target folders, and toggle H2–H6 heading levels on the fly.
Smart Regex Filter: Filter cards with Regular Expressions (e.g., 2026-0[7-9]) with a one-click toggle for “Include / Exclude” modes.
Universal Parsing & Theme-Native: Supports WikiLinks (![[...]]), Markdown, and HTML<img src>tags. Fully adapts to light/dark themes and works seamlessly inside Obsidian POP-OUT (multi-window) views.
How to Use (dv.view Supported)
- Download
dataview-image-gallery v1.5.jsanddataview-image-gallery v1.5.mdfrom the release. - Place both files in your target folder.
- Simply open
dataview-image-gallery v1.5.mdin Reading View—it turns your notes into an interactive gallery!
(You can also easily customize initial settings like columns or folders via Frontmatter).
GitHub Repository & Full README:
(Requires the Dataview plugin with “Enable JavaScript Queries” turned ON)
If you find this useful, I’d really appreciate a Star on GitHub! Let me know what you think or if you have any feedback! ![]()
###
Screenshots




