[feat. request] Show only the picture, the comments + emoticons are hided [feat. request] Show only the picture, the comments + emoticons are hided
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

[feat. request] Show only the picture, the comments + emoticons are hided

Started by protox, September 14, 2005, 11:13:30 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

protox

Ladys & Gentlemen .. Another feature for you :o

Could be great to have a picture without all the disturbing comments and emoticons just under it.
The website which gave me the idea could be browsed here

The comments + emoticons could be visible just after the visitor swaped it by clicking the button " see the [11] comments " for example
Latest shot from " Les disséqueurs de société " :

(https://coppermine-gallery.com/forum/proxy.php?request=http%3A%2F%2Fx-poz.org%2Fcpmfetch%2Fcfimageget.php%3Fcmd%3Dlast&hash=6c9ccde658006a5ed432bbbd56630302b3cb9b7d)

Tranz

@those who know better: Could this be accomplished with a custom theme?

kegobeer

A quick look tells me yes.  In the theme.php file, in function_theme_display_image, just change

    echo $pic_info;
    endtable();
    echo "</div>\n";

    starttable();
    echo $comments;
    endtable();


to

    echo $pic_info;
    endtable();

    starttable();
    echo $comments;
    endtable();
    echo "</div>\n";
Do not send me a private message unless I ask for one.  Make your post public so everyone can benefit.

There are no stupid questions
But there are a LOT of inquisitive idiots