Code Snippets: Photo Gallery
Allows the owner of a website to maintain an image gallery. This module takes a lot of the work out of building an online image gallery. It takes the uploaded image and creates two copies, a small, high quality preview, and a web friendly copy. The original is discarded.
In short, this module creates a table of replaceable images.
Features
- High quality previews.
- Web friendly file formatting.
- Optional text captioning with text size settings.
- A variable number of columns and rows.
User Documentation
Deemed unnecessary.
Code
- The parameters for the dynamic photo table must be set within the opening clearsite tag.
- The table of funky background colors inside the clearsite tags is for page preview purposes.
<clearsite:hidden module="phototable" name="phototable1" width="100%" border="6"
cellspacing="6" cellpadding="5" defaultcolumns="4" defaultrows="3"
cellalign="center">
<table width="100%" border="6" cellspacing="6" cellpadding="5">
<TR>
<TD bgcolor="red"> </TD>
<TD bgcolor="blue"> </TD>
<TD bgcolor="green"> </TD>
<TD bgcolor="red"> </TD>
</TR>
<TR>
<TD bgcolor="red"> </TD>
<TD bgcolor="blue"> </TD>
<TD bgcolor="green"> </TD>
<TD bgcolor="red"> </TD>
</TR>
<TR>
<TD bgcolor="red"> </TD>
<TD bgcolor="blue"> </TD>
<TD bgcolor="green"> </TD>
<TD bgcolor="red"> </TD>
</TR>
</table>
</clearsite:hidden>