[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gallery-checkins
Subject:    [Gallery-checkins] CVS: gallery/html_wrap inline_gallerythumb.frame.default,NONE,1.1
From:       Chris Smith <jackodog () users ! sourceforge ! net>
Date:       2002-03-22 9:33:25
[Download RAW message or body]

Update of /cvsroot/gallery/gallery/html_wrap
In directory usw-pr-cvs1:/tmp/cvs-serv29942/html_wrap

Added Files:
	inline_gallerythumb.frame.default 
Log Message:
now album highlights on mail page are drawn with html_wrap frame

--- NEW FILE ---
<?
//-- draw an 11x11 table which looks like three stacked sheets of paper.
//-- This uses the album's border colori/size to draw.

//-- shorten the variables for convinience ---
$borderWidth = $gallery->html_wrap['borderWidth'];
$borderColor = $gallery->html_wrap['borderColor'];
$pixelImage = $gallery->html_wrap['pixelImage'];
$thumbWidth = $gallery->html_wrap['thumbWidth'];
$thumbHeight = $gallery->html_wrap['thumbHeight'];
$tag = $gallery->html_wrap['thumbTag'];
$href = $gallery->html_wrap['thumbHref'];
?>
<table width="1" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td width="<?= $borderWidth ?>" height="1"><img src="<?= $pixelImage ?>" \
width="<?= $borderWidth ?>" height="1"></td>  <td width="1" height="1"><img src="<?= \
$pixelImage ?>" width="2" height="1"></td>  <td width="1"><img src="<?= $pixelImage \
?>" width="1" height="1"></td>  <td width="1"><img src="<?= $pixelImage ?>" width="2" \
height="1"></td>  <td width="1"><img src="<?= $pixelImage ?>" width="1" \
height="1"></td>  <td width="<?= $thumbWidth ?>"><img src="<?= $pixelImage ?>" \
width="1" height="1"></td>  <td width="<?= $borderWidth ?>"><img src="<?= $pixelImage \
?>" width="<?= $borderWidth ?>" height="1"></td>  <td width="4"><img src="<?= \
$pixelImage ?>" width="4" height="1"></td>  <td width="1"><img src="<?= $pixelImage \
?>" width="1" height="1"></td>  <td width="4"><img src="<?= $pixelImage ?>" width="4" \
height="1"></td>  <td width="1"><img src="<?= $pixelImage ?>" width="1" \
height="1"></td>  </tr>
  <tr>
    <td colspan="7" 
        bgcolor="<?= $borderColor ?>" 
        height="<?= $borderWidth ?>"><img src="<?= $pixelImage ?>" width="1" \
height="<?= $borderWidth ?>"></td>  <td colspan="4"><img src="<?= $pixelImage ?>" \
width="1" height="1"></td>  </tr>
  <tr>	
    <td rowspan="5"
        bgcolor="<?= $borderColor ?>" 
        height="1"><img src="<?= $pixelImage ?>" width="1" height="1"></td>
    <!-- thumbnail cell -->
    <td colspan="5"
        rowspan="5"
        width="<?= $thumbWidth ?>" height="<?= $thumbHeight ?>"><a href="<?= $href \
?>"><?= $tag ?></a></td>  <!-- thumbnail cell -->
    <td rowspan="5" 
        bgcolor="<?= $borderColor ?>"
        height="1"><img src="<?= $pixelImage ?>" width="1" height="1"></td>
    <td colspan="4"
        height="1"><img src="<?= $pixelImage ?>" width="1" height="1"></td>
  </tr>
  <tr>
    <td colspan="2" 
        bgcolor="<?= $borderColor ?>" 
        height="1"><img src="<?= $pixelImage ?>" width="1" height="1"></td>
    <td colspan="2"><img src="<?= $pixelImage ?>" width="1" height="1"></td>
  </tr>
  <tr>
    <td height="1"><img src="<?= $pixelImage ?>" width="1" height="1"></td>
    <td bgcolor="<?= $borderColor ?>"><img src="<?= $pixelImage ?>" width="1" \
height="1"></td>  <td colspan="2"><img src="<?= $pixelImage ?>" width="1" \
height="1"></td>  </tr>
  <tr>
    <td height="1"><img src="<?= $pixelImage ?>" width="1" height="1"></td>
    <td colspan="3" 
        bgcolor="<?= $borderColor ?>"><img src="<?= $pixelImage ?>" width="1" \
height="1"></td>  </tr>
  <tr>
    <td height="<?= $thumbHeight - 10 ?>"><img src="<?= $pixelImage ?>" width="1" \
height="1"></td>  <td bgcolor="<?= $borderColor ?>"><img src="<?= $pixelImage ?>" \
width="1" height="1"></td>  <td><img src="<?= $pixelImage ?>" width="1" \
height="1"></td>  <td bgcolor="<?= $borderColor ?>"><img src="<?= $pixelImage ?>" \
width="1" height="1"></td>  </tr>
  <tr>
    <td colspan="7" 
        bgcolor="<?= $borderColor ?>" 
        height="<?= $borderWidth ?>"><img src="<?= $pixelImage ?>" width="1" \
height="<?= $borderWidth ?>"></td>  <td><img src="<?= $pixelImage ?>" width="1" \
height="1"></td>  <td bgcolor="<?= $borderColor ?>"><img src="<?= $pixelImage ?>" \
width="1" height="1"></td>  <td><img src="<?= $pixelImage ?>" width="1" \
height="1"></td>  <td bgcolor="<?= $borderColor ?>"><img src="<?= $pixelImage ?>" \
width="1" height="1"></td>  </tr>
  <tr>
    <td colspan="2" 
        height="1"><img src="<?= $pixelImage ?>" width="1" height="1"></td>
    <td bgcolor="<?= $borderColor ?>"><img src="<?= $pixelImage ?>" width="1" \
height="1"></td>  <td colspan="5"><img src="<?= $pixelImage ?>" width="1" \
height="1"></td>  <td bgcolor="<?= $borderColor ?>"><img src="<?= $pixelImage ?>" \
width="1" height="1"></td>  <td><img src="<?= $pixelImage ?>" width="1" \
height="1"></td>  <td bgcolor="<?= $borderColor ?>"><img src="<?= $pixelImage ?>" \
width="1" height="1"></td>  </tr>
  <tr>
    <td colspan="2" 
        height="1"><img src="<?= $pixelImage ?>" width="1" height="1"></td>
    <td colspan="7" 
        bgcolor="<?= $borderColor ?>"><img src="<?= $pixelImage ?>" width="1" \
height="1"></td>  <td><img src="<?= $pixelImage ?>" width="1" height="1"></td>
    <td bgcolor="<?= $borderColor ?>"><img src="<?= $pixelImage ?>" width="1" \
height="1"></td>  </tr>
  <tr>
    <td colspan="4" 
        height="1"><img src="<?= $pixelImage ?>" width="1" height="1"></td>
    <td bgcolor="<?= $borderColor ?>"><img src="<?= $pixelImage ?>" width="1" \
height="1"></td>  <td colspan="5"><img src="<?= $pixelImage ?>" width="1" \
height="1"></td>  <td bgcolor="<?= $borderColor ?>"><img src="<?= $pixelImage ?>" \
width="1" height="1"></td>  </tr>
  <tr>
    <td colspan="4" 
        height="1"><img src="<?= $pixelImage ?>" width="1" height="1"></td>
    <td colspan="7" 
        bgcolor="<?= $borderColor ?>"><img src="<?= $pixelImage ?>" width="1" \
height="1"></td>  </tr>
</table>


__[ g a l l e r y - c h e c k i n s ]_________________________

[ list info/archive --> http://gallery.sf.net/lists.php ]
[ gallery info/FAQ/download --> http://gallery.sf.net ]


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic