Update site/gallery.php