10381 Posts in 2195 Topics by 1711 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 923 Views |
-
Extending Image Gallery template

20 April 2010 at 9:33pm Last edited: 21 April 2010 2:47pm
<div id="album-list">
<ul>
<% control Albums %>
<li>
<div class="defaultImage">
<a href="$Link" title="$Title">
<% if CoverImage %>
<% control FormattedCoverImage %>
<img src="$URL" alt="" />
<% end_control %>
<% else %>
<span class="no-image"></span>
<% end_if %>
</a>
<% control GalleryItems(3) %>
$GalleryItem test
<% end_control %>
</div>
<div class="galleryDetails">
<h4>$ProjectCode <a href="$Link" title="$Title">$AlbumName</a> ($ImageCount photos)</h4>
<div class="galleryDescription">$Description.LimitWordCount(60)</div>
<p>Related M Moser office: $MMoserOffice</p>
</div>
</li>
<% end_control %>
</ul>
</div>Instead of using the Album Image, I was to use the first 3 images from the actual Album
-
Re: Extending Image Gallery template

21 April 2010 at 2:47pm Last edited: 21 April 2010 2:48pm
<% control Albums %>
<% control ImageGalleryPage %>
<% control GalleryItems(3) %>
$GalleryItem
<% end_control %>
<% end_control %>
<% end_control %>
Ok the above code show the first 3 images, but how do I get the current looped Album?
| 923 Views | ||
|
Page:
1
|
Go to Top |

