diff --git a/Override/ImageResize.php b/Override/ImageResize.php index 3772029..345e6c5 100644 --- a/Override/ImageResize.php +++ b/Override/ImageResize.php @@ -280,6 +280,8 @@ private function getViewImages(array $themes): array return $viewImages; } + + /** * Get unique image index. * @@ -291,7 +293,7 @@ private function getUniqueImageIndex(array $imageData): string ksort($imageData); unset($imageData['type']); // phpcs:disable Magento2.Security.InsecureFunction - return md5(json_encode($imageData)); + return hash('sha256', json_encode($imageData)); } /**