Two questions.... Two questions....
 

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

Two questions....

Started by titodj, July 22, 2005, 02:22:15 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

titodj

First I think this is great !!
But is killing my bandwidth, (9gigs a day) so I read in a post that it was posible to disable the option for the users to see the original picture when they click on the medium size image, is that so? and if its, how??

If not, can I just delete or move the original pictures location without afecting the gallery? so no bigger image could appear...
Thanks for your help....
???

Joachim Müller

has been asked and anwered many times already, next time please search before posting. Edit displayimage.php, 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')\">";
            $pic_title = $lang_display_image_php['view_fs'] . "\n==============\n" . $pic_title;
            $pic_html .= "<img src=\"" . $picture_url . "\" class=\"image\" border=\"0\" alt=\"{$lang_display_image_php['view_fs']}\" /><br />";
            $pic_html .= "</a>\n";
and replace 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')\">-->";
            $pic_title = $lang_display_image_php['view_fs'] . "\n==============\n" . $pic_title;
            $pic_html .= "<img src=\"" . $picture_url . "\" class=\"image\" border=\"0\" alt=\"{$lang_display_image_php['view_fs']}\" /><br />";
            $pic_html .= "<!--</a>-->\n";
Resize the pics before uploading them if you don't want them to exist in the first place, see http://coppermine.sourceforge.net/tutorial/irfanview1.php .
We have a "one question per thread" policy you agreed to respect when signing up. Please choose a better subject next time as well.