How to change this:
(https://coppermine-gallery.com/forum/proxy.php?request=http%3A%2F%2Fimg517.imageshack.us%2Fimg517%2F8144%2F46907286zm9.th.jpg&hash=9ed941f4e76fab77db72b2eb78e1b405e4fa67c2) (http://img517.imageshack.us/my.php?image=46907286zm9.jpg)
for this:
(https://coppermine-gallery.com/forum/proxy.php?request=http%3A%2F%2Fimg47.imageshack.us%2Fimg47%2F3326%2F23944602ex7.th.jpg&hash=baad136ee4064d763374f9541d2352b5d63b8d59) (http://img47.imageshack.us/my.php?image=23944602ex7.jpg)
?
Copy the theme_display_image() function from the sample theme into your theme and move the code blocks up and down as you want. Search the board if you need more details, this has been discussed before.
have problems, the change CPGPluginAPI::filter('post_breadcrumb',null);
theme_display_image($nav_menu, $picture, $votes, $pic_info, $comments, $film_strip);
pagefooter();
ob_end_flush();
for this CPGPluginAPI::filter('post_breadcrumb',null);
theme_display_image($nav_menu, $votes, $picture, $comments, $pic_info, $film_strip);
pagefooter();
ob_end_flush();
makes errors in display
You need to move the blocks of code, not the order of the parameters. Again, search the board as this has been explained before.
... it works, thank you, thank you, thank you ;D
I have change, in displayimage.php into theme_display_image($nav_menu, $votes, $picture, $comments);
and in include/themes.inc.php into function theme_display_image($nav_menu, $votes, $picture, $comments)
{
global $CONFIG;
$width = $CONFIG['picture_table_width'];
starttable();
echo $nav_menu;
endtable();
echo $votes;
starttable();
echo $picture;
endtable();
echo "<div id=\"comments\">\n";
echo $comments;
echo "</div>\n";
}
Don't change include/themes.inc.php - instead do as suggested and copy the function from the sample theme to your theme. If you modify themes.inc.php you will need to redo your changes every time you update Coppermine.
ok, I will redo my changes every time before update Coppermine's gallery - it's only one future redo in themes.inc.php ;)