Skip to content

Commit

Permalink
в галерее кликабельны все картинки
Browse files Browse the repository at this point in the history
  • Loading branch information
maxcom committed Oct 8, 2023
1 parent 0f9a9c6 commit c493908
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/webapp/WEB-INF/tags/image.tag
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
<figure class="medium-image"
style="position: relative; padding-bottom: ${ 100.0 * image.mediumInfo.height / image.mediumInfo.width }%; margin: 0"
<c:if test="${enableSchema}">itemprop="associatedMedia" itemscope itemtype="http://schema.org/ImageObject"</c:if>>
<c:if test="${image.fullInfo.width >= 1920 || image.fullInfo.height >= 1080}">
<c:if test="${preparedMessage.section.imagepost || image.fullInfo.width >= 1920 || image.fullInfo.height >= 1080}">
<a href="${image.fullName}" itemprop="contentURL">
</c:if>
<img
Expand All @@ -40,7 +40,7 @@
sizes="100vw" style="position: absolute"
${image.mediumInfo.code}>
<meta itemprop="caption" content="${preparedMessage.message.title}">
<c:if test="${image.fullInfo.width >= 1920 || image.fullInfo.height >= 1080}">
<c:if test="${preparedMessage.section.imagepost || image.fullInfo.width >= 1920 || image.fullInfo.height >= 1080}">
</a>
</c:if>
</figure>
Expand Down

0 comments on commit c493908

Please sign in to comment.