Update image_gallery.php