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

Nice Gallery

konfetigrkonfetigr88 downloads

Convert code blocks with ![[images]] into interactive galleries.

Add to Obsidian
  • Overview
  • Scorecard
  • Updates2
Языки: 🇬🇧 [English](README.md)

Русская версия

Image Gallery & Viewer Plugin for Obsidian

A simple image gallery and viewer plugin for Obsidian that transforms how you view and organize images in your notes. Features responsive galleries, advanced image viewing with zoom and pan, and seamless mobile support.


Differences from Competitors

The main distinction from similar plugins is that you can create a gallery within a specific note based on the attachments that have already been added. In other plugins I found, you are prompted to select a folder containing images from which a magnificent gallery will be generated. This is particularly useful when you have a large knowledge base without folder-based organization.


Nice Gallery Readme-1767434763975

Nice Gallery Readme-1767434848132


Nice Gallery Readme-1767435038425


✨ Features

🖼️ Gallery Blocks

  • Create simple image galleries using markdown code blocks
  • Responsive grid layout with adaptive columns for desktop, tablet, and mobile
  • Customizable gap sizes and maximum columns per screen size
  • Click any image to open in full-screen viewer

📱 Mobile Optimized

  • Touch-friendly controls
  • Mobile swipe gestures for navigation
  • Adaptive layouts for different screen sizes
  • Optimized touch interactions

⚙️ Customizable Settings

  • Adjust maximum columns for desktop, tablet, and mobile
  • Customize gap sizes between images
  • Custom keyword for the code block. By default "gallery".
  • Responsive design that adapts to your settings

🚀 Usage

Creating Galleries

Create image galleries using code blocks:

```gallery
![[image1.jpg]]
![[image2.png]]
![[folder/image3.webp]]
![[image4.jpg]]
``

Viewing Single Images

  • Simply click on any standalone image in your notes

Gallery Navigation

  • Desktop: Click arrows or use keyboard arrows
  • Mobile: Swipe left/right on the image

Controls in Viewer

  • Zoom: Mouse wheel, +/- keys, or pinch gestures
  • Pan: Drag when zoomed in
  • Reset: Double-click/tap or press '0'
  • Navigate: Arrow keys, swipe (mobile), or click arrows
  • Close: Click image, or press Escape

Templater script

Select all the images you wish to add to the gallery and run the Templater script, and it will merge them.

<%*
const editor = this.app.workspace.activeEditor?.editor;
if (!editor) return;

const selection = editor.getSelection();

if (selection) {
    const galleryBlock = `\`\`\`gallery\n${selection}\n\`\`\``;
    editor.replaceSelection(galleryBlock);
} else {
    const content = editor.getValue();
    const imageRegex = /!\[\[.*?\]\]/g;
    const images = content.match(imageRegex);
    
    if (images && images.length > 0) {
        const galleryBlock = `\`\`\`gallery\n${images.join('\n')}\n\`\`\``;
        editor.setValue(galleryBlock);
    } else {
        new Notice('No images found in document');
    }
}
%>

📄 License

This project is licensed under the MIT License - see the LICENSE file for details.


Note: This plugin is not officially endorsed by Obsidian. Use at your own risk. Always back up your vault before installing new plugins.


Made with ❤️ for the Obsidian community

86%
HealthExcellent
ReviewSatisfactory
About
Create responsive image galleries inside any note using simple markdown code blocks that pull attachments already in the note. View images in a full-screen, touch-friendly viewer with zoom, pan, swipe navigation and adaptive layouts for desktop and mobile.
ImagesAttachmentsMarkdown
Details
Current version
1.3.3
Last updated
5 months ago
Created
5 months ago
Updates
2 releases
Downloads
88
Compatible with
Obsidian 0.15.0+
Platforms
Desktop, Mobile
License
MIT
Report bugRequest featureReport plugin
Author
konfetigrkonfetigr
github.com/Konfetigr
GitHubkonfetigr
  1. Community
  2. Plugins
  3. Images
  4. Nice Gallery

Related plugins

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.

Ink

Hand write or draw directly between paragraphs using a digital pen, stylus, or Apple pencil.

Local Images Plus

A reincarnation of Local Images to download images in Markdown notes to local storage.

Consistent Attachments and Links

Move note attachments and update links automatically.

Paste image rename

Rename image after pasting, support name pattern and auto renaming.

Image auto upload

Upload images from your clipboard by PicGo.

Imgur

Upload images from your clipboard to imgur.com and embeds uploaded image to your note.

Image Captions

Add captions to images with inline Markdown and link support. The caption format is compatible with the Commonmark spec and other Markdown applications.

JotBird

Publish notes as shareable web pages with one click. No account required.

Importer

Import data from Notion, Evernote, Apple Notes, Microsoft OneNote, Google Keep, Bear, Roam, and HTML files.