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

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

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.