by Devansh Jhawar
Keep your vault clean. Automatically route pasted images to a hidden .gallery folder and manage them in a dedicated gallery view.
GalleryView
Keep your vault clean. GalleryView sends pasted images straight into a hidden .gallery/ folder and gives you a dedicated photo gallery inside Obsidian to view, sort, and manage them.
Built by Devansh Jhawar (@ProgrammerDSJ).
Why I Built This
Every time I paste a screenshot or drop an image into my notes, Obsidian dumps the file into my vault root or a visible attachment folder. Over time, the file tree gets completely clogged with dozens of random Pasted image 2026...png files.
I hated having my workspace look messy. Setting up attachment folders manually for every project was annoying, and having images cluttering my note tree was a constant headache.
I wanted something simple:
- Every image I paste or drop should go straight into a hidden
.gallery/folder. - It should never appear in Obsidian's visible file explorer.
- I still want to view, organize, and use my images, so I needed a dedicated Gallery View that reads the hidden folder like a real photo gallery app.
That is why I created GalleryView.
Key Features
1. Zero File Tree Clutter
All pasted and dropped images are stored inside .gallery/. Because of the leading dot, Obsidian completely hides it from the native file explorer. Your note tree stays completely clean.
2. Native Previews Everywhere
Normally, Obsidian cannot resolve links to files inside hidden dot-folders and shows a "could not be found" error. GalleryView uses an in-memory virtual registry so every image resolves natively in Live Preview, Reading View, and Canvas.
3. Dedicated Gallery View Tab
Open the gallery as a full tab, a split leaf, or a floating window. It gives you a clean view of all your images and subfolders with responsive thumbnail cards.
4. Folder & Subfolder Management
Create subfolders like .gallery/Wallpapers or .gallery/Screenshots directly inside the gallery. Move images by dragging them onto folder cards or via the right-click menu.
5. Star Favourites
Click the star icon on any image card to mark it as a favourite. Filter by favourites in one click from the top toolbar.
6. Fullscreen Lightbox
Click any image to open a full modal viewer. Zoom in with mouse wheel or buttons, click and drag to pan around, and navigate through your folder with the Left and Right arrow keys.
7. Quick Image Picker for Notes and Canvas
Run GalleryView: Insert image from gallery from the Command Palette. It opens a visual modal with live thumbnails and fuzzy search so you can find and insert images in seconds.
8. Direct Image Copying
Right-click any card in the gallery and choose "Copy Image to Clipboard" to copy the actual image binary. You can paste it straight into Discord, Photoshop, or your browser without hunting for the file on disk.
How It Works
Copy-Paste or Drag-Drop Image
│
▼
┌───────────────────────────┐
│ GalleryView Interceptor │
│ - Catches image file │
│ - Saves to .gallery/ │
│ - Inserts wikilink │
└─────────────┬─────────────┘
│
┌──────────────┴──────────────┐
▼ ▼
┌───────────────────────┐ ┌───────────────────────┐
│ Obsidian File Tree │ │ Dedicated Gallery App │
│ │ │ │
│ HIDDEN from explorer │ │ - Subfolders │
│ (Zero clutter in root)│ │ - Thumbnail grids │
│ │ │ - Star favourites │
│ │ │ - Lightbox viewer │
└───────────────────────┘ └───────────────────────┘
Installation
Option 1: Community Plugins (Recommended once listed)
- Open Obsidian Settings > Community plugins.
- Make sure Restricted mode is turned off.
- Click Browse and search for GalleryView.
- Click Install, then click Enable.
Option 2: Manual Installation
- Go to the Releases page.
- Download
main.js,manifest.json, andstyles.css. - In your vault directory, go to
.obsidian/plugins/and create a folder namedgalleryview. - Move the downloaded files into
.obsidian/plugins/galleryview/. - In Obsidian, go to Settings > Community plugins and turn on GalleryView.
Option 3: Via BRAT
- Install the Obsidian42 - BRAT community plugin.
- Open the Command Palette (
Ctrl+PorCmd+P). - Run
BRAT: Add a beta plugin for testing. - Enter
ProgrammerDSJ/gallery-view. - Turn on GalleryView under Community plugins.
Usage Guide
Pasting Images
Work on your notes normally. When you press Ctrl+V (or Cmd+V) with an image in your clipboard, GalleryView automatically saves the file into .gallery/ and inserts a standard Obsidian wikilink:
![[Pasted image 20261021 125519.png]]
The image appears in Live Preview and Reading View without showing up in your file tree.
Opening the Gallery
- Click the image icon in the left ribbon.
- Open the Command Palette (
Ctrl+P/Cmd+P) and chooseGalleryView: Open Gallery View. - To open in a popout window, choose
GalleryView: Open Gallery View in new window.
Managing Folders and Images
- Create folder: Click the Folder button in the gallery toolbar.
- Navigate: Double-click folder cards to enter. Use the breadcrumb bar at the top or the Back button to move up.
- Move image: Drag any image card onto a folder card, or right-click and pick Move to Folder....
- Mark favourite: Click the star icon on any image card to favourite it. Click the star in the top toolbar to view only your favourites.
- Fullscreen view: Click any image to open the Lightbox. Zoom with
+/-or mouse wheel, drag to pan, and use Left/Right arrow keys to navigate.
Inserting Images from the Command Palette
When editing any note or canvas:
- Press
Ctrl+P(orCmd+P). - Search for
GalleryView: Insert image from gallery. - Type to filter through all images across
.gallery/with live visual previews. - Press
Enterto insert the selected image at your cursor position.
Settings
Go to Settings > GalleryView to configure:
| Setting | Default | Description |
|---|---|---|
| Gallery Root Folder | .gallery | Hidden folder where all gallery media is saved. |
| Default Attachment Folder | .gallery | Destination folder for new pasted/dropped images. |
| Link Format | Wikilink | Format used when inserting images (![[image.png]] or Markdown). |
| Default Grid Size | Medium | Thumbnail card size in the gallery (Small, Medium, Large). |
| Show Notifications | On | Displays a brief notice when an image is saved to .gallery/. |
Contributing
Contributions, bug reports, and suggestions are welcome.
- Fork the repository.
- Create your feature branch (
git checkout -b feature/cool-idea). - Commit your changes (
git commit -m "feat: add cool idea"). - Push to your branch (
git push origin feature/cool-idea). - Open a Pull Request.
License
This project is licensed under the MIT License. Free to use, modify, and distribute.
For plugin developers
Search results and similarity scores are powered by semantic analysis of your plugin's README. If your plugin isn't appearing for searches you'd expect, try updating your README to clearly describe your plugin's purpose, features, and use cases.