coppermine-gallery.com/forum

Support => Older/other versions => cpg1.2 Standalone Support => Topic started by: ojohn on December 06, 2003, 04:01:44 AM

Title: How to remove the Popup Window when click on a display image
Post by: ojohn on December 06, 2003, 04:01:44 AM
How to remove the Popup Window when click on a display image[/b]
Title: How to remove the Popup Window when click on a display image
Post by: Joachim Müller on December 06, 2003, 12:09:45 PM
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
Title: How to remove the Popup Window when click on a display image
Post by: wormie_dk on December 06, 2003, 02:38:45 PM
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