Update GalleryImageController.php