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:

CPG Release 1.6.28
added submissions from {406man}
cleaned up a few PHP (8.4) deprecations
fixed PHP deprecation in calendar
removed security vulnerability
(please upgrade when possible)

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