Use gallery_image_tag when displaying images to account for S3 signed URLs