Advanced search  

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]

Pages: [1]   Go Down

Author Topic: Disable fullsize popup  (Read 3110 times)

0 Members and 1 Guest are viewing this topic.

T3rry

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 36
Disable fullsize popup
« 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... how would i go about diabling the fullsize picture popup feature... its just an unnecessary feature for me... thanks
« Last Edit: November 11, 2004, 07:00:23 pm by Casper »
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Disable fullsize popup
« Reply #1 on: November 11, 2004, 05:58:47 am »

edit displayimage.php, find
Code: [Select]
            $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
Code: [Select]
            $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
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
Logged

T3rry

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 36
Re: Disable fullsize popup
« Reply #2 on: November 11, 2004, 06:00:05 pm »

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.
« Last Edit: November 11, 2004, 06:19:00 pm by T3rry »
Logged

Casper

  • VIP
  • Coppermine addict
  • ***
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 5231
Re: Disable fullsize popup
« Reply #3 on: November 11, 2004, 07:02:59 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.
Logged
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

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Disable fullsize popup
« Reply #4 on: November 12, 2004, 07:04:35 am »

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
Logged

T3rry

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 36
Re: Disable fullsize popup
« Reply #5 on: November 12, 2004, 06:32:49 pm »

ok, thanks for the heads up, i'll be sure to do that next time.
Logged
Pages: [1]   Go Up
 

Page created in 0.015 seconds with 14 queries.