alexandersokol / sd-model-organizer

model organizer extension for stablediffusion-web-ui
94 stars 13 forks source link

[Feature Request] Show additional local image files of a model on "Details" page #94

Open themandroid opened 3 months ago

themandroid commented 3 months ago

Hi there! Thanks for providing this cool plugin for automatic1111. I have one feature request which would make things that much easier for me.

Background: I have a large collection of LORAs which I would like to manage with your plugin. For each LORA, I not only have the "normal" metadata and one thumbnail image file obtained by using the "civitai helper" plugin, but also some additional, local preview images that I manaully saved. I often need those additional images to get a better, quick overview of what a LORA is doing (one image is rarely enough). They reside in the same folder as the lora itself and include its name:

example.safetensors example_02.png example_03.jpg example_055.jpeg etc.

The problem: Currently, there is no easy way to see an overview of the metadata of a LORA and at the same time see all local preview images. Automatic1111 offers no support for more than 1 thumbnail. There are other plugins (like e.g. "Model Previews") which can be used to preview local images, but that model does not offer a "model card overview" as your plugin does.

Feature Request: Could you add a function that automatically scans for additional preview images that share / include the LORA's name and display those as (enlargable) thumbnails when viewing the "Details" view?

Any response would be much appreciated!

Learwin commented 2 months ago

Hi. I'm currently working on a massive update and noticed your suggestion. I had something planned like this and it's going along quite well. The idea is that every model can now have any amount of images linked to it. So when importing you can select multiple images from the author for example. You'll also be able to attach local images. I'll consider on the autodetect feature but will most likely make it a setting you can enable.

themandroid commented 2 months ago

Wow! Thanks for the response - that would be exactly what I need. I agree that making the auto-detection an optional setting would be a wise choice - it might not be required by everybody and some people might even prefer to only have "1 preview image per model" to keep things concise. Looking forward to the next release of your plugin! :-)