How to remove the Popup Window when click on a display image How to remove the Popup Window when click on a display image
 

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 remove the Popup Window when click on a display image

Started by ojohn, December 06, 2003, 04:01:44 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

ojohn

How to remove the Popup Window when click on a display image[/b]

Joachim Müller

in 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')\">"; and replace it with        $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')\">-->";
Better still: upload pics in the correct size (the one you set for intermediate pics) in the first place - you won't waste webspace if you do that.

GauGau

wormie_dk

Quote from: "gaugau"Better still: upload pics in the correct size (the one you set for intermediate pics) in the first place - you won't waste webspace if you do that.
GauGau
Or use the resize pictures function in the admin page to delete original size pictures  :D