Find function name public function getImage($id_image)
Change:
`'base_image_url' => _THEME_PROD_DIR_ . $imageData->getImgPath(),`
to:
'base_image_url' => '//' . \Configuration::get('ETCLOUDIMAGE_ACCOUNT_DOMAIN') . '/v7/' . $imageData->getImgPath() . '.jpg?w=98&h=98p=',
Find function name public function getImage($object, $id_image)
Remove
$resizedImagePath = implode(DIRECTORY_SEPARATOR, [
$imageFolderPath,
$id_image . '-' . $image_type['name'] . '.' . $ext,
]);
if (!file_exists($resizedImagePath)) {
ImageManager::resize(
$mainImagePath,
$resizedImagePath,
(int) $image_type['width'],
(int) $image_type['height']
);
}