Advanced search  

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]

Pages: [1]   Go Down

Author Topic: Two questions....  (Read 2351 times)

0 Members and 1 Guest are viewing this topic.

titodj

  • Coppermine newbie
  • Offline Offline
  • Posts: 5
Two questions....
« 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....
 ???
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Two questions....
« Reply #1 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
Code: [Select]
            $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
Code: [Select]
            $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.
Logged
Pages: [1]   Go Up
 

Page created in 0.019 seconds with 20 queries.