Fix the image gallery