sd-civitai-browser-plus
sd-civitai-browser-plus copied to clipboard
[Bug]: Images are limited to 10
Describe the bug.
When searching and selecting a model. It will only display a list of 10 images.
When clicking "Save Images" or "Automatically save all images" It will only save 10 images.
If you look at https://civitai.com/api/v1/models/616923
you will see 16 images. However the browser stops after 10. This is consistent with every model I have tried.
Steps to reproduce the problem.
- Set API Key
- Check NSFW Content
- Search and select model
- Click Save Images
Expected behavior
All sample images should be downloaded.
System info
- Extension version: 0b97a482
- OS: Windows 11 x64
- SD-WebUI version: v1.10.1-4-g48239090
- Python: 3.11.9
Additional information
I have also noticed downloaded images are jpg
, however if you look at the file headers they are png
If I go to the following:
https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/d333905b-1493-46b6-8024-2fe67e322807/22393429.jpeg
Looking at the response headers it shows content-type: image/png
you can probably leverage import filetype
to determine the correct filetype.
I noticed when the extension downloads .preview.png
it has a width of 800, but civitai reports it having a max size of 768.