mkshp5k downloadsCreate beautiful image galleries in your notes using code blocks. Supports local folders, external URLs, Immich and nextcloud with masonry, justified, mosaic, thumbnails, carousels, embed layouts
Turn any folder of photos into a gallery inside your notes. Pick a layout (masonry, justified rows, a mosaic, thumbnails, a carousel or full-width embeds), click a photo to see it full screen, and pull images from your vault, the web, Immich or Nextcloud.



In Obsidian, open Settings → Community plugins → Browse, search for Gallery View, then install and enable it. Or open it in Obsidian.
main.js, manifest.json and styles.css from the latest release.YourVault/.obsidian/plugins/gallery-view/ and copy the files into it.Run Gallery View: Create showcase notes from the command palette. It creates a GalleryDemo/ folder with ready-made notes for every layout and source, including use cases built on real photos.
Run Gallery View: Insert gallery, pick a layout and a folder, and click Insert gallery block:

Create galleries in your notes using code blocks:
```obs-gallery
sources:
- type: local
path: Images/Screenshots
view:
type: thumbnail
```
[!NOTE] The plugin fully supports the legacy v1 syntax (e.g.,
path: Images/Screenshots) for backward compatibility, but the v2 nestedsourcesschema is preferred.
For full details on configuring the plugin, usage examples, and available settings, please refer to the Gallery View documentation.
.jpg, .jpeg).png).gif).webp).avif).svg): scaled to fill the viewer, since it's a vector.mp4, .m4v, .webm, .mov, .ogv) from your vault, Immich, Nextcloud and external URLs: shown as a still frame with a play badge, and played in the full-screen viewerGallery View includes a built-in command to generate a set of interactive demo notes inside your vault. This is the fastest way to see what the plugin can do and to learn the configuration syntax.
Ctrl+P / Cmd+P)GalleryDemo/ folder in your vault to explore working examples of local sources, external URLs, every view, and Immich and Nextcloud sources backed by public demo servers.Gallery View only makes network requests for sources you configure, or for demo notes you choose to create:
external, immich, immich-share, nextcloud and nextcloud-share sources contact the server in their URL or connection. External image URLs load only when Allow remote images is on.demo-immich.mkshp.dev and demo-nextcloud.mkshp.dev). Create showcase notes asks before adding their connections to your settings. When those notes are open, your IP address reaches that server; access logs are kept for about 14 days. See Try it with the demo servers.picsum.photos when Allow remote images is on.docs.mkshp.dev, the documentation site. This happens once, only when you run one of those commands and leave Download sample photos on in the dialog; the photos are then saved in your vault under GalleryDemo/Use cases/_photos/. See Use cases.The plugin has no telemetry and sends nothing anywhere else.
# Install dependencies
npm install
# Development build with watching
npm run dev
# Production build
npm run build
# Simple build (MVP version)
npm run build-mvp
obsidian-gallery-plugin/
├── main.js # Compiled plugin
├── manifest.json # Plugin metadata
├── styles.css # Gallery styling
├── package.json # Dependencies
├── tsconfig.json # TypeScript config
└── src/ # Source code
├── main.ts # Main plugin code, lifecycle management
├── models/ # Data models
├── views/ # View components
├── services/ # Core services
└── processors/ # Content processing
Contributions are welcome! Please feel free to:
npm install to install dependenciesnpm run dev for development with auto-rebuildingMIT License — see LICENSE for details.
If this project helps your workflow, consider supporting its development with a ☕