Fix images in gallery