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">
<?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>" title="<?php echo gettext("View album:").' '; echo strip_tags(getAlbumTitle()); ?>"><?php printAlbumTitle(); ?></h3>
" title="<?php echo gettext("View album:").' '; echo strip_tags(getAlbumTitle());?>" class="img">
<?php printCustomAlbumThumbImage(getAlbumTitle(), null, 210, 205, 210, 205); ?>
<p>
<p>
<?php
if ($counter == 2) {
echo "
";
}
$counter++;
endwhile;
?>
</div>
</div>
</div>
Comments