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.27
change DB IP storage fields to accommodate IPv6 addresses
remove use of E_STRICT (PHP 8.4 deprecated)
update README to reflect new website
align code with new .com CPG website
correct deprecation in captcha

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