Update format-gallery.php