$imagehelper = $objectManager->create('Magento\Catalog\Helper\Image');
$image = $imagehelper->init($_product,'category_page_list')->constrainOnly(FALSE)->keepAspectRatio(TRUE)->keepFrame(FALSE)->resize(400)->getUrl();
<img src="<?php echo $image; ?>">
$image = $imagehelper->init($_product,'category_page_list')->constrainOnly(FALSE)->keepAspectRatio(TRUE)->keepFrame(FALSE)->resize(400)->getUrl();
<img src="<?php echo $image; ?>">
Thanks for the post!
ReplyDeleteeCommerce solution provider in india
Thanks for sharing these. It’s always useful to get pointers to the good blogs out there.
ReplyDeleteMegento User Email Lists offered by Parana Impact will help your organization fill in the blanks in your databases.
Thanks for sharing the valuable information here. Keep sharing more informative articles.
ReplyDeleteMobile application development company
WooCommerce development company chennai
Magento website development company
also use it to promote your latest products and offers or inform people about what your business does. event marketing and corporate event gift ideas
ReplyDelete