<?php use at\fanninger\kirby\extension\webhelper\WebHelper; ?> <div class="<?php WebHelper::snippetAttribute($data, 'class'); ?> "> <?php WebHelper::snippetAttribute($data, 'images'); ?> </div>
} if (strlen($data[ImageExtImage::ARRAY_ATTR][ImageExtImage::PARA_IMG_ALT]) > 0) { echo ' alt="' . $data[ImageExtImage::ARRAY_ATTR][ImageExtImage::PARA_IMG_ALT] . '"'; } if (strlen($data[ImageExtImage::ARRAY_ATTR][ImageExtImage::PARA_IMG_TITLE]) > 0) { echo ' title="' . $data[ImageExtImage::ARRAY_ATTR][ImageExtImage::PARA_IMG_TITLE] . '"'; } ?> /> <?php if (strlen($data[ImageExtImage::ARRAY_ATTR][ImageExtImage::PARA_LINK_URL]) > 0) { ?> </a> <?php } ?> <?php if (strlen(WebHelper::snippetAttribute($data, 'figure_caption')) > 0) { ?> <figcaption> <?php WebHelper::snippetAttribute($data, 'figure_caption'); ?> </figcaption> <?php } if (strlen(WebHelper::snippetAttribute($data, 'figure_caption')) > 0) { ?> </figure> <?php }