I use the ssi.php script to set the latest 4 uploade pictures on the frontpage of my website.
But now the problem, I like to set they below each other, at this moment the are side by side..
I use the follow code
<?
$cpg_include_link=1; // thumbnails are links? 0=no, 1=yes
$cpg_link_singlepic=0; // link points to album or single pic? 0=album, 1=single pic
$cpg_how_many=4; // how many thumbs do you need?
$cgp_limit_album=""; // specify certain album, ""=all
$cpg_random=0; //get random pic 0=no, 1=yes
print cpg_thumb($cpg_include_link,$cpg_link_singlepic,$cpg_how_many,$cgp_limit_album,$cpg_random);
?>
Is it maybe depending on settings of coppermine?
If yes, how can I force that?
has got nothing to do with coppermine settings; edit ssi.php and look for$return_value="<table align=\"center\" cellspacing=\"0\" cellpadding=\"10\" align=\"center\" class=\"maintable\" border=\"0\">";
$td_start="<td valign=\"middle\" class=\"thumbnails\" align=\"center\">\n";
$td_end="</td>";
$cpg_table_end="</table>";
$tr_start="<tr>\n";
$tr_end="</tr>\n";
and change it to$return_value="<table align=\"center\" cellspacing=\"0\" cellpadding=\"10\" align=\"center\" class=\"maintable\" border=\"0\">";
$td_start="<tr><td valign=\"middle\" class=\"thumbnails\" align=\"center\">\n";
$td_end="</td></tr>";
$cpg_table_end="</table>";
$tr_start="\n";
$tr_end="\n";
GauGau
thanks for solution :!: