stable-diffusion-webui
stable-diffusion-webui copied to clipboard
Buttons on UI to load previous /next image file from folder , in img2img tab and upscalers tab.
Its pretty overwhelming after awhile when we have thousands of generated images and we load one by one to upscale seeking for particular ones, So i think it would really help if there would be some kind of button on UI that loads next file and another button that loads previous file ( so two buttons next to each other), and we wouldnt have to open file browser for hundreds of times and scrol through files with mouse wheel. After loading first image file we would just use buttons/arrows to move between images in given folder, it woud speedup upscaling workflow and img2img workflow quite alot, generations of images are stacking up pretty quickly.
Javascript has no access to the directory, this is pretty much impossible as the program is now.
I guess this attempt would be too slow ? https://stackoverflow.com/questions/31274329/get-list-of-filenames-in-folder-with-javascript
Like I said this is a path I do not want to go. When you drag picture into browser or select a file in browser for image, the javascript does not get to know what path the image was in. There might be some convoluted way to implement something similar to this if someone really really wants, and it will somewhat work, but I am not going to do that.