Doesn't happen to me, and with this all I'm trying to say is, the gallery code is really bad and generates random errors that are hard to troubleshoot. I'm actively looking for a replacement but because our community software is relatively new, there aren't many good options if we wanted to switch right away.
I'm afraid we'll have to live with the gallery as is for a few more months until we ditch it for something more useful and less buggy.
Thank you for your feedback Dustin.
Actually I see the same thing too, it is the same type of underlying issue as causes the problems reported in this thread:
I get the bad gateway too, I think clicking on some picture too.