Fix for image sizing in gallery show.