I want up the coments an down the "film strip"
(https://coppermine-gallery.com/forum/proxy.php?request=http%3A%2F%2Fimg373.imageshack.us%2Fimg373%2F410%2Fimage15vc.jpg&hash=76871728fdf83bc27607c78f7e1b3b52343ce0cd)
is possible?
thanks
If I understand you correctly you want to have the comments above the filmstrip. Copy the following code from Sample>theme.php into your theme.php and edit it to suit your needs.
Copy:
function theme_display_image($nav_menu, $picture, $votes, $pic_info, $comments, $film_strip)
{
global $CONFIG;
$width = $CONFIG['picture_table_width'];
starttable();
echo $nav_menu;
endtable();
starttable();
echo $picture;
endtable();
if ($CONFIG['display_film_strip'] == 1) {
echo $film_strip;
}
echo $votes;
$picinfo = isset($_COOKIE['picinfo']) ? $_COOKIE['picinfo'] : ($CONFIG['display_pic_info'] ? 'block' : 'none');
echo "<div id=\"picinfo\" style=\"display: $picinfo;\">\n";
starttable();
echo $pic_info;
endtable();
echo "</div>\n";
echo "<div id=\"comments\">\n";
echo $comments;
echo "</div>\n";
}
Here are the changes that should work:
function theme_display_image($nav_menu, $picture, $votes, $pic_info, $comments, $film_strip)
{
global $CONFIG;
$width = $CONFIG['picture_table_width'];
starttable();
echo $nav_menu;
endtable();
starttable();
echo $picture;
endtable();
echo "<div id=\"comments\">\n";
echo $comments;
echo "</div>\n";
if ($CONFIG['display_film_strip'] == 1) {
echo $film_strip;
}
echo $votes;
$picinfo = isset($_COOKIE['picinfo']) ? $_COOKIE['picinfo'] : ($CONFIG['display_pic_info'] ? 'block' : 'none');
echo "<div id=\"picinfo\" style=\"display: $picinfo;\">\n";
starttable();
echo $pic_info;
endtable();
echo "</div>\n";
}
I think it looks messy this way and if you get a lot of comments, your filmstrip will be way down the table but that's just my thoughts. Maybe take a look at the "Classic filmstrip vert" theme and you'll see a way to put the filmstrip on the left side of the picture with the comments below. This is a much cleaner look.
Billy
Thanks :)