There is another option, although it retains an element around your image:<a data-sly-element="${image.link ? 'a' : 'div'}" href="${image.link}" class="image-block">
<img src="${image.path}">
</a>If `image.link` is authored, it outputs <a>, else it outputs <div>.Con:the div will have an empty 'h...