From 75e70a7854b41a4f46657b3ea173eb2c3706be4d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=B8=8D=E4=BC=9A=E7=94=BB=E7=94=BB=E7=9A=84=E4=B8=AD?= =?UTF-8?q?=E5=8C=BB=E4=B8=8D=E6=98=AF=E5=A5=BD=E7=A8=8B=E5=BA=8F=E5=91=98?= Date: Mon, 24 Oct 2022 14:28:25 +0800 Subject: [PATCH 1/7] Update README.md --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index fe2b860..a67820a 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # stable-diffusion-webui-images_browse -an images browse for stable-diffusion-webui +This an extension for [stable-diffusion-webui]() + +This an images browser for browsing past generated pictures, view their generated infomations,send the prompt to txt2img or img2img, collect images to your "faveries" fold, and browse images in any fold in your computer From 22b8a5fd65371bc6441a4407a76f25bc114c042b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=B8=8D=E4=BC=9A=E7=94=BB=E7=94=BB=E7=9A=84=E4=B8=AD?= =?UTF-8?q?=E5=8C=BB=E4=B8=8D=E6=98=AF=E5=A5=BD=E7=A8=8B=E5=BA=8F=E5=91=98?= Date: Mon, 24 Oct 2022 14:29:02 +0800 Subject: [PATCH 2/7] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index a67820a..55f937b 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ # stable-diffusion-webui-images_browse -This an extension for [stable-diffusion-webui]() +This an extension for [stable-diffusion-webui](https://github.com/AUTOMATIC1111/stable-diffusion-webui) This an images browser for browsing past generated pictures, view their generated infomations,send the prompt to txt2img or img2img, collect images to your "faveries" fold, and browse images in any fold in your computer From 69f9622851456b447cb5b66b990b80050a8752f0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=B8=8D=E4=BC=9A=E7=94=BB=E7=94=BB=E7=9A=84=E4=B8=AD?= =?UTF-8?q?=E5=8C=BB=E4=B8=8D=E6=98=AF=E5=A5=BD=E7=A8=8B=E5=BA=8F=E5=91=98?= Date: Mon, 24 Oct 2022 14:35:13 +0800 Subject: [PATCH 3/7] Update README.md --- README.md | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 55f937b..9faac06 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,14 @@ # stable-diffusion-webui-images_browse This an extension for [stable-diffusion-webui](https://github.com/AUTOMATIC1111/stable-diffusion-webui) -This an images browser for browsing past generated pictures, view their generated infomations,send the prompt to txt2img or img2img, collect images to your "faveries" fold, and browse images in any fold in your computer +This an images browser for browsing past generated pictures, view their generated infomations,send the prompt to txt2img or img2img, collect images to your "faveries" fold, and browse images in any folds in your computer + +run command + +`git clone https://github.com/yfszzx/stable-diffusion-webui-images-browser /extensions` + +and restart your stable-diffusion-webui, then you can see the new tab "Images Browser" + + [See here for more install details]( https://github.com/AUTOMATIC1111/stable-diffusion-webui/wiki/Extensions) + + From 3f4ef11523b580b9e4859084c6a91dbfd4c44cb0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=B8=8D=E4=BC=9A=E7=94=BB=E7=94=BB=E7=9A=84=E4=B8=AD?= =?UTF-8?q?=E5=8C=BB=E4=B8=8D=E6=98=AF=E5=A5=BD=E7=A8=8B=E5=BA=8F=E5=91=98?= Date: Mon, 24 Oct 2022 14:57:05 +0800 Subject: [PATCH 4/7] Update README.md --- README.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 9faac06..361ffb1 100644 --- a/README.md +++ b/README.md @@ -1,9 +1,10 @@ # stable-diffusion-webui-images_browse This an extension for [stable-diffusion-webui](https://github.com/AUTOMATIC1111/stable-diffusion-webui) -This an images browser for browsing past generated pictures, view their generated infomations,send the prompt to txt2img or img2img, collect images to your "faveries" fold, and browse images in any folds in your computer +This an images browser for browsing past generated pictures, view their generated infomations,send the prompt to txt2img or img2img, collect images to your "faveries" fold, delete the images you no longer need, and you can also browse images in any folds in your computer +![image](https://s6.jpg.cm/2022/10/24/PJjuZt.png) -run command +run command to install: `git clone https://github.com/yfszzx/stable-diffusion-webui-images-browser /extensions` From fa9ecb362cf32bdc0f2f28803ef61838cc9dc9d2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=B8=8D=E4=BC=9A=E7=94=BB=E7=94=BB=E7=9A=84=E4=B8=AD?= =?UTF-8?q?=E5=8C=BB=E4=B8=8D=E6=98=AF=E5=A5=BD=E7=A8=8B=E5=BA=8F=E5=91=98?= Date: Mon, 24 Oct 2022 21:45:16 +0800 Subject: [PATCH 5/7] Update README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 361ffb1..6af4376 100644 --- a/README.md +++ b/README.md @@ -4,9 +4,9 @@ This an extension for [stable-diffusion-webui](https://github.com/AUTOMATIC1111/ This an images browser for browsing past generated pictures, view their generated infomations,send the prompt to txt2img or img2img, collect images to your "faveries" fold, delete the images you no longer need, and you can also browse images in any folds in your computer ![image](https://s6.jpg.cm/2022/10/24/PJjuZt.png) -run command to install: +go to the directory /extensions and run command to install: -`git clone https://github.com/yfszzx/stable-diffusion-webui-images-browser /extensions` +`git clone https://github.com/yfszzx/stable-diffusion-webui-images-browser ` and restart your stable-diffusion-webui, then you can see the new tab "Images Browser" From 3a8807aa7e59e607c8c0f90fe52eef6e842adca0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=B8=8D=E4=BC=9A=E7=94=BB=E7=94=BB=E7=9A=84=E4=B8=AD?= =?UTF-8?q?=E5=8C=BB=E4=B8=8D=E6=98=AF=E5=A5=BD=E7=A8=8B=E5=BA=8F=E5=91=98?= Date: Mon, 24 Oct 2022 21:45:42 +0800 Subject: [PATCH 6/7] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 6af4376..7872ace 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ This an extension for [stable-diffusion-webui](https://github.com/AUTOMATIC1111/ This an images browser for browsing past generated pictures, view their generated infomations,send the prompt to txt2img or img2img, collect images to your "faveries" fold, delete the images you no longer need, and you can also browse images in any folds in your computer ![image](https://s6.jpg.cm/2022/10/24/PJjuZt.png) -go to the directory /extensions and run command to install: +go to the directory \/extensions and run command to install: `git clone https://github.com/yfszzx/stable-diffusion-webui-images-browser ` From e7c9776c367f78ccbf5793ac4359d1e8e40bb704 Mon Sep 17 00:00:00 2001 From: ddPn08 <71378929+ddPn08@users.noreply.github.com> Date: Tue, 25 Oct 2022 20:45:40 +0900 Subject: [PATCH 7/7] do not force relative paths in image browser --- scripts/images_history.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/images_history.py b/scripts/images_history.py index 9228e22..70a15e0 100644 --- a/scripts/images_history.py +++ b/scripts/images_history.py @@ -237,7 +237,7 @@ def show_images_history(tabname): if not custom_dir: d = dir_name.split("/") - dir_name = d[0] + dir_name = "/" if dir_name.startswith("/") else d[0] for p in d[1:]: dir_name = os.path.join(dir_name, p) if not os.path.exists(dir_name):