Build the Album Template

Top  Previous  Next

 

We now have a template that can generate galleries with all its collections / sub collections and photos. The gallery template is a higher level, but is basically identical to the gallery template. As a base you can copy the entire gallery template (header, body and footer) to the portfolio template and then make some adjustments.

 

Album template Header

<html>

<head>

<title>Album - %AlbumName</title>

<link rel=stylesheet href="%CSSFileName" type="text/css">

</head>

 

<body>

 

<center>

 

<table class="main" cellspacing="0" cellpadding="0">

<tr height="100">

   <td>

     <table width="100%">

       <tr>

         <td width="220" align="right">

           %PreviousPageExists

           <a href="%PreviousPageFileName"><img src="%Resource:back"></a>

           %/PreviousPageExists

         </td>

         <td align="center">

           <span class="title">%AlbumName</span><br>

           <span class="subtitle">%Galleries galleries</span><br>

           %AlbumExists

           <a href="%AlbumFileName">back to %AlbumName</a>

           %/AlbumExists          </td>

         <td width="220" align="left">

           %NextPageExists

           <a href="%NextPageFileName"><img src="%Resource:next"></a>

           %/NextPageExists

         </td>

       </tr>

     </table>

   </td>

</tr>

<tr>

   <td height="500" align="center">

     <table>

       <tr height="410">

         <td align="center">

           <table>

 

The modifications are highlighted.

 

Album template Body

%<tr>

<td align="center">

   <a href="%GalleryFileName">

   <img border="0" src="%ThumbFileName" alt="%Collections collection(s)">

   </a>

</td>

%</tr>

 

The modifications are highlighted.

 

Album template Footer

           </table>

         </td>

       </tr>

     </table>

   </td>

</tr>

<tr>

   <td>

     &nbsp;

   </td>

</tr>

</table>

 

</center>

</body>

</html>

 

No modifications required here.