Incredible, thank you. I really appreciate helping to take the time to get it right. It appears that indeed was the magic solution to all of the problems.
I have two very small other issues that I'd love your help with while you're here, and then I'll leave you alone until I tackle the next big step: how to get images uploaded by the user. 😛
On my embed gallery, it is showing the path at the top (ie., home > folder). On your sample, that isn't there - it's just a clean gallery. Is there a line of code I need to add to remove this?
Also, I'm having a small display issue: I've selected --embed-border-radius: 5px; but this seems to only apply the radius to the top and not the bottom for some reason.
Thank you again, you have been fantastic.