Skip to content

A fast and powerful image browser for Stable Diffusion webui with infinite scrolling and joint search using image parameters. Viewing images in a matter of milliseconds.

License

Notifications You must be signed in to change notification settings

Zerenidel/infinite-image-browsing

 
 

Repository files navigation

Stable Diffusion webui Infinite Image Browsing

View recent updates

Key Features

🔥 Excellent Performance

  • Once caching is generated, images can be displayed in just a few milliseconds.
  • Images are displayed by default using thumbnails with a default size of 256 pixels. You can adjust the size of the thumbnails in the global settings page.

🚶‍♂️ 'Walk' Mode

  • Automatically load the next folder (similar to os.walk), allowing you to browse all images without paging.
  • Tested to work properly with over 27,000 files.

🔍 Image Search & Favorite

  • The prompt, model, Lora, and other information will be converted into tags and sorted by frequency of use for precise searching.
  • Supports tag autocomplete, translation, and customization.
  • Image favorite can be achieved by toggling custom tags for images in the right-click menu.
  • Support for advanced search similar to Google
  • Also supports fuzzy search, you can search by a part of the filename or generated information.
  • Support adding custom search paths for easy management of folders created by the user.

🖼️ View Image & Send To

  • Supports viewing image generation information. Also supported in full-screen preview mode.
  • Supports sending images to other tabs & ControlNet.
  • Support full-screen preview and enable custom shortcut key operations while in full-screen preview mode.
  • Support navigating to the previous or next image in full-screen preview mode by pressing arrow keys or clicking buttons.

💻 Standalone Operation

  • Supports standalone operation without sd-webui.
  • Almost all functions can be used normally.
  • Click here for details.

🌳 Preview based on File Tree Structure & File operations

  • Supports preview based on the file tree structure.
  • Supports basic file operations as well as multi-select deletion/moving.
  • Press and hold Ctrl, Shift, or Cmd to select multiple items.
  • Supports sending files directly to other folders via context menu.
  • Support for automatic refresh

🌐 Multilingual Support

  • Currently supports Simplified Chinese/English/German.
  • If you would like to add a new language, please refer to i18n.ts and submit the relevant code.

🔐 Added support for authentication

  • You just need to create a .env file under the root directory of this extension and enter your key.
  • Then you will be prompted to enter your key when you open the extension.
  • If the authentication fails, all your requests will be rejected.

⌨️ Keyboard Shortcuts

  • Allows for deleting and adding/removing tags, with customizable trigger buttons in the global settings page.

It is strongly recommended to use "Open in new tab", which is much more comfortable than being embedded in Gradio.

If you like this project and find it helpful, please consider giving it a ⭐️. This would be very important for me to continue developing and maintaining this project. If you have any suggestions or ideas, please feel free to raise them in the issue section, and I will respond as soon as possible. Thank you again for your support!

Buy Me a Coffee at ko-fi.com

Preview

image

Image Search

During the first use, you need to click and wait for the index generation. For my case with 20,000 images, it took about 15 seconds (with an AMD 5600X CPU and PCIe SSD). For subsequent uses, it will check whether there are changes in the folder, and if so, it needs to regenerate the index. Usually, this process is very fast.

Image search supports translation, and you need to place a "tags-translate.csv" file in the plugin folder. You can find this file in the issue . Feel free to share files for other languages to facilitate everyone's use. image image

Full Screen Preview

image

In full-screen preview mode, you can also view image information and perform operations on the context menu. It supports dragging, resizing and expanding/collapsing .

20230430_070858.mp4

If you, like me, don't need to view the generation information, you can choose to simply minimize this panel, and all contextual operations will still be available.

image

Right-click menu

image

You can also trigger it by hovering your mouse over the icon in the top right corner.

image

Walk mode

20230409_183837.mp4

Dark mode

image

About

A fast and powerful image browser for Stable Diffusion webui with infinite scrolling and joint search using image parameters. Viewing images in a matter of milliseconds.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 39.7%
  • Vue 29.5%
  • Python 26.2%
  • JavaScript 2.3%
  • SCSS 2.0%
  • HTML 0.3%