If you see the error
Something went wrong while generating the thumbnails: module 'PIL.Image' has no attribute 'ANTIALIAS'
and you are trying to use Simple Photo Gallery, try running:
pip install Pillow==9.5.0
This is because there is a library dependency.
For more details: https://stackoverflow.com/questions/76616042/attributeerror-module-pil-image-has-no-attribute-antialias