coppermine-gallery.com/forum

Support => cpg1.3.x Support => Older/other versions => cpg1.3 Miscellaneous => Topic started by: titodj on July 22, 2005, 02:22:15 AM

Title: Two questions....
Post by: titodj on July 22, 2005, 02:22:15 AM
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....
???
Title: Re: Two questions....
Post by: Joachim Müller on July 22, 2005, 05:16:13 AM
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.