Update frontend/extensions/galery/GaleryComponent.php