How would I move the film strip underneath the file information and comments?
My gallery can be viewed here: http://www.kirkyskreations.com/gallery
Thanks in advance,
Kirsten Smit
edit themes/yourtheme/theme.php, findfunction theme_display_image
and edit the function accordingly. If it doesn't exist in your custom theme, copyfunction 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";
}
into a new line before?>
and edit accordingly by changing the order of elements there.
ok cant seem to get it to work but that is because i am unsure which parts of the code to edit that you gave me.
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 $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";
if ($CONFIG['display_film_strip'] == 1) {
echo $film_strip;
}
echo "<div id=\"comments\">\n";
echo $comments;
echo "</div>\n";
}
Hi thanks you've been a great help! Works well. :D
To view example please visit: http://www.kirkyskreations.com/gallery/displayimage.php?pos=-5