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.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

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