You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Sort by Name, Date Modified, or try Random sort for inspiration.
18
-
* Support for multiple images per LoRA/model/etc in a [modal gallery](#modal). Hover over a card & click the folder icon.
18
+
* Support for multiple images per LoRA/model/etc in a [modal gallery](#modal) (including filename [search](#search)). Hover over a card & click the folder icon.
19
19
* Support for [displaying a companion .txt file](#modal) to store descriptions, notes, and prompts. Hover over a card & click the document icon.
20
+
*[Gallery](#modal) tab for arbitrary image folders, such as saved generation results.
20
21
21
22
<br />
22
23
@@ -52,7 +53,7 @@ cd ../app && npm install
52
53
53
54
Then add content:
54
55
55
-
- Populate the folders in `api/networks/` with your files: `lora`, `checkpoints`, `embeddings`, `hypernets`, and `styles`.
56
+
- Populate the folders in `api/networks/` with your files: `lora`, `checkpoints`, `embeddings`, `hypernets`, `styles`, and `gallery`.
56
57
- Edit `api/networks/styles.csv` with *(only)*`name,prompt` on the first line, and your styles (following the format shown [below](#styles)) on the subsequent lines.
Filenames following the suggested naming convention are ***optional***, but to get the full convivence of the Extra Network Browser, the following format is suggested:
With matching files of the same name ending in **.jpeg** in the same folder, max height 336px. *(Width is auto-cropped to center at 224px)*
96
+
Or simply:
97
+
```
98
+
My-LoRA.safetensors
99
+
```
100
+
101
+
and a matching file of the same name ending in **.jpeg** (e.g. ```My-LoRA.jpeg```) in the same folder for the preview. Max height is auto-sized to 336px, width is auto centered at a max 224px.
102
+
103
+
#### Additional Images
96
104
<aid="modal"></a>
97
-
Saving additional images as `filename. (1).jpeg`, `filename. (2).jpeg` and so on will populate a modal gallery popup. You can then navigate to the prev / next network card with the left / right arrow keys while the modal is open.
105
+
*Option 1:*<br/>
106
+
Saving additional images as `My-LoRA. (1).jpeg`, `My-LoRA. (2).jpeg` and so on will populate a modal gallery popup. You can then navigate to the prev / next network card with the left / right arrow keys while the modal is open.
98
107
99
108
To quickly rename a batch of images in this pattern in Windows, select multiple images, then rename them as `filename..jpeg` (two dots) -- windows will automatically add ` (1)`, ` (2)` and so on.
100
109
101
-
Finally, add a `filename.txt` file in the same folder for a quick info modal. Great for storing descriptions, notes, and sample prompts. You can switch between the modal gallery and the modal notes with the up / down arrow keys while the modal is open.
110
+
*Option 2:*<br/>
111
+
Make additional subfolders with the same name as the model, and place .jpegs inside with any name you'd like.<br/>
112
+
e.g. `api/networks/lora/My-LoRA/file123.jpg`
113
+
114
+
Finally, you can add a `filename.txt` file in the same folder for a quick info modal. Great for storing descriptions, notes, and sample prompts. You can switch between the modal gallery and the modal notes with the up / down arrow keys while the modal is open.
115
+
116
+
**Note: Use the full matching filename, minus extension, of the related model/item.**
The Gallery tab *("G")* looks for *subfolders* inside the `api/networks/gallery/` folder and displays a card for each, using a .jpeg matching the folder name in the `/gallery`.
235
+
Examples:
236
+
```
237
+
api/networks/gallery/saved-images/ # Gallery folder with images
Searching in field at the top will filter the results of the tab you are in: LoRAs / Models / Styles / Gallery, and etc.
247
+
248
+
You can further drill-down to the *"additional images"* in the [modal gallery](#modal) using a **`>`** character followed by a filename found *inside* of one of the results
249
+
250
+
Examples:
251
+
```
252
+
Watercolor # Filters tab to Watercolor-Lora, Watercolor_v2, etc
253
+
Watercolor > 2024 # Filters to individual images inside Watercolor-Lora, Watercolor_v2, etc with filenames containing "2024"
254
+
>2024 # Filters to any filename containing '2024' in any LoRA/model/style/etc in the tab.
0 commit comments