<div id="<?php echo $id; ?>" class="<?php echo $journal3->classes($classes); ?>">
  <button aria-label="Edit" class="admin-edit" type="button" data-edit="<?php echo $edit; ?>"><em class="fa fa-pencil" data-placement="auto" data-toggle="tooltip-hover" data-tooltip-class="admin-edit-tooltip" title="Edit <?php echo $name; ?>"></em></button>
  <?php if ($title): ?>
    <h3 class="title module-title"><?php echo $title; ?></h3>
  <?php endif; ?>
  <div class="module-body">
    <a href="<?php echo $link['href'] ?: 'javascript:;'; ?>" <?php echo $journal3->linkAttrs($link); ?>>
      <?php if ($type != 'icon') { ?>
        <?php if ($journal3->get('performanceLazyLoadImagesStatus') && $lazyLoad): ?>
          <img src="<?php echo $dummy_image; ?>" data-src="<?php echo $image; ?>" <?php if (!empty($image2x)): ?>data-srcset="<?php echo $image; ?> 1x, <?php echo $image2x; ?> 2x" <?php endif; ?> alt="<?php echo $alt; ?>" width="<?php echo $image_width; ?>" height="<?php echo $image_height; ?>" class="lazyload">
        <?php else: ?>
          <img src="<?php echo $image; ?>" <?php if (!empty($image2x)): ?>srcset="<?php echo $image; ?> 1x, <?php echo $image2x; ?> 2x" <?php endif; ?> alt="<?php echo $alt; ?>" width="<?php echo $image_width; ?>" height="<?php echo $image_height; ?>">
        <?php endif; ?>
      <?php } else { ?>
        <em class="image-icon"></em>
      <?php } ?>
    </a>
    <?php if ($caption): ?>
      <span class="image-caption"><?php echo $caption; ?></span>
    <?php endif; ?>
  </div>
</div>
