sunnyark / civitai-shortcut

140 stars 13 forks source link

Downloading all User Gallery images #75

Open KatieWebb opened 1 year ago

KatieWebb commented 1 year ago

First, I like this extension a lot. I like being able to see user gallery images and their prompts. Very convenient.

To expand on that feature...this might be an insane request and maybe it's already possible, but is there a way to download all the Civitai User gallery images for every model I have automatically? I have a LOT of models and I've been going through each one and letting the gallery images load and automatically download to the sc_gallery folder. I'm NOT clicking the "download images" button. However, saying I have a lot of models is an understatement and it's become tedious to go through each model and wait for the images to download in the shortcut browser tab even though I can use the arrow keys. If it's "easier", maybe have a button that will automatically select through each model and wait for the images to download then select the next, sort of like a macro type thing but an internal code. I'm not a coder, so I don't now how to implement that sort of thing.

Thanks

sunnyark commented 1 year ago

Do you want the user gallery images of registered models to be automatically downloaded, or do you want only the user gallery images of the selected model to be automatically downloaded? The current page is automatically downloaded to the sc_gallery folder, serving as a cache. When you click the download button, the images are saved in the outputs\download-images folder. The reason for not automatically downloading all user gallery images to outputs\download-images is to prevent indiscriminate downloading of images. We appreciate your understanding regarding this matter.

KatieWebb commented 1 year ago

I wanted all registered gallery image to be cached without having to click through each model.

sunnyark commented 1 year ago

Caching all models in advance poses significant challenges in terms of storage capacity and traffic. There's also the issue of constantly needing to update them. I also implemented a routine to preload the next page to address the slow loading issue, but it didn't result in significant improvement, so we removed it. We'll think about it more.

lllllllllllllllllllllllll commented 11 months ago

I second this request. Just like we have the handy feature of scanning and downloading model information along with a cover image for every model in the user folder, it would be very useful to have a setting to download a number of images from the model's user gallery as an option, set to off by default of course. The setting could go from 1 extra image to 99 or something with an option to download all instead.

It could save a lot of manual work having to do this in the model browser for each lora the user downloaded.