(Answer) (Category) WebGUI FAQ : (Category) Web Design :
Basic Template for Thumbnails
Courtesy of rizen via irc: see it in action at http://www.plainblack.com/wuc/photos
 <a name="<tmpl_var assetId>"></a><tmpl_if session.var.adminOn>
 <p><tmpl_var controls></p>
 </tmpl_if>
 
 <tmpl_if displayTitle>
      <h1><tmpl_var title></h1>
 </tmpl_if>
 
 <tmpl_if description>
     <tmpl_var description>
 </tmpl_if>
 <style>
 #thumbContainer{
        text-align: center;
        margin: 10px auto;
 }
 .thumbnail{
        float: left;
        margin: 5px;
        padding: 3px;
        border: 1px solid #e3e3e3;
 }
 </style>
 
 <tmpl_loop file_loop>
        <div class="thumbnail"><a href="<tmpl_var file.url>"><img src="<tmpl_var thumbnail.url>" border="0" alt="<tmpl_var title>"></a></div>
 
 </tmpl_loop>
 <div style="clear:both;"></div>

wg-fomATgwyDOTorg
[Append to This Answer]
Previous: (Answer) How do I use *my* design in WebGUI?
This document is: http://www.gwy2.org/cgi-bin/fom?file=121
[Search] [Appearance]
This is a Faq-O-Matic 2.719.
This FAQ administered by ... Gerald Young