An open API service indexing awesome lists of open source software.

https://github.com/dwqs/svg-gallery

Browse SVG/PNG/JPEG/WebP images in a visual gallery with search, theme switching, size adjustment, and SVGO compression
https://github.com/dwqs/svg-gallery

cursor-extension images-gallery svg svg-compressor svg-gallery svgo vscode-extension

Last synced: about 2 months ago
JSON representation

Browse SVG/PNG/JPEG/WebP images in a visual gallery with search, theme switching, size adjustment, and SVGO compression

Awesome Lists containing this project

README

          

# SVG Gallery

Browse SVG/PNG/JPEG/WebP images in a visual gallery with search, theme switching, size adjustment, and SVGO compression.

![demo](https://static-app.bb-os.com/im_files/20260411/6dcb05e6059cfbfba69e12c6e5ec084e.gif)

## Features

- **Multi-format preview** — SVG, PNG, JPEG, WebP
- **Search filter** — real-time filtering by file name
- **Size adjustment** — slider to resize previews (24px–160px)
- **Light / Dark theme** — toggle via toolbar button, defaults to dark
- **SVGO compression** — compress single or batch SVG files with one click
- **Quick actions** — copy name, copy path, view source / open file

## Installation

### Cursor

Search `SVG Gallery` in the Extensions Marketplace and click **Install**, or install from the command line:

```bash
cursor --install-extension dwqs.svg-gallery
```

You can also install it from [Open VSX](https://open-vsx.org/extension/dwqs/svg-gallery):

1. Click the **Download** button on the right side to download the .vsix file
2. Open Cursor, press `Cmd+Shift+P` and run `Extensions: Install from VSIX...`
3. Select the downloaded .vsix file to install

### VS Code

Search `SVG Gallery Viewer` in the Extensions Marketplace and click **Install**, or install from the command line:

```bash
code --install-extension dwqs.svg-gallery-viewer
```

You can also install it from [VS Marketplace](https://marketplace.visualstudio.com/items?itemName=dwqs.svg-gallery-viewer).

## Usage

### Command Palette

`Cmd+Shift+P` → `SVG Gallery: Open` → select a folder containing images.

### Explorer Context Menu

Right-click any folder in the Explorer sidebar → `SVG Gallery: Open`.

## License

MIT