News:

CPG Release 1.6.29
During HTML5 upload, keep pseudo blank code 200 messages from triggering error condition
added Russian language
correct failure to use theme menu icons in album manager
minor vulnerabilities mitigation

Main Menu

Search results for: watermark

Search order
......  this mod does a) it will watermark fullsized and intermediate images (you can set  ............  one or other or both in config) b) you can turn watermarking on/ off c) creates a backup of the images (so  ............  can undo watermarking) d) works with ImageMagick and GD2 e)  ............  watermark - puts no extra heat on the server (only when  ............ 'll find new entries in coppermine config (Image watermarking) If you do not enable watermarking here  ............  (as it should). But as soon as you turn watermarking on, a backup will be created from all new  ............  images and a watermark applied to the intermediate image, the fullsized  ............  settings). If you want old images to get the watermark too, then you have to run the admin tools. To  ............  need to click continue button anymore)   To undo watermarks just disable watermarking in config and run the  ............  this. Afterwards you won't be able to undo your watermarks. Better undo watermarks and then remove the  ............  absolutely sure you never will want to remove the watermarks)  Setup: just apply the following code, replace  ............  config. You'll need to modify the path to the watermark. Preset is a file watermark.png in the coppermine  ............ 't work for you, use the absolute path to the watermark image  The watermark image should be a .png file.  ............  x,y (GD2 only). Set some point x,y of your watermark image and GD2 will render it transparent. This  ............  settings in config will make the entire watermark transparent to the image background (ImageMagick  ............  in config has no function. If you want the watermark to be transparent against the background, then  ............  layer transparency of your watermark image in your paint proggy to eg. 50  I was  ............  on the watermark mod and have enhanced it's functionality. Now it' ............  able to add a huge watermark file to huge images and downsize the watermark  ......
......  mod is based on the 'Permanent Watermark with GD2 mod'. However I've rewritten the entire  ............  didn't like the drawbacks of original 'Permanent Watermark with GD2 mod' That mod did image resize -> save -> ............  image resize -> save -> watermark -> save with each step losing image quality...  ............  to be found in this thread: - admin can disable watermarking whilst upload (checkbox added to upload form) - ............  possibility to assign different watermarks to certain users. - better admin tool to add/  ............ / update watermarks to thumbs/ normal/ full images  added a) an undo  ............ . If you want to get rid of your watermarks or apply new ones. No problem. You can do that  ............  any loss in image quality or having 2,3,4 watermarks on the image b) watermarks can be transparent ( ............  through it) c) supports imagemagick and GD2 d) watermark can be in the center now as well modified in  ............  Watermark Image on upload has been changed to Watermark  ............  thumbs and/or resized photos' to apply or remove watermarks added a new function in Admin Tools as well if  ............  images... however then you won't be able to undo watermarks. If no watermarks are actually applied.. no  ............ . Go ahead and delete them. If you later create watermarks it auto creates backup images.  If you upload  ............  and watermarking is disabled then no backup images get created.  ............  if you enable watermarking. So it doesn't waste a lot of HD  The  ............  of watermarking is that full sized images get compressed. So  ............  digicam picture it may have 1.5+mb. When watermarking it get's compressed down to ~300k (depending  ............  a lot of bw.  The settings in Coppermine config: Watermark Image - Yes/No Where to place the watermark -  ............  a spot where your watermark should appeare  Which files to watermark - normal  ............ , full sized or both Which file to use for watermark - enter full path to your watermark image note:   ............  0-100 for entire image - makes the entire watermark transparent to the bg (100 for no transparency)  ............ ($logoImage, imagecolorat($logoImage, $CONFIG['watermark_transparency_featherx'], $CONFIG[' ............  know the coordinates where white appeares on the watermark, usually 1,1 fits) and GD renders white fully  ......
...... .org/  Short overview -Automatically downsize watermark on small images -Enhances Nibbler's onlinestats  ............  need to permanently click the continue button) -Watermark (transparent) with undo possibility (GD2,  ......
......  helped me fix the "_normal" bug  Permanent Watermark with GD2 MOD by Sammy   For CPG users who wants  ............  add GD2 watermark function on their gallery.  This MOD uses GD2!   ............  is how to mod CPG 1.3 to be able to add watermark automatically on new pics and by choise on all  ............  it  Code Select Expand   'Image watermarking',  array('Watermark Image on  ............ ', 'enable_watermark', 1),  array('Where to place the  ............ ', 'where_put_watermark', 11),  array('which files to  ............ ', 'which_files_to_watermark', 12),  array('Which file to use  ............  watermark', 'watermark_file', 0),    Find  ............  this a line after it Code Select Expand  'watermarks' => 'Add watermarks',   'watermark_normal' ............  => 'Resized images only',   'watermark_image' => 'Original sized only',   ' ............ ' => 'Original and resized images',   'watermark_wait' => 'Watermarking images...',   ' ............ ' => 'Continuing to watermarking originals and/or resized images...',   2. Open  ............  this before itCode Select Expand  //Adds watermarks to new images  if ($CONFIG[' ............ '] == '1' && $CONFIG['which_files_to_watermark'] == 'both' || $CONFIG['which_files_to_watermark'] ............  == 'original') {  if (!watermark($image)) //this is for full size image   ............  return false;  }  if ($CONFIG['enable_watermark'] == '1' && $CONFIG['which_files_to_watermark'] == ............  'both' || $CONFIG['which_files_to_watermark'] == 'resized') {  if (file_exists($normal) ............  && !watermark($normal)) //this is for intermediate size image   ............  Expand  if (file_exists($normal) && !watermark($normal)) //this is for intermediate size image   ............  itCode Select Expand  /**  * watermark_image()  *   * Create a file  ............  a watermarked image  *   * @param $src_file  ............ ' in case of success  */  function watermark($src_file)  {  global $CONFIG, $ ............  $logoImage = ImageCreateFromPNG($CONFIG['watermark_file']);    ............  //where is the watermark displayed...    ............  $pos = $CONFIG['where_put_watermark'];   if ($ ......
...... /index.php?topic=28273.0   Included in this pack -Watermark for GD2 and Imagemagick with undo possibility - ............  (name, value) values ('thumb_height', '140');  #watermark INSERT INTO cpg142_config (name, value) values (' ............  cpg142_config (name, value) values ('where_put_watermark', 'southeast'); INSERT INTO cpg142_config (name,  ............ ) values ('watermark_file', '/absolute/server/path/to/watermark.png');  ............  (name, value) values ('which_files_to_watermark', 'both'); INSERT INTO cpg142_config (name, value) ............ ; INSERT INTO cpg142_config (name, value) values ('watermark_transparency', '40'); INSERT INTO cpg142_config ( ............ , value) values ('watermark_transparency_featherx', '0'); INSERT INTO  ............  (name, value) values ('watermark_transparency_feathery', '0');  #mini_thumbs  ......
...... ',Paste theese lines:Code Select Expand  'watermarks' => 'Add watermaks',  'watermark_normal' = ............ > 'Resized images only',   'watermark_image' => 'Original sized only',   ' ............ ' => 'Original and resized images',   'watermark_wait' => 'Watermarking images...',   ' ............ ' => 'Continuing to watermarking originals and/or resized images...',  2.  ............  below Code Select Expand  /**  * watermark_image()  *   * Create a file  ............  a watermarked image  *   * @param $src_file  ............ ' in case of success  */  function watermark($src_file)  {  global $CONFIG, $ ............ /to/galleria/include/logo.png'); // logo.png is a watermark it add's...    ............  //where is the watermark displayed...    ......
......  bits and pieces of code from different hacks for watermarking with my add on for deciding which images get  ............  and which do not.  First I made my watermark image and uploaded it to my main gallery  ............ . My file was called watermark.png  Then I created a file called logo.php and  ............    // watermark IMAGE settings    $watermark_width  ............  = 143; // watermark wanted width    $watermark_height  ............  = 20; // watermark wanted height    /*   NOTE   ............    If the watermark is resized, transparency may contain lines and  ............  // 100 is maximum quality    $watermark_image = "watermark.png";   // ............  Full path to image    $watermark_type = "PNG";  ............ ####      // get the file we want to watermark  $file =  ............ ", "$picturename")) {   // get the watermark details, and open it  $ ............  = getImageSize($watermark_image);   eval ("\$watermark =  ............ $watermark_type(\$watermark_image);");   //  ............  scale of watermark and create scaled watermark  $ ............  = imageCreateTrueColor($watermark_width, $watermark_height);   //  ............  the watermark to the new scale   ............ ($scaled_watermark, $watermark, 0, 0, 0, 0, $watermark_width, $ ............ , $watermark_info[0], $watermark_info[1]);   //  ............  = imagecolorallocate ($scaled_watermark, $transColor[0],$transColor[1],$transColor[2]);    ............  imagecolortransparent($scaled_watermark, $transparentColor);   // add the  ............   ImageCopyMerge($image, $scaled_watermark, $image_width - $watermark_width - ($ ............  * $margin_x), $image_height - $watermark_height - ($watermark_height * $margin_y), 0, 0, $ ............ [0], $watermark_info[1], $opacity);   }        //  ............  fields for image description" Field 1 name to "Watermark".  Now is the optional part. If you want the  ............  = '') The script looks for the "YES" in the watermark field ($user1) so you can basically set it to  ............  other than YES and the watermark won't appear.   I am sure this hack is pretty  ............ .com/Gallery/ most of the images have the watermark on check http://www.baileychase.com/Gallery/ ............ ?album=173 for a few that do not.  EDITED: Updated watermarking code to include the change Frank suggested for  ......
......  needed a simple watermarking hack to accomplish the following:  -  ............  with GD 2.0 - On the fly watermarking - Non server intensive - Customize expansion -  ............  individual images to watermark - PNG input/output support  I wanted to be able  ............  specify which images to watermark indivually within an album. I needed to also make  ............  that the watermark didn't swamp the main image. I also wanted a  ............  way to adjust the positioning of the watermark on the image.   The way this mod works is  ............  the user1 field to determine if image is to be watermarked. If 'yes' then it sends the image uri to the  ............  to be evaluated if the images is to small for watermark, if not it watermarks the file and save a copy to  ............  of creating a new file it pulls the created watermarked image and sends this back to the image display  ............    Planned future updates: - Modify config to turn watermark on/off. - Allow for evaluation of watermarked  ............  date to allow for watermark updates - Customizable setup from browser/ ............  with dbase  1) First create a PNG watermark and upload it into the main images folder.  2) Ok, ............ ']);    } else {  require_once "include/watermark.class.php";  $watermark_file_location = 'images/ ............ [$mode]. $pic_row['filename']);;   $img = new Watermark();  $img->watermark_file = $ ............ ;  $img->add_watermark($picture_location);  return $img->image_tag;    ............  }  3) Create a file called watermark.class.php save this into the include folder,  ............  Expand <?php<br /> /**<br /> * Custom Watermark Class for PNG or JPG watermarks with GD2<br /> *  ............  /> <br /> } else {<br /> require_once "include/watermark.class.php";<br /> $watermark_file_location = ' ............ /watermark.png';<br /> $picture_location = $url_prefix[$ ............  $pic_row['filename']);;<br /><br /> $img = new Watermark();<br /> $img->watermark_file = $ ............ ;<br /> $img->add_watermark($picture_location);<br /> return $img-> ............  1.0 8/8/2004 (hacked)<br /> */<br /> class Watermark<br /> {<br /> /**<br /> *  ............  where the created watermarked images are stored in (for PHP access)<br />  ............  * e.g. '/usr/local/apache/htdocs/images/watermark'<br /> */<br /> var $ ............ /';<br /> /**<br /> * Path to watermarked directory for browser/coppermine access<br />  ............  = '../wmarked/';<br /> /**<br /> * Watermarked image suffix for new watermarked image<br />  ............  * e.g. 'watermarksuffix_orginal.jpg'<br /> * WARNING: Cannot  ............  blank<br /> */<br /> var $file_suffix = 'watermark_';<br /> /**<br /> * Error message  ............  $error;<br /> /**<br /> * where the watermark is inserted<br /> * topleft, bottomleft,  ............ , bottomright<br /> */<br /> var $watermark_position = "bottomright";<br /> /**<br />  ............  * the watermark filename<br /> * currently MUST be a PNG24 file!  ............  on gif/jpg support<br /> */<br /> var $watermark_file;<br /> /**<br /> * which kind  ............  image<br /> */<br /> function add_watermark ( $imagefile )<br /> {<br /> if (( ............ ($this->watermark_file)) && (function_exists('imagecreatetruecolor') ............ > <br /> $logo = ImageCreateFromPNG($this->watermark_file) or die($this->watermark_file.' is not a  ............  that image to be modified will not be swamped by watermark. (image has to be twice the size of the watermark............ ($logo_h * 2)){<br /> if (strtoupper($this->watermark_position) == "TOPLEFT") <br /> {<br />  ............ > } <br /> elseif (strtoupper($this->watermark_position) == "TOPRIGHT") <br /> {<br />  ............ > } <br /> elseif (strtoupper($this->watermark_position) == "BOTTOMLEFT") <br /> {<br />  ............ > } <br /> elseif (strtoupper($this->watermark_position) == "BOTTOMRIGHT") <br /> {<br />  ............  else <br /> {<br /> die ('the watermark position: ' . $this->watermark_position . ' is  ............  $this->image_name ;<br /> }<br /> else { die('Watermarking file: '. $this->watermark_file.' did not work!' ............ /> /**<br /> * delete a thumbnail or watermark file image from the thumbnail_dir_internal<br />  ............  does not exist');<br /> }<br /> }<br />} //end watermark class<br />?>  Hope this helps -T  Tested with 1. ......
......  works just fine, but the images doen't get watermarked. I did not have enough time to look into the  ............ , resized file, thumbnail)  what's not working: - watermarking at all (:-( )  ......
#10
......  ($bx > 200) { // this ensures no watermark is added to small images (e.g. thumbnails) ............  // ADD WATERMARK $pos = "bottomright"; //where is the  ............  90; } // THIS IS THE CODE FOR THE WATERMARK ImageAlphaBlending($lm, true) or  ............ ('logo.png'); // logo.png is a watermark it add's... $logoW = ImageSX($ ......
......  Gallery is creating Orig files, but the Watermark Feature isnt enabled/ticked. Does anyone know how  ......
......  and doing uploads and what not. I created a watermark and uploaded it to the albums/watermarks folder  ............  it watermark.png and with help in the Bridging forum I got the  ............  area to see the watermark. But when I go into the photo albums the  ............  go through with the existing images to get the watermark to show on them? I'm assuming that new images  ............  get the watermark or is there something else that should be done? I' ............  seem to have everything in order:  Intermediate watermark image (PNG24)  Full size watermark image ( ............ ) albums/watermarks/watermark_large.png does not exist  Watermark  ............  Use Watermark Image Yes  Watermark image vertical  ............   Watermark image horizontal position  Use Watermark  ............  No  Apply watermark on image display Yes  Apply  ............  a blank page after awhile (util.php) and still no watermarks http://www.blackboardmusic.com/highschoolgallery/ ......
#13
cpg1.5 miscellaneous / Watermark Issue
July 13, 2011, 06:38:03 AM by yaqngie
......  some picture. In the config I asked that a watermark be placed on all the pictures. I uploaded a  ............  that Coppermine be directed to that file for the watermark.  As of right now, no water marks come up on the  ......
......  dernière ligne ,   Code:   'Image watermarking',  array('Watermark Image en  ............ ', 'enable_watermark', 1),  array('Où placer le  ............ ', 'where_put_watermark', 11),  array('Quels fichiers à  ............ ', 'which_files_to_watermark', 12),  array('Quel fichier image  ............  pour le watermark', 'watermark_file', 0),  trouver cette ligne;   ............  ajouter ceci après cette ligne;  Code:  'watermarks' => 'Ajoutez des Watermarks',  ' ............  aux dimensions modifiées uniquement',  'watermark_image' => 'Aux images dans leurs dimensions d' ............ ',  'watermark_both' => 'Aux images Originales et celles  ............ ',  'watermark_wait' => 'PROCESS Watermarkage des images en  ............ ...',  'watermark_continue_wait' => 'Poursuite du Watermarkage des  ............  (c) to new images  if ($CONFIG['enable_watermark'] == '1' && $CONFIG['which_files_to_watermark']  ............    == 'both' || $CONFIG['which_files_to_watermark'] == 'original') {  if (!watermark($ ............  false;  }  if ($CONFIG['enable_watermark'] == '1' && $CONFIG['which_files_to_watermark'] == ............     'both' || $CONFIG['which_files_to_watermark'] == 'resized') {  if (file_exists($ ............ ) && !watermark($normal)) //this is for intermediate size image   ............   ?>  ajoutez avant cette ligne;  /**  * watermark_image()  *  * Create a file  ............  a watermarked image *  * @param $src_file  ............ ' in case of success  */  function watermark($src_file)  {  global $CONFIG, $ERROR; ............ );  $logoImage = ImageCreateFromPNG($CONFIG['watermark_file']);  $logoW = ImageSX($logoImage);   ............ $logoH = ImageSY($logoImage);  //where is the watermark displayed...  $pos = $CONFIG[' ............  ligne;  Code: function vesileimaathumbit() //watermarkthumbs {  global $picturetbl, $CONFIG, $ ............ ");  }   if (watermark($image)) {  print $image .' '. $ ............ ($result, $i, "filename");   if (watermark($image)) {  print $image .' '. $ ............  <input type="hidden" name="action" value="continuewatermarks" />  <input type="hidden"  ............ ['back'] . '</a>'; } else if ($action == 'watermarks') {//tämä  global $picturetbl, $CONFIG;   ............ . '</a><br />';  print '<h2>' . $lang_util_php['watermark_wait'] . '</h2>';   vesileimaathumbit(); // ............ ['back'] . '</a>'; } else if ($action == 'continuewatermarks') {//tämä  print '<a href="' . $phpself . '">' ............ . '</a><br />';  print '<h2>' . $lang_util_php['watermark_wait'] . '</h2>';   vesileimaathumbit(); // ............  class="nobg"   ajoutez juste devant;  Code: //for watermarking  starttable('100%', '<input type="radio"  ............ ="action" value="watermarks" id="watermarks"   class="nobg" /><label for=" ............ ="w" class="labelradio">' .   $lang_util_php['watermarks'] . '</label> (1)');  print ' <tr><td> ' . $ ............ ="w" class="labelradio">' . $lang_util_php['watermark_normal'] .   '</label><br /> <input type="radio"  ............ ="r" class="labelradio">' . $lang_util_php['watermark_image'] .   '</label><br /> <input type="radio"  ............ ="a" class="labelradio">' . $lang_util_php['watermark_both'] .   '</label><br /> ' . $lang_util_php[' ............  // Added for allowing user to select where to add watermarks on pics... function form_watermark($text, $name)  ............ / Added for allowing user to select which files to watermark... function form_watermark2($text, $name) {   ............  entre ces deux lignes  Code:  //Watermark place  case 11 :   ............  break;  //Which filest to watermark  case 12 :   ............  into cpg11d_config (name, value) values ('enable_watermark', '1'); insert into cpg11d_config (name, value)  ............  ('where_put_watermark', 'bottomright'); insert into cpg11d_config (name, ............  value) values ('watermark_file', '/your/full/path/to/logo.png'); insert  ............  (name, value) values ('which_files_to_watermark', 'both');  avant d'exécuter ces commandes, ............   insert into cpg11d_config (name, value) values ('watermark_file', '/your/full/path/to/logo.png');  /your/ ............  par le panneau de configuration, et activer le "watermark" !   note : certains fournisseurs interdisent le  ......
#15
......  etienne_sf,  I'm having a problem watermarking images. I had this option configured and  ............  any.  Is Jupload compatible with Coppermine's watermark function?   Thank in advance, and keep the good  ......
#16
cpg1.4 miscellaneous / Watermark Question
November 27, 2006, 08:15:13 AM by dwdallam
......  after searching, that Coppermine has no in house "watermark on uplaod (http/ftp) module, but, rather, I need  ......
......  little work everything is work great but all the watermarks (even the one's supplied) come out black.  I'm  ......
#18
cpg1.4 modpack by Stramm / Watermark on FTP
July 18, 2007, 02:50:56 PM by jmmc
......  i send through FTP ('Batch add files' tool) get watermarked too. Because if i send in the normal way (' ............  file') and with the Watermark for both Original and Resized option selected  ............  if i send through ftp, the original doesn't get watermark. So, is there a problem or for FTP the watermark  ......
......  installed this Stramm modpack and I want to add watermarks on all of my images, but I'm stuck with how to  ............  get the watermark on all of the images which were already uploaded.  ............  tell me how I get the old images to have my watermark on  Thanks so  ......
......  is an FYI post to let people know that a watermark plugin is in development called CPGMark. It is  ............  is to discourage people from asking if existing watermarks made for 1.3x are compatible with 1.4x. ......
#22
cpg1.4 modpack by Stramm / Problem with the watermark
February 15, 2008, 10:50:46 AM by lostemilie
......  and of course I have a problem First of all the watermark won´t be added when I batch-add pictures and when  ............  just upload single pics the watermark will look this instead of this (my own gallery,  ............  settings and everything). What can I do? (watermarks only on original images) ......
#23
cpg1.5 miscellaneous / watermark old pictures?
April 13, 2012, 04:36:33 AM by alexandre596
...... , at first, I didn't want to watermark my pictures at my coppermine gallery but now I do, ............  and I want to watermark all the old pictures, is that a way of doing it?   ......
#24
cpg1.4 miscellaneous / adding a watermark
February 26, 2006, 02:55:20 AM by azjennifer
...... ,  is there a way that this application can add a watermark to uploaded pictures?  Thanks,    ......
......  1.3.x et un mod qui permettait d'avoir des watermarkage sur les photos ce qui est très pratique...  ......
#26
cpg1.5 miscellaneous / Problem with watermark
May 17, 2015, 12:31:05 PM by lunaclems
...... .36. I uploaded many pictures (near 7,000) with a watermark. But now I would like to change it or at least  ............  it. In my config, I removed the watermark but when I go to utility and I try to update the  ............  is deleted, and I have the picture.jpg with the watermark not removed.  I would like to replace the " ......
#27
cpg1.4.x Deutsch (German) / Watermark Proportionen
February 25, 2009, 10:38:07 AM by sylvia.r
...... , je nach Bildauflösung, die Proportionen für Watermarker zu verändern?  Gruß und Danke S. ......
#28
......  All,  I wondering if is it possible to add watermark for pictures for individual user or category in  ............  in the gallery, and of course I would like to add watermark for every users' pictures.  regards,  ......
......  use Mod Stramm V3 and CPG 1.4.9  When i turn the watermark option on and choose "which files to watermark"  ............  both, only the resized picture get the watermark. If i click on the resized picture, the fullsized  ............  display without watermark.  How can i change, that the fullsize picture  ............  got a watermark......
...... . Dies bedeutet dass die von mir erstellte Watermark Datei in der Größe automatisch angepasst wird.  ......