Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
image.phtml
Go to the documentation of this file.
1 <?php
6 ?>
7 <?php ?>
8 
9 <img class="photo image"
10  <?= /* @escapeNotVerified */ $block->getCustomAttributes() ?>
11  src="<?= /* @escapeNotVerified */ $block->getImageUrl() ?>"
12  width="<?= /* @escapeNotVerified */ $block->getWidth() ?>"
13  height="<?= /* @escapeNotVerified */ $block->getHeight() ?>"
14  alt="<?= /* @escapeNotVerified */ $block->stripTags($block->getLabel(), null, true) ?>" />
$block
Definition: block.php:8
if($block->getLink()) line height
Definition: email.phtml:11