discourse-legacysite-perl/site/articles/include_detailed_photo.html
2024-06-17 22:24:05 +10:00

23 lines
718 B
HTML

<div class="detail_text"i>
<p><%Paragraph1%></p>
<%~set count = 0%>
<%~loop 1 .. 20%>
<%~set count += 1%>
<%~set image_path = Plugins::UI::retrieve_param("Image_largest_path", $loop_value)%>
<%~set description = Plugins::UI::retrieve_param('Image_description', $loop_value)%>
<%~if image_path%>
<p>
<img src="<%image_path%>" class="img-responsive" />
</p>
<%~if count == 1%>
<div class="clearfix">
<a href="<%Plugins::UI::slideshow_url($detailed_url)%>" class="float-right uppercase">Slideshow<i class="sprite-gallery"></i></a>
</div>
<%~endif%>
<%~endif%>
<%~if description%>
<p><%description%></p>
<%~endif%>
<%~endloop%>
</div>