diff --git a/Controller/Adminhtml/Ajax/RetrieveImage.php b/Controller/Adminhtml/Ajax/RetrieveImage.php index 86c4fb9..c1e4b20 100644 --- a/Controller/Adminhtml/Ajax/RetrieveImage.php +++ b/Controller/Adminhtml/Ajax/RetrieveImage.php @@ -364,11 +364,12 @@ private function getPlaceholderUrl() $configPaths = [ 'catalog/placeholder/image_placeholder', 'catalog/placeholder/small_image_placeholder', + 'catalog/placeholder/thumbnail_placeholder', ]; foreach ($configPaths as $configPath) { if (($path = $this->storeManager->getStore()->getConfig($configPath))) { - //return $this->storeManager->getStore()->getBaseUrl(UrlInterface::URL_TYPE_MEDIA) . 'catalog/product/placeholder/' . $path; - //break; + return $this->storeManager->getStore()->getBaseUrl(UrlInterface::URL_TYPE_MEDIA) . 'catalog/product/placeholder/' . $path; + break; } } return $this->_view->getLayout()->createBlock("Magento\Theme\Block\Html\Header\Logo")->getViewFileUrl('Cloudinary_Cloudinary::images/cloudinary_cloud_glyph_blue.png');