updated webservice for hotel images

This commit is contained in:
Shreesh Arora
2022-12-22 20:00:53 +05:30
parent fc3912d24e
commit cd2aa80b69
8 changed files with 76 additions and 14 deletions

View File

@@ -317,7 +317,7 @@ class AdminFeaturesModuleSettingController extends ModuleAdminController
if (file_exists($imgPath)) {
unlink($imgPath);
}
$imageSize = ImageType::getTypeByName(ImageType::getFormatedName('large'));
$imageSize = ImageType::getByName(ImageType::getFormatedName('large'));
ImageManager::resize(
$file['tmp_name'],
$imgPath,