Unfortunately I have not resolved anything.
I have not found the time to venture down the path of debugging which is WAY outside my wheelhouse. I can’t afford to spend time there. I’m very pragmatic with my website work. If it works I use it. If it doesn’t I find a fast solution that works and continue on with my work on content.
I temporarily (I hope) using Envira for new galleries. I switched away from Envira to Foo a while back because it is deeply flawed, but at this point it shows my gallery.