Member
Member
JulieB   2008-09-04, 20:24
#1
Can someone take a look at my code and tell me how do I fix the disapearing title.

I changed the size of the thumb nail becuase the images were getting cropped off, and now I would like for the album title to appear centered under the album thumb nail.

I think this is a css style. Here is my code below.

<div id="content">
<h1><?php echo getGalleryTitle(); ?></h1>
<div class="galleries">

[list]
<?php
$counter = 0;
setOption('gallery_sorttype', 'ID', false); // set the sort type so we get most recent albums
setOption('gallery_sortdirection', '1', false);
while (next_album() and $counter < 6):
?>
<li class="gal">
<h3><a>" title="<?php echo gettext("View album:").' '; echo strip_tags(getAlbumTitle()); ?>"><?php printAlbumTitle(); ?></a></h3>

<a>" title="<?php echo gettext("View album:").' '; echo strip_tags(getAlbumTitle());?>" class="img">

<?php printCustomAlbumThumbImage(getAlbumTitle(), null, 210, 205, 210, 205); ?></a>
<p>
<p>

<?php
if ($counter == 2) {
echo "[/list]
[list]";
}
$counter++;
endwhile;
?>
[/list]
</div>
</div>
</div>
Member
Member
krainbolt   2008-09-04, 23:59
#2
Please put your code in backticks (`), otherwise we can't see the entire contents.
  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.