0
Ich habe diesen Code verwenden in magento 2Wie Miniaturbild in magento 2
$media_url = $storeObj->getStore()->getBaseUrl(\Magento\Framework\UrlInterface::URL_TYPE_MEDIA);
$baseimage = $media_url.'catalog/product' . $_product->getImage();
Output: http://localhost/smithbuy/pub/media/catalog/product/w/d/wd7500aaks.jpg
But, I want
http://localhost/smithbuy/pub/media/catalog/product/cache/1/image/700x700/e9c3970ab036de70892d86c6d221abfe/w/d/wd7500aaks.jpg
Bitte helfen Sie mir zu bekommen.
$ this -> _ imageHelper-> init ($ Produkt, 'product_page_image_small') -> setImageFile ($ image-> getFile()) -> getUrl() etwas Ähnliches wie das Verwenden – oscprofessionals