Skip to content

Conversation

@psychedelicious
Copy link
Contributor

Filters existing images when adding new images; Fixes #1085:

  • If the image-to-be-added's URL and mtime (which are hopefully unique) match another image in the gallery, do not add it to the gallery

This is a simple fix, avoiding any socket.io per-user stuff, only intended to prevent images from duplicating when new tabs/clients of the web UI are opened.

@psychedelicious psychedelicious force-pushed the fix-multiple-gallery-images branch from ca1914b to f549286 Compare October 20, 2022 00:16
Copy link
Collaborator

@lstein lstein left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good.

@lstein lstein merged commit 213e12f into invoke-ai:development Oct 20, 2022
@psychedelicious psychedelicious deleted the fix-multiple-gallery-images branch October 25, 2022 22:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants