Sorry... got distracted. Try this version: https://drive.google.com/file/d/10FM6Q1yFfLeaaNRc4lh8EmsjE99TG7nf/view?usp=shari...
To use it, you'll need to put images in subfolders by the name you want. The folder name will be used as the gallery folder name, case-sensitively.
For example, do something like:
- images/bobcgallery/Eileen/eileen0.png
- images/bobcgallery/whatever/Eileen/eileen1.png
- images/bobcgallery/Adam/adam0.png
- images/bobcgallery/other/Adam/adam1.png
This version doesn't support the manually-defined images, and CG names are still unique by actual filename (so don't have cg0.png in both /Eileen and /Adam, for example).