Lot's of fixes to image gallery, let's hope that's broken the back of it.