Search...Search plugins and themes...
⌘K
Sign in
  • Get started
  • Download
  • Pricing
  • Enterprise
  • Account
  • Obsidian
  • Overview
  • Sync
  • Publish
  • Canvas
  • Mobile
  • Web Clipper
  • CLI
  • Learn
  • Help
  • Developers
  • Changelog
  • About
  • Roadmap
  • Blog
  • Resources
  • System status
  • License overview
  • Terms of service
  • Privacy policy
  • Security
  • Community
  • Plugins
  • Themes
  • Discord
  • Forum / 中文论坛
  • Merch store
  • Brand guidelines
Follow us
DiscordTwitterBlueskyThreadsMastodonYouTubeGitHub
© 2026 Obsidian

Gallery View

mkshp-devmkshp-dev287 downloads

Create interactive image galleries in your notes using obs-gallery code blocks. Supports multiple view types (thumbnail, carousel, grid) and both local vault images and external URLs.

Add to Obsidian
Gallery View screenshot
Gallery View screenshot
Gallery View screenshot
  • Overview
  • Scorecard
  • Updates4

Create interactive image galleries in your Obsidian notes using simple code blocks. Display images from your vault folders with thumbnail grids and click-to-expand modal viewing.

Features

  • Thumbnail galleries — Display images in responsive grid layouts
  • Modal viewer — Click thumbnails to view full-size images
  • Folder support — Scan entire folders or individual files
  • Simple syntax — Easy obs-gallery code blocks
  • Responsive design — Works on desktop and mobile
  • Performance — Lazy loading for large image collections
  • Clean styling — Integrates seamlessly with Obsidian themes
  • Error handling — Graceful fallbacks for missing paths

Quick start

Installation

  1. Download the plugin files (main.js, manifest.json, styles.css)
  2. Create folder: YourVault/.obsidian/plugins/gallery-view/
  3. Copy files to the plugin folder
  4. Enable "Gallery View" in Obsidian Settings → Community Plugins

Basic Usage

Create galleries in your notes using code blocks:

```obs-gallery
path: Images/Screenshots
view: thumbnail
```

Usage examples

Folder Gallery

Display all images from a folder:

```obs-gallery
path: Photos/Vacation2024
view: thumbnail
```

Thumbnail View

Carousel View

Horizontal scrolling carousel with controls:

```obs-gallery
path: Images/Screenshots
view: carousel
```

Carousel View

Masonry Grid

Pinterest-style layout with variable heights:

```obs-gallery
path: Projects/WebDev
view: grid
recursive: true
```

Grid View

With External Images (Beta)

Include remote images (requires enabling in settings):

```obs-gallery
urls:
  - https://picsum.photos/800/600?random=1
  - https://picsum.photos/800/600?random=2
  - https://picsum.photos/800/600?random=3
  - https://picsum.photos/800/600?random=4
view: grid
```

External URLs

Configuration options

Parameter Description Default
path Folder or file path (required when not using urls) —
view Display style: thumbnail, carousel, grid thumbnail
urls Optional list of remote image URLs (opt-in) —
recursive Include images in subfolders false

Remote images (opt-in)

You can reference externally hosted images using the urls: YAML list in your obs-gallery code block. Remote images are disabled by default to preserve privacy. The plugin exposes these related settings in the Gallery Plugin settings panel:

  • Allow remote images (boolean) — enable loading images from external URLs.
  • Remote load timeout (ms) — how long the plugin waits for remote images before giving up.
  • Validate remote content type (optional) — when enabled the plugin will perform a lightweight HEAD request to verify the remote resource's Content-Type header looks like an image (e.g., image/jpeg) before attempting to load it. This can reduce accidental attempts to load non-image resources, at the cost of one extra small network request per URL.

Example urls: usage:

```obs-gallery
view: thumbnail
urls:
  - https://example.com/photos/cover.jpg
  - https://cdn.example.org/gallery/img123.webp
```

Notes:

  • The plugin performs only syntactic validation of URLs by default. Enabling content-type validation activates the HEAD check described above.
  • Remote images are not automatically downloaded into your vault. If you need permanent local copies, mirror the assets manually.

Supported formats

  • JPEG (.jpg, .jpeg)
  • PNG (.png)
  • GIF (.gif)
  • WebP (.webp)

Interface

Thumbnail Grid

  • Responsive grid layout adapts to screen size
  • Hover effects for better interactivity
  • Lazy loading for performance

Modal Viewer

  • Full-size image display
  • Multiple ways to close:
    • Click the × button
    • Press Escape key
    • Click outside the image
  • Image name displayed at bottom

Development

Building from Source

# Install dependencies
npm install

# Development build with watching
npm run dev

# Production build
npm run build

# Simple build (MVP version)
npm run build-mvp

Project Structure

obsidian-gallery-plugin/
├── main.ts              # Main plugin code
├── main.js              # Compiled plugin
├── manifest.json        # Plugin metadata
├── styles.css           # Gallery styling
├── package.json         # Dependencies
├── tsconfig.json        # TypeScript config
└── src/                 # Advanced architecture (future)
    ├── models/          # Data models
    ├── views/           # View components
    ├── services/        # Core services
    └── processors/      # Content processing

Troubleshooting

Gallery Not Appearing

  • Check that the path exists and has correct case sensitivity
  • Verify images are in supported formats
  • Use exact folder names (e.g., Images not images if capitalized)

Modal Not Opening

  • Ensure styles.css is properly loaded
  • Check browser console for JavaScript errors
  • Try refreshing Obsidian or restarting the plugin

Path Issues

  • Use relative paths from vault root
  • Don't include leading or trailing slashes
  • Example: Images/Photos not /Images/Photos/

Performance with Many Images

  • Plugin uses lazy loading automatically
  • Consider organizing large collections into subfolders
  • Modal loads full-resolution images on demand

Roadmap

Current (v1.0.0)

  • ✅ Basic thumbnail galleries
  • ✅ Modal image viewer
  • ✅ Folder and file support
  • ✅ Responsive design

Future Enhancements

  • 🔄 Carousel view mode
  • 🔄 Grid layout options
  • ✅ External URL support (opt-in, timeouts)
  • 🔄 Image filtering and sorting
  • 🔄 Batch operations
  • 🔄 Settings panel

Contributions are welcome! Please feel free to:

  • Share usage examples and feedback
  • Help with documentation

Development Setup

  1. Clone the repository
  2. Run npm install to install dependencies
  3. Use npm run dev for development with auto-rebuilding
  4. Test in your Obsidian vault

License

MIT License — see LICENSE for details.

Acknowledgments

  • Built for the Obsidian community

Support

  • Bug reports: GitHub Issues
  • Feature requests: GitHub Discussions
  • Documentation: Plugin docs
93%
HealthExcellent
ReviewPassed
About
Create interactive image galleries in notes using simple obs-gallery code blocks. Display folder or file images as responsive thumbnail grids, carousels, or masonry layouts with click-to-expand modal viewing, lazy loading for large collections, and graceful fallbacks.
ImagesInterface
Details
Current version
1.0.3
Last updated
2 weeks ago
Created
7 months ago
Updates
4 releases
Downloads
287
Compatible with
Obsidian 0.15.0+
Platforms
Desktop, Mobile
License
MIT
Report bugRequest featureReport plugin
Sponsor
Buy Me a Coffee
GitHub Sponsors
Author
mkshp-devmkshp-dev
github.com/mkshp-dev
GitHubmkshp-dev
  1. Community
  2. Plugins
  3. Images
  4. Gallery View

Related plugins

Mousewheel Image zoom

Increase or decrease the size of an image by scrolling.

Image Toolkit

Click images to preview with zoom, move, rotate, flip, invert, and copy.

Hider

Hide interface elements such as tooltips, status bar, titlebar, and more.

Commander

Customize your workspace by adding commands everywhere, create macros and supercharge your mobile toolbar.

Agent Client

Chat with Claude Code, Codex, Gemini CLI, and more via the Agent Client Protocol — right from your vault.

Note Toolbar

Add customizable toolbars to your notes.

Meta Bind

Make your notes interactive with inline input fields, metadata displays, and buttons.

Dragger

Drag and drop any block (paragraphs, headings, lists, etc.) to rearrange content like Notion.

Image Context Menus

Image context menus (mostly on right click): Copy to clipboard, Open in default app, Show in system explorer, Reveal file in navigation, Open in new tab.

Iconic

Customize your icons and their colors directly from the UI, including tabs, files & folders, bookmarks, tags, properties, and ribbon commands.