Skip to content

Instantly share code, notes, and snippets.

Miguel Felipe Calo azamanaza

Block or report user

Report or block azamanaza

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
azamanaza / m2-get-product-image
Created Sep 12, 2018
Magento2 - Rendering Product Image
View m2-get-product-image
@param \Magento\Catalog\Block\Product\ImageBuilder $imageBuilder
@param \Magento\Catalog\Model\Product $product
@param string $imageTypeId (product_base_image | product_page_image_medium)
$imageHtml = $imageBuilder->setProduct($product)
You can’t perform that action at this time.