-
I moved my stable-diffusion-webui folder to another location. I didn't realise this would break all the setting for this extension, even which images have been tagged as favourites. I assume the iib.db is storing this information using absolute paths, or something? Is there anyway
Any help would be appreciated. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 3 replies
-
I'm sorry, but currently there is no way to recover the existing "liked" images without moving the folder back to its original location. Different paths will be considered as different files, and the extension will remove any inaccessible records. The reason why absolute paths are used is because the sd_webui path supports them, and I personally prefer to keep all images outside of the sd_webui folder. If you need to move the installed location in the future, I can write a script to help you modify the records. |
Beta Was this translation helpful? Give feedback.
-
[Know its old post] But the hash should be in a separate .db file i think, and in global settings you can toggle it on and off, that way it wont have to be loaded when you browse your images (not sure if it would slow down the process). |
Beta Was this translation helpful? Give feedback.
-
I have implemented a solution to address this issue, which involves an automated database file backup mechanism and a migration script. For details, please refer to the following link: https://github.com/zanllp/sd-webui-infinite-image-browsing/wiki/Proper-Folder-Migration-to-Avoid-Data-Loss---%E6%AD%A3%E7%A1%AE%E7%9A%84%E8%BF%81%E7%A7%BB%E6%96%87%E4%BB%B6%E5%A4%B9%E9%81%BF%E5%85%8D%E6%95%B0%E6%8D%AE%E4%B8%A2%E5%A4%B1. |
Beta Was this translation helpful? Give feedback.
I'm sorry, but currently there is no way to recover the existing "liked" images without moving the folder back to its original location. Different paths will be considered as different files, and the extension will remove any inaccessible records. The reason why absolute paths are used is because the sd_webui path supports them, and I personally prefer to keep all images outside of the sd_webui folder.
If you need to move the installed location in the future, I can write a script to help you modify the records.