Disable fullsize popup Disable fullsize popup
 

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

Disable fullsize popup

Started by T3rry, November 10, 2004, 09:28:28 PM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

T3rry

ok so i have disbaled the intermediate photos and now it shows the fullsize photo in the intermediates spot... how would i go about diabling the fullsize picture popup feature... its just an unnecessary feature for me... thanks

Joachim Müller

edit displayimage.php, find            $pic_html = "<a href=\"javascript:;\" onClick=\"MM_openBrWindow('displayimage.php?pid=$pid&fullsize=1','" . uniqid(rand()) . "','scrollbars=yes,toolbar=yes,status=yes,resizable=yes,width=$winsizeX,height=$winsizeY')\">";
            $pic_title = $lang_display_image_php['view_fs'] . "\n==============\n" . $pic_title;
            $pic_html .= "<img src=\"" . $picture_url . "\" class=\"image\" border=\"0\" alt=\"{$lang_display_image_php['view_fs']}\" /><br />";
            $pic_html .= "</a>\n";
and replace with            $pic_title = $lang_display_image_php['view_fs'] . "\n==============\n" . $pic_title;
            $pic_html = "<img src=\"" . $picture_url . "\" class=\"image\" border=\"0\" alt=\"{$lang_display_image_php['view_fs']}\" /><br />";


I'm not quite sure what you mean by saying
Quote from: T3rry on November 10, 2004, 09:28:28 PM
ok so i have disbaled the intermediate photos and now it shows the fullsize photo in the intermediates spot...
If you actually were able to accomplish this correctly I find it quite hard to believe that you were not able to find the link to the full-size pop-up. Anyway, if it works for you, I'm fine.

Joachim

P.S. This has been asked before. Next time, please use the search function of the board instead of reposting a question

T3rry

#2
thanks for the reply... all i did to acheive aving the fullsize photos appear in the intermediates place i simply said no to the option "disply intermediate photos".



solved thanks mods please mark it as such.

Casper

Quote from: T3rry on November 11, 2004, 06:00:05 PM
solved thanks mods please mark it as such.

I did this for you, but just for the future, you should be able to do this yourself on threads you started, by editing the first post, and adding the message icon there.
It has been a long time now since I did my little bit here, and have done no coding or any other such stuff since. I'm back to being a noob here

Joachim Müller

not quite true, "regular" users don't have acces to the dropdown  ;) - only moderators have this power, but they can flag their issue as "solved" by putting the word "[Solved]" in front of the subject line.

Joachim

T3rry

ok, thanks for the heads up, i'll be sure to do that next time.