How to disable all full images popup, just by only one ? How to disable all full images popup, just by only one ?
 

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

How to disable all full images popup, just by only one ?

Started by Pascal YAP, January 08, 2005, 07:18:15 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Pascal YAP

Bonjour,All,

How to disable all full images popup, by just only one ?
I do not want disable popup when i click on this image or an other one, nerver mind.
I want to replace this popup by only one, the same for all images in my gallery.
Many thanx if it's possible ;)
Pascal

Joachim Müller

edit displayimage, 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 anything you could possible come up with.

Joachim

Pascal YAP

Joachim,

So fast GauGau ! and with the solution... ah ah !
Merci a lot, Thanx

Pascal


Pascal YAP

GauGau,

Full modif applied (-:
Work Fine !
Happy, i'm !    ;)
Pascal

ps : in few days in French Coppermine !
http://forum.coppermine-gallery.net/index.php?board=38.0
Thanx for all of us

moose

Quote from: GauGau on January 08, 2005, 07:42:23 PM
edit displayimage, 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 anything you could possible come up with.

Joachim

I have tried to delete this part, to delete the code after §pic_title= & §pic_html= on all 4 lines, and comment it out.
But the only thing that happen to me is that the big picture that was supposed to be "blocked" disappears instead and there is only a dot image.
Could you give me an example?

Abbas Ali

Do not delete or comment out


$pic_html .= "<img src=\"" . $picture_url . "\" class=\"image\" border=\"0\" alt=\"{$lang_display_image_php['view_fs']}\" /><br />";


This code is responsible to show the image.

Alter the lines above and below this code. If you dont want the full size image to be displayed then just modify the line


$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')\">";


and remove the onClick attribute.
Chief Geek at Ranium Systems