http://www.clubbersguide.com.au/photos/thumbnails.php?album=182
as you can see in this gallery, the pictures that are 150 x 100 are aligned to the top instead of centred, how do i make all pictures centered horizonaly and vertically in the albumb? thanks in advance
Copy the $template_thumbnail_view template from the sample theme.php into your custom theme.php and then change the valign from 'top' to 'middle'.
i dont understand? i get the theme template from my folder its already on? and then what? sorry for not understanding straight waay :)
http://coppermine-gallery.net/demo/cpg14x/docs/index.htm#theme_sample
okay so i grabbed this code:
$template_thumbnail_view = <<<EOT
<!-- BEGIN header -->
<tr>
<!-- END header -->
<!-- BEGIN thumb_cell -->
<td valign="middle" class="thumbnails" width ="{CELL_WIDTH}" align="center">
<table width="100%" cellpadding="0" cellspacing="0">
<tr>
<td align="center">
<a href="{LINK_TGT}">{THUMB}<br /></a>
{CAPTION}
{ADMIN_MENU}
</td>
</tr>
</table>
</td>
<!-- END thumb_cell -->
where do i put it in the theme.php file? i added it between:
define('THEME_IS_XHTML10_TRANSITIONAL',1);
?>
and gave me an error? anyone ideas?
You need to copy from
$template_thumbnail_view = <<<EOT
to
EOT;
You only copied half the template.