updated the hotel interior and hotel amenitites image upload sizes

This commit is contained in:
vishalsingh.qlo325
2024-08-26 19:55:52 +05:30
parent a85dc2513b
commit 3ac4e8622f
2 changed files with 4 additions and 6 deletions

View File

@@ -320,12 +320,11 @@ class AdminFeaturesModuleSettingController extends ModuleAdminController
if (file_exists($imgPath)) {
unlink($imgPath);
}
$imageSize = ImageType::getByName(ImageType::getFormatedName('large'));
ImageManager::resize(
$file['tmp_name'],
$imgPath,
$imageSize['width'],
$imageSize['height']
720,
540
);
}