Really appreciate this - I had a gallery working on a previous version of a VN and the new Python setup totally screwed it over, and very little I looked up managed to fix it. One snag I'm running into is that the images I had were locked by a persistent variable (if you got a certain game ending) which had previously been marked as "condition." There's 20 of these images, so I'm banging my head against a blanket check for all of them. Any insights would be highly appreciated!
Viewing post in Easy Ren'Py Image and Replay Gallery comments
I'm sure it could be done that way, but if you're using my gallery just do a
show galleryimage
hide galleryimage
instead of setting a persistent.variable the image is not displayed and it gets unlocked in my gallery, you can do this multiple time to unlock more than one image at a time.
show galleryimage1
hide galleryimage1
show galleryimage2
hide galleryimage2