2 Simple (i hope) questions
allisonv7
Joined: 2002-11-14
Posts: 3 |
Posted: Wed, 2003-07-30 00:36 |
hey everyone, i have a couple quick questions....i've looked in the forums for an answer and messed around with coding quite a bit myself but can't seem to find what i'm looking for. 1.) On the main gallery page (http://www.flatlevelground.com/gallery/) I would like there to be a border around the highlighted photos just as there is in each individual album. How is this done? 2.) I'd like to change the color of the horizontal lines that on the page....I can't seem to find the coding for this anywhere....help please? Thanks, allison. |
|
Posts: 18
Hi Allison,
I think I can answer your first question...you need to go to the html_wrap folder and edit the inline_gallerythumb.frame file.
My file looks like this, and it works fine:
<?php
//-- draw a table which looks like a book.
//-- This uses the album's border color/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'];
$base = $gallery->app->photoAlbumURL . '/images';
$imageTR = "$base/albumthumb_TR.gif";
$imageRR = "$base/albumthumb_RR.gif";
$imageBL = "$base/albumthumb_BL.gif";
$imageBB = "$base/albumthumb_BB.gif";
$imageBR = "$base/albumthumb_BR.gif";
?>
<table width="1" border="0" cellspacing="0" cellpadding="0">
<tr>
<td bgcolor="<?php echo ffffff ?>" rowspan="2" colspan="2" width="1" height="1"><table cellspacing="0" cellpadding="<?php echo 3 ?>">
<tr>
<td width="<?php echo $thumbWidth ?>" height="<?php echo $thumbHeight ?>"><a href="<?php echo $href ?>"><?php echo $tag ?></a></td>
</tr>
</table></td>
</table>
Hope this helps!
Jen
Posts: 18
Hey again,
I think I found the answer to your second question...you need to edit albums.php. I believe you're talking about the horizontal lines to the right of the pictures that are above the text for that picture?? If so, edit the section that reads:
<!-- Begin Album Column Block -->
<tr>
<td height="1"><?php echo $pixelImage?></td>
<td bgcolor="<?php echo $borderColor?>" height="1"><?php echo $pixelImage?></td>
And change "$borderColor" to whatever color you would like.
Hope this'll work for you..
Jen