Image Watermark - Version 1.2.0

Version Description

  • New: Frontend watermarking option (for front-end upload plugins and custom front-end upload code)
  • New: Introducing 'iw_watermark_display' filter
  • New: Option to delete all plugin data on deactivation
  • Tweak: Rewritten watermark application method
  • Tweak: UI enhancements for settings page
Download this release

Release Info

Developer dfactory
Plugin Icon 128x128 Image Watermark
Version 1.2.0
Comparing to
See all releases

Code changes from version 1.1.4 to 1.2.0

css/image-watermark.css CHANGED
@@ -32,4 +32,7 @@
32
  #df-credits .inner { padding:15px 10px; }
33
  #df-credits .df-link { font-family: Georgia,"Times New Roman","Bitstream Charter",Times,serif; font-style:italic; margin:0; }
34
  #df-credits .df-link a { vertical-align: middle; padding: 5px 0 0 7px; }
35
- #cpt-select { margin-top: 5px; }
 
 
 
32
  #df-credits .inner { padding:15px 10px; }
33
  #df-credits .df-link { font-family: Georgia,"Times New Roman","Bitstream Charter",Times,serif; font-style:italic; margin:0; }
34
  #df-credits .df-link a { vertical-align: middle; padding: 5px 0 0 7px; }
35
+ #cpt-select { margin-top: 5px; }
36
+ .wplike-slider span.middle { width: 150px; }
37
+ .wplike-slider span.left { margin-right: 10px; }
38
+ .wplike-slider span.right { margin-left: 10px; }
css/wp-like-ui-theme.css CHANGED
@@ -655,7 +655,8 @@ button.ui-button::-moz-focus-inner { border: 0; padding: 0; } /* reset extra pad
655
  .ui-datepicker select.ui-datepicker-month-year {width: 100%;}
656
  .ui-datepicker select.ui-datepicker-month,
657
  .ui-datepicker select.ui-datepicker-year { width: 49%;}
658
- .ui-datepicker table {width: 100%; font-size: .9em; border-collapse: collapse; margin:0 0 .4em; }
 
659
  .ui-datepicker th { padding: .7em .3em; text-align: center; font-weight: normal; border: 0; }
660
  .ui-datepicker td { border: 0; padding: 1px; }
661
  .ui-datepicker td span, .ui-datepicker td a { display: block; padding: .2em; text-align: center; text-decoration: none; }
@@ -772,3 +773,10 @@ button.ui-button::-moz-focus-inner { border: 0; padding: 0; } /* reset extra pad
772
  -moz-box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
773
  box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
774
  }
 
 
 
 
 
 
 
655
  .ui-datepicker select.ui-datepicker-month-year {width: 100%;}
656
  .ui-datepicker select.ui-datepicker-month,
657
  .ui-datepicker select.ui-datepicker-year { width: 49%;}
658
+ .ui-datepicker table {width: 100%; font-size: .9em; border-collapse: collapse; margin:0 0 .4em; background:#fff; }
659
+ .ui-datepicker.ui-widget-content { background:#fff; }
660
  .ui-datepicker th { padding: .7em .3em; text-align: center; font-weight: normal; border: 0; }
661
  .ui-datepicker td { border: 0; padding: 1px; }
662
  .ui-datepicker td span, .ui-datepicker td a { display: block; padding: .2em; text-align: center; text-decoration: none; }
773
  -moz-box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
774
  box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
775
  }
776
+
777
+ /* Time picker Addon */
778
+ .ui-timepicker-div .ui-widget-header { position:relative; padding:.35em 0; border: none; border-bottom: 1px solid #dfdfdf; -moz-border-radius: 0; -webkit-border-radius: 0; border-radius: 0; }
779
+ .ui-timepicker-div dl { padding:0 7px; }
780
+ .ui-timepicker-div dl { border-collapse: collapse; font-size: 0.9em; }
781
+ .ui_tpicker_hour_slider, .ui_tpicker_minute_slider { width:100%;}
782
+ .ui-timepicker-div .ui-slider .ui-slider-handle { background: url("images/slider_handles.png") no-repeat scroll 0 0 transparent; border:none; }
image-watermark.php CHANGED
@@ -1,8 +1,8 @@
1
  <?php
2
  /*
3
  Plugin Name: Image Watermark
4
- Description: Image Watermark allows you to automatically and manually watermark images uploaded to the WordPress Media Library.
5
- Version: 1.1.4
6
  Author: dFactory
7
  Author URI: http://www.dfactory.eu/
8
  Plugin URI: http://www.dfactory.eu/plugins/image-watermark/
@@ -30,6 +30,7 @@ if(version_compare(PHP_VERSION, '5.0', '<') || version_compare($wp_version, '3.5
30
 
31
  class Image_Watermark
32
  {
 
33
  private $_messages = array();
34
  private $_image_sizes = array();
35
  private $_watermark_positions = array (
@@ -48,6 +49,7 @@ class Image_Watermark
48
  'url' => 0,
49
  'width' => 80,
50
  'plugin_off' => 0,
 
51
  'manual_watermarking' => 0,
52
  'position' => 'bottom_right',
53
  'watermark_size_type' => 2,
@@ -57,13 +59,15 @@ class Image_Watermark
57
  'absolute_height' => 0,
58
  'transparent' => 50,
59
  'quality' => 90,
60
- 'jpeg_format' => 'baseline'
 
61
  ),
62
  'df_image_protection' => array(
63
  'rightclick' => 0,
64
  'draganddrop' => 0,
65
  'forlogged' => 0,
66
- )
 
67
  );
68
 
69
 
@@ -71,6 +75,23 @@ class Image_Watermark
71
  {
72
  //register installer function
73
  register_activation_hook(__FILE__, array(&$this, 'activate_watermark'));
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
74
 
75
  //actions
76
  add_action('plugins_loaded', array(&$this, 'load_textdomain'));
@@ -84,7 +105,37 @@ class Image_Watermark
84
  //filters
85
  add_filter('plugin_row_meta', array(&$this, 'plugin_extend_links'), 10, 2);
86
  add_filter('plugin_action_links', array(&$this, 'plugin_settings_link'), 10, 2);
87
- add_filter('wp_handle_upload_prefilter', array(&$this, 'delay_upload_filter'), 10, 1);
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
88
  }
89
 
90
 
@@ -100,7 +151,7 @@ class Image_Watermark
100
  $opt = get_option('df_watermark_image');
101
  $wp_list_table = _get_list_table('WP_Media_List_Table');
102
 
103
- //update-fix from 1.1.0 to later versions
104
  $opt['manual_watermarking'] = (isset($opt['manual_watermarking']) ? $opt['manual_watermarking'] : $this->_options['df_watermark_image']['manual_watermarking']);
105
 
106
  //only if manual watermarking is turned on and image watermark is set
@@ -130,7 +181,7 @@ class Image_Watermark
130
  //is this really an image?
131
  if(in_array(get_post_mime_type($media_id), $this->_allowed_mime_types) && is_array($data))
132
  {
133
- $this->apply_watermark($data);
134
  $watermarked++;
135
  }
136
  else $skipped++;
@@ -185,29 +236,6 @@ class Image_Watermark
185
  }
186
 
187
 
188
- /**
189
- * Applies watermark everywhere or for specific post types
190
- */
191
- public function delay_upload_filter($file)
192
- {
193
- $option_wi = get_option('df_watermark_image');
194
-
195
- //if plugin is activated and turned on and watermark image is set
196
- if($option_wi['plugin_off'] === 0 && $option_wi['url'] !== 0 && isset($_REQUEST['post_id']) && in_array($file['type'], $this->_allowed_mime_types))
197
- {
198
- $option = get_option('df_watermark_cpt_on');
199
-
200
- //when apply watermark? everywhere or specific custom post types
201
- if(((isset($option[0], $_REQUEST['name']) && $option[0] === 'everywhere') || in_array(get_post_type($_REQUEST['post_id']), array_keys($option)) === TRUE))
202
- {
203
- add_filter('wp_generate_attachment_metadata', array(&$this, 'apply_watermark'));
204
- }
205
- }
206
-
207
- return $file;
208
- }
209
-
210
-
211
  /**
212
  * Loads textdomain
213
  */
@@ -270,7 +298,7 @@ class Image_Watermark
270
  {
271
  $opt = get_option('df_watermark_image');
272
 
273
- //update-fix from 1.1.0 to later versions
274
  $opt['manual_watermarking'] = (isset($opt['manual_watermarking']) ? $opt['manual_watermarking'] : $this->_options['df_watermark_image']['manual_watermarking']);
275
 
276
  if($opt['manual_watermarking'] === 1)
@@ -293,16 +321,12 @@ class Image_Watermark
293
  {
294
  wp_enqueue_media();
295
 
296
- wp_enqueue_script(
297
  'upload-manager',
298
  plugins_url('/js/upload-manager-admin.js', __FILE__)
299
  );
300
 
301
- wp_enqueue_script(
302
- 'watermark-admin-script',
303
- plugins_url('js/image-watermark-admin.js', __FILE__),
304
- array('jquery', 'jquery-ui-core', 'jquery-ui-button')
305
- );
306
 
307
  wp_localize_script(
308
  'upload-manager',
@@ -318,8 +342,35 @@ class Image_Watermark
318
  )
319
  );
320
 
321
- wp_enqueue_style('watermark-style', plugins_url('css/image-watermark.css', __FILE__));
322
- wp_enqueue_style('wp-like-ui-theme', plugins_url('css/wp-like-ui-theme.css', __FILE__));
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
323
  }
324
  }
325
 
@@ -461,6 +512,11 @@ class Image_Watermark
461
  $tmp[$image_option] = (isset($_POST[$option][$image_option]) ? ($_POST[$option][$image_option] <= 0 ? 0 : ($_POST[$option][$image_option] >= 100 ? 100 : (int)$_POST[$option][$image_option])) : $this->_options[$option][$image_option]);
462
  break;
463
 
 
 
 
 
 
464
  case 'plugin_off':
465
  case 'manual_watermarking':
466
  case 'offset_width':
@@ -525,34 +581,52 @@ class Image_Watermark
525
  <p>'.__('Settings saved.').'</p>
526
  </div>';
527
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
528
 
529
  $watermark_image = get_option('df_watermark_image');
530
  $image_protection = get_option('df_image_protection');
531
  $watermark_on = get_option('df_watermark_on');
532
 
533
- //update-fix from 1.1.0 to later versions
534
  $watermark_image['manual_watermarking'] = (isset($watermark_image['manual_watermarking']) ? $watermark_image['manual_watermarking'] : $this->_options['df_watermark_image']['manual_watermarking']);
535
 
536
- //update-fix from 1.1.2 to later versions
537
  $watermark_image['jpeg_format'] = (isset($watermark_image['jpeg_format']) ? $watermark_image['jpeg_format'] : $this->_options['df_watermark_image']['jpeg_format']);
538
  $watermark_image['quality'] = (isset($watermark_image['quality']) ? $watermark_image['quality'] : $this->_options['df_watermark_image']['quality']);
539
 
540
  $errors = '';
541
 
542
- if(($watermark_image['plugin_off'] === 0 || $watermark_image['manual_watermarking'] === 1))
543
  {
544
  if($watermark_image['url'] === 0)
545
- {
546
- $errors .= __('Watermark will not be applied when <b>watermark image is not set</b>.', 'image-watermark');
547
- }
548
 
549
  if(empty($watermark_on))
550
- {
551
  $errors .= ($errors !== '' ? '<br />' : '').__('Watermark will not be applied when <b>no image sizes are selected</b>.', 'image-watermark');
552
- }
 
 
 
 
 
553
 
554
- echo ($errors !== '' ? sprintf('<div class="error"><p>%s</p></div>', $errors) : '');
 
555
  }
 
 
556
  ?>
557
  <div class="wrap">
558
  <div id="icon-options-general" class="icon32"><br /></div>
@@ -623,6 +697,38 @@ class Image_Watermark
623
  </fieldset>
624
  </td>
625
  </tr>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
626
  </table>
627
  <hr />
628
  <h3><?php echo __('Watermark position', 'image-watermark'); ?></h3>
@@ -742,7 +848,12 @@ class Image_Watermark
742
  <th scope="row"><?php _e('Scale of watermark in relation to image width', 'image-watermark'); ?></th>
743
  <td class="wr_width">
744
  <fieldset class="wr_width">
745
- <input type="text" size="5" name="df_watermark_image[width]" value="<?php echo $watermark_image['width']; ?>">%
 
 
 
 
 
746
  </fieldset>
747
  <p class="howto"><?php _e('This value will be used if "scaled" method if selected above. <br />Enter a number ranging from 0 to 100. 100 makes width of watermark image equal to width of the image it is applied to.', 'image-watermark'); ?></p>
748
  </td>
@@ -751,7 +862,12 @@ class Image_Watermark
751
  <th scope="row"><?php _e('Watermark transparency / opacity', 'image-watermark'); ?></th>
752
  <td class="wr_width">
753
  <fieldset class="wr_width">
754
- <input type="text" size="5" maxlength="3" name="df_watermark_image[transparent]" value="<?php echo $watermark_image['transparent']; ?>">%
 
 
 
 
 
755
  </fieldset>
756
  <p class="howto"><?php _e('Enter a number ranging from 0 to 100. 0 makes watermark image completely transparent, 100 shows it as is.', 'image-watermark'); ?></p>
757
  </td>
@@ -760,9 +876,14 @@ class Image_Watermark
760
  <th scope="row"><?php _e('Image quality', 'image-watermark'); ?></th>
761
  <td class="wr_width">
762
  <fieldset class="wr_width">
763
- <input type="text" size="5" maxlength="3" name="df_watermark_image[quality]" value="<?php echo $watermark_image['quality']; ?>">%
 
 
 
 
 
764
  </fieldset>
765
- <p class="howto"><?php _e('Set watermark image quality.', 'image-watermark'); ?></p>
766
  </td>
767
  </tr>
768
  <tr valign="top">
@@ -799,10 +920,10 @@ class Image_Watermark
799
  </table>
800
  <hr />
801
  <input type="submit" id="watermark-submit" class="button button-primary" name="submit" value="<?php _e('Save Changes', 'image-watermark'); ?>" />
 
802
  </form>
803
  </div>
804
  </div>
805
-
806
  <div id="df-credits" class="postbox-container">
807
  <h3 class="metabox-title"><?php _e('Image Watermark', 'image-watermark'); ?></h3>
808
  <div class="inner">
@@ -814,30 +935,47 @@ class Image_Watermark
814
  <?php _e('Blog about it & link to the','image-watermark'); ?> <a href="http://dfactory.eu/plugins/image-watermark/" target="_blank" title="<?php _e('plugin page', 'image-watermark'); ?>"><?php _e('plugin page', 'image-watermark'); ?></a><br />
815
  <?php _e('Check out our other', 'image-watermark'); ?> <a href="http://dfactory.eu/plugins/" target="_blank" title="<?php _e('WordPress plugins', 'image-watermark'); ?>"><?php _e('WordPress plugins', 'image-watermark'); ?></a>
816
  </p>
817
-
818
  <hr />
819
  <p class="df-link"><?php _e('Created by', 'restrict-widgets'); ?><a href="http://www.dfactory.eu" target="_blank" title="dFactory - Quality plugins for WordPress"><img src="<?php echo plugins_url( 'images/logo-dfactory.png' , __FILE__ ); ?>" title="dFactory - Quality plugins for WordPress" alt="dFactory - Quality plugins for WordPress" /></a></p>
820
-
821
  </div>
822
  </div>
823
-
824
  </div>
825
  <?php
826
  }
827
 
828
 
829
  /**
830
- * Plugin installation method
831
  */
832
  public function activate_watermark()
833
  {
834
- //record install time
835
- add_option('df_watermark_installed', time(), NULL, 'no');
836
 
837
  //loop through default options and add them into DB
838
  foreach($this->_options as $option => $value)
839
  {
840
- add_option($option, $value, NULL, 'no');
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
841
  }
842
  }
843
 
@@ -848,18 +986,29 @@ class Image_Watermark
848
  * @param array $data
849
  * @return array
850
  */
851
- public function apply_watermark($data)
852
  {
 
 
 
 
 
 
 
 
 
 
 
 
 
 
853
  $upload_dir = wp_upload_dir();
854
 
855
  //is this really an iamge?
856
  if(getimagesize($upload_dir['basedir'].DIRECTORY_SEPARATOR.$data['file']) !== FALSE)
857
  {
858
- //get settings for watermarking
859
- $watermark_on = get_option('df_watermark_on');
860
-
861
  //loop through active image sizes
862
- foreach($watermark_on as $image_size => $active_size)
863
  {
864
  if($active_size === 1)
865
  {
@@ -911,7 +1060,7 @@ class Image_Watermark
911
  $options[$option] = get_option($option);
912
  }
913
 
914
- //update-fix from 1.1.2 to later versions
915
  $options['df_watermark_image']['quality'] = (isset($options['df_watermark_image']['quality']) ? $options['df_watermark_image']['quality'] : $this->_options['df_watermark_image']['quality']);
916
 
917
  $options = apply_filters('iw_watermark_options', $options);
@@ -925,7 +1074,7 @@ class Image_Watermark
925
  //add watermark image to image
926
  if($this->add_watermark_image($image, $options) !== FALSE)
927
  {
928
- //update-fix from 1.1.2 to later versions
929
  $options['df_watermark_image']['jpeg_format'] = (isset($options['df_watermark_image']['jpeg_format']) ? $options['df_watermark_image']['jpeg_format'] : $this->_options['df_watermark_image']['jpeg_format']);
930
 
931
  if($options['df_watermark_image']['jpeg_format'] === 'progressive')
1
  <?php
2
  /*
3
  Plugin Name: Image Watermark
4
+ Description: Image Watermark allows you to automatically watermark images uploaded to the WordPress Media Library and bulk watermark previously uploaded images.
5
+ Version: 1.2.0
6
  Author: dFactory
7
  Author URI: http://www.dfactory.eu/
8
  Plugin URI: http://www.dfactory.eu/plugins/image-watermark/
30
 
31
  class Image_Watermark
32
  {
33
+ private $is_admin = TRUE;
34
  private $_messages = array();
35
  private $_image_sizes = array();
36
  private $_watermark_positions = array (
49
  'url' => 0,
50
  'width' => 80,
51
  'plugin_off' => 0,
52
+ 'frontend_active' => FALSE,
53
  'manual_watermarking' => 0,
54
  'position' => 'bottom_right',
55
  'watermark_size_type' => 2,
59
  'absolute_height' => 0,
60
  'transparent' => 50,
61
  'quality' => 90,
62
+ 'jpeg_format' => 'baseline',
63
+ 'deactivation_delete' => FALSE
64
  ),
65
  'df_image_protection' => array(
66
  'rightclick' => 0,
67
  'draganddrop' => 0,
68
  'forlogged' => 0,
69
+ ),
70
+ 'version' => '1.2'
71
  );
72
 
73
 
75
  {
76
  //register installer function
77
  register_activation_hook(__FILE__, array(&$this, 'activate_watermark'));
78
+ register_deactivation_hook(__FILE__, array(&$this, 'deactivate_watermark'));
79
+
80
+ //update-fix from 1.1.4
81
+ if(version_compare((($db_version = get_option('image_watermark_version')) === FALSE ? '1.0.0' : $db_version), '1.2', '<'))
82
+ {
83
+ $options_wi = (($tmp = get_option('df_watermark_image')) !== FALSE ? $tmp : $this->_options['df_watermark_image']);
84
+
85
+ //new options
86
+ $options_wi['frontend_active'] = $this->_options['df_watermark_image']['frontend_active'];
87
+ $options_wi['deactivation_delete'] = $this->_options['df_watermark_image']['deactivation_delete'];
88
+
89
+ //save new options
90
+ update_option('df_watermark_image', $options_wi);
91
+
92
+ //update version
93
+ update_option('image_watermark_version', $this->_options['version']);
94
+ }
95
 
96
  //actions
97
  add_action('plugins_loaded', array(&$this, 'load_textdomain'));
105
  //filters
106
  add_filter('plugin_row_meta', array(&$this, 'plugin_extend_links'), 10, 2);
107
  add_filter('plugin_action_links', array(&$this, 'plugin_settings_link'), 10, 2);
108
+ add_filter('wp_handle_upload', array(&$this, 'handle_upload_files'));
109
+ }
110
+
111
+
112
+ /**
113
+ * Applies watermark everywhere or for specific (custom) post types
114
+ */
115
+ public function handle_upload_files($file)
116
+ {
117
+ $opt = get_option('df_watermark_image');
118
+
119
+ //admin side, we cant use is_admin() here due to frontend's admin-ajax.php request
120
+ if(strpos(strtolower(wp_get_referer()), strtolower(admin_url()), 0) === 0)
121
+ {
122
+ $this->is_admin = TRUE;
123
+
124
+ //apply watermark if backend is active and watermark image is set
125
+ if($opt['plugin_off'] === 0 && $opt['url'] !== 0 && in_array($file['type'], $this->_allowed_mime_types))
126
+ add_filter('wp_generate_attachment_metadata', array(&$this, 'apply_watermark'), 10, 2);
127
+ }
128
+ //front side
129
+ else
130
+ {
131
+ $this->is_admin = FALSE;
132
+
133
+ //apply watermark if frontend is active and watermark image is set
134
+ if($opt['frontend_active'] === TRUE && $opt['url'] !== 0 && in_array($file['type'], $this->_allowed_mime_types))
135
+ add_filter('wp_generate_attachment_metadata', array(&$this, 'apply_watermark'), 10, 2);
136
+ }
137
+
138
+ return $file;
139
  }
140
 
141
 
151
  $opt = get_option('df_watermark_image');
152
  $wp_list_table = _get_list_table('WP_Media_List_Table');
153
 
154
+ //update-fix from 1.1.0
155
  $opt['manual_watermarking'] = (isset($opt['manual_watermarking']) ? $opt['manual_watermarking'] : $this->_options['df_watermark_image']['manual_watermarking']);
156
 
157
  //only if manual watermarking is turned on and image watermark is set
181
  //is this really an image?
182
  if(in_array(get_post_mime_type($media_id), $this->_allowed_mime_types) && is_array($data))
183
  {
184
+ $this->apply_watermark($data, 'manual');
185
  $watermarked++;
186
  }
187
  else $skipped++;
236
  }
237
 
238
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
239
  /**
240
  * Loads textdomain
241
  */
298
  {
299
  $opt = get_option('df_watermark_image');
300
 
301
+ //update-fix from 1.1.0
302
  $opt['manual_watermarking'] = (isset($opt['manual_watermarking']) ? $opt['manual_watermarking'] : $this->_options['df_watermark_image']['manual_watermarking']);
303
 
304
  if($opt['manual_watermarking'] === 1)
321
  {
322
  wp_enqueue_media();
323
 
324
+ wp_register_script(
325
  'upload-manager',
326
  plugins_url('/js/upload-manager-admin.js', __FILE__)
327
  );
328
 
329
+ wp_enqueue_script('upload-manager');
 
 
 
 
330
 
331
  wp_localize_script(
332
  'upload-manager',
342
  )
343
  );
344
 
345
+ wp_register_script(
346
+ 'watermark-admin-script',
347
+ plugins_url('js/image-watermark-admin.js', __FILE__),
348
+ array('jquery', 'jquery-ui-core', 'jquery-ui-button', 'jquery-ui-slider')
349
+ );
350
+
351
+ wp_enqueue_script('watermark-admin-script');
352
+
353
+ wp_localize_script(
354
+ 'watermark-admin-script',
355
+ 'iwArgs',
356
+ array(
357
+ 'resetToDefaults' => __('Are you sure you want to reset settings to defaults?', 'image-watermark')
358
+ )
359
+ );
360
+
361
+ wp_register_style(
362
+ 'watermark-style',
363
+ plugins_url('css/image-watermark.css', __FILE__)
364
+ );
365
+
366
+ wp_enqueue_style('watermark-style');
367
+
368
+ wp_register_style(
369
+ 'wp-like-ui-theme',
370
+ plugins_url('css/wp-like-ui-theme.css', __FILE__)
371
+ );
372
+
373
+ wp_enqueue_style('wp-like-ui-theme');
374
  }
375
  }
376
 
512
  $tmp[$image_option] = (isset($_POST[$option][$image_option]) ? ($_POST[$option][$image_option] <= 0 ? 0 : ($_POST[$option][$image_option] >= 100 ? 100 : (int)$_POST[$option][$image_option])) : $this->_options[$option][$image_option]);
513
  break;
514
 
515
+ case 'deactivation_delete':
516
+ case 'frontend_active':
517
+ $tmp[$image_option] = (isset($_POST[$option][$image_option]) ? ($_POST[$option][$image_option] == 1 ? TRUE : FALSE) : $this->_options[$option][$image_option]);
518
+ break;
519
+
520
  case 'plugin_off':
521
  case 'manual_watermarking':
522
  case 'offset_width':
581
  <p>'.__('Settings saved.').'</p>
582
  </div>';
583
  }
584
+ //reset to defaults
585
+ elseif(isset($_POST['reset']))
586
+ {
587
+ foreach($this->_options as $option => $value)
588
+ {
589
+ update_option($option, $value);
590
+ }
591
+
592
+ echo '
593
+ <div class="updated">
594
+ <p>'.__('Settings restored to defaults.').'</p>
595
+ </div>';
596
+ }
597
 
598
  $watermark_image = get_option('df_watermark_image');
599
  $image_protection = get_option('df_image_protection');
600
  $watermark_on = get_option('df_watermark_on');
601
 
602
+ //update-fix from 1.1.0
603
  $watermark_image['manual_watermarking'] = (isset($watermark_image['manual_watermarking']) ? $watermark_image['manual_watermarking'] : $this->_options['df_watermark_image']['manual_watermarking']);
604
 
605
+ //update-fix from 1.1.2
606
  $watermark_image['jpeg_format'] = (isset($watermark_image['jpeg_format']) ? $watermark_image['jpeg_format'] : $this->_options['df_watermark_image']['jpeg_format']);
607
  $watermark_image['quality'] = (isset($watermark_image['quality']) ? $watermark_image['quality'] : $this->_options['df_watermark_image']['quality']);
608
 
609
  $errors = '';
610
 
611
+ if($watermark_image['plugin_off'] === 0 || $watermark_image['manual_watermarking'] === 1)
612
  {
613
  if($watermark_image['url'] === 0)
614
+ $errors .= ($errors !== '' ? '<br />' : '').__('Watermark will not be applied when <b>watermark image is not set</b>.', 'image-watermark');
 
 
615
 
616
  if(empty($watermark_on))
 
617
  $errors .= ($errors !== '' ? '<br />' : '').__('Watermark will not be applied when <b>no image sizes are selected</b>.', 'image-watermark');
618
+ }
619
+
620
+ if($watermark_image['frontend_active'] === TRUE)
621
+ {
622
+ if($watermark_image['url'] === 0)
623
+ $errors .= ($errors !== '' ? '<br />' : '').__('Watermark will not be applied while frontend image upload if <b>watermark image is not set</b>.', 'image-watermark');
624
 
625
+ if(empty($watermark_on))
626
+ $errors .= ($errors !== '' ? '<br />' : '').__('Watermark will not be applied while frontend image upload if <b>no image sizes are selected</b>.', 'image-watermark');
627
  }
628
+
629
+ echo ($errors !== '' ? sprintf('<div class="error"><p>%s</p></div>', $errors) : '');
630
  ?>
631
  <div class="wrap">
632
  <div id="icon-options-general" class="icon32"><br /></div>
697
  </fieldset>
698
  </td>
699
  </tr>
700
+ </table>
701
+ <table id="watermark-general-table-front" class="form-table">
702
+ <tr valign="top">
703
+ <th scope="row"><?php echo __('Automatic frontend watermarking', 'image-watermark'); ?></th>
704
+ <td class="wr_width">
705
+ <fieldset class="wr_width">
706
+ <div id="run-watermark-front">
707
+ <label for="frontend_active"><?php echo __('on', 'image-watermark'); ?></label>
708
+ <input type="radio" id="frontend_active" value="1" name="df_watermark_image[frontend_active]" <?php checked($watermark_image['frontend_active'], TRUE, TRUE); ?> />
709
+ <label for="frontend_inactive"><?php echo __('off', 'image-watermark'); ?></label>
710
+ <input type="radio" id="frontend_inactive" value="0" name="df_watermark_image[frontend_active]" <?php checked($watermark_image['frontend_active'], FALSE, TRUE); ?> />
711
+ </div>
712
+ <p class="howto"><?php echo __('Enable or disable watermark for frontend image uploading. (uploading script is not included, but you may use a plugin or custom code). Notice: This functionality works only if uploaded images are processed using WordPress native upload methods.', 'image-watermark'); ?></p>
713
+ </fieldset>
714
+ </td>
715
+ </tr>
716
+ </table>
717
+ <table id="watermark-general-table-deactivation" class="form-table">
718
+ <tr valign="top">
719
+ <th scope="row"><?php echo __('Plugin deactivation', 'image-watermark'); ?></th>
720
+ <td class="wr_width">
721
+ <fieldset class="wr_width">
722
+ <div id="deactivation-delete">
723
+ <label for="deactivate_on"><?php echo __('on', 'image-watermark'); ?></label>
724
+ <input type="radio" id="deactivate_on" value="1" name="df_watermark_image[deactivation_delete]" <?php checked($watermark_image['deactivation_delete'], TRUE, TRUE); ?> />
725
+ <label for="deactivate_off"><?php echo __('off', 'image-watermark'); ?></label>
726
+ <input type="radio" id="deactivate_off" value="0" name="df_watermark_image[deactivation_delete]" <?php checked($watermark_image['deactivation_delete'], FALSE, TRUE); ?> />
727
+ </div>
728
+ <p class="howto"><?php echo __('Delete all database settings on plugin deactivation.', 'image-watermark'); ?></p>
729
+ </fieldset>
730
+ </td>
731
+ </tr>
732
  </table>
733
  <hr />
734
  <h3><?php echo __('Watermark position', 'image-watermark'); ?></h3>
848
  <th scope="row"><?php _e('Scale of watermark in relation to image width', 'image-watermark'); ?></th>
849
  <td class="wr_width">
850
  <fieldset class="wr_width">
851
+ <div>
852
+ <input type="text" id="iw_size_input" maxlength="3" class="hide-if-js" name="df_watermark_image[width]" value="<?php echo $watermark_image['width']; ?>" />
853
+ <div class="wplike-slider">
854
+ <span class="left hide-if-no-js">0</span><span class="middle" id="iw_size_span" title="<?php echo $watermark_image['width']; ?>"></span><span class="right hide-if-no-js">100</span>
855
+ </div>
856
+ </div>
857
  </fieldset>
858
  <p class="howto"><?php _e('This value will be used if "scaled" method if selected above. <br />Enter a number ranging from 0 to 100. 100 makes width of watermark image equal to width of the image it is applied to.', 'image-watermark'); ?></p>
859
  </td>
862
  <th scope="row"><?php _e('Watermark transparency / opacity', 'image-watermark'); ?></th>
863
  <td class="wr_width">
864
  <fieldset class="wr_width">
865
+ <div>
866
+ <input type="text" id="iw_opacity_input" maxlength="3" class="hide-if-js" name="df_watermark_image[transparent]" value="<?php echo $watermark_image['transparent']; ?>" />
867
+ <div class="wplike-slider">
868
+ <span class="left hide-if-no-js">0</span><span class="middle" id="iw_opacity_span" title="<?php echo $watermark_image['transparent']; ?>"></span><span class="right hide-if-no-js">100</span>
869
+ </div>
870
+ </div>
871
  </fieldset>
872
  <p class="howto"><?php _e('Enter a number ranging from 0 to 100. 0 makes watermark image completely transparent, 100 shows it as is.', 'image-watermark'); ?></p>
873
  </td>
876
  <th scope="row"><?php _e('Image quality', 'image-watermark'); ?></th>
877
  <td class="wr_width">
878
  <fieldset class="wr_width">
879
+ <div>
880
+ <input type="text" id="iw_quality_input" maxlength="3" class="hide-if-js" name="df_watermark_image[quality]" value="<?php echo $watermark_image['quality']; ?>" />
881
+ <div class="wplike-slider">
882
+ <span class="left hide-if-no-js">0</span><span class="middle" id="iw_quality_span" title="<?php echo $watermark_image['quality']; ?>"></span><span class="right hide-if-no-js">100</span>
883
+ </div>
884
+ </div>
885
  </fieldset>
886
+ <p class="howto"><?php _e('Set output image quality.', 'image-watermark'); ?></p>
887
  </td>
888
  </tr>
889
  <tr valign="top">
920
  </table>
921
  <hr />
922
  <input type="submit" id="watermark-submit" class="button button-primary" name="submit" value="<?php _e('Save Changes', 'image-watermark'); ?>" />
923
+ <input type="submit" id="watermark-reset" class="button button-secondary" name="reset" value="<?php _e('Reset to defaults', 'image-watermark'); ?>" />
924
  </form>
925
  </div>
926
  </div>
 
927
  <div id="df-credits" class="postbox-container">
928
  <h3 class="metabox-title"><?php _e('Image Watermark', 'image-watermark'); ?></h3>
929
  <div class="inner">
935
  <?php _e('Blog about it & link to the','image-watermark'); ?> <a href="http://dfactory.eu/plugins/image-watermark/" target="_blank" title="<?php _e('plugin page', 'image-watermark'); ?>"><?php _e('plugin page', 'image-watermark'); ?></a><br />
936
  <?php _e('Check out our other', 'image-watermark'); ?> <a href="http://dfactory.eu/plugins/" target="_blank" title="<?php _e('WordPress plugins', 'image-watermark'); ?>"><?php _e('WordPress plugins', 'image-watermark'); ?></a>
937
  </p>
 
938
  <hr />
939
  <p class="df-link"><?php _e('Created by', 'restrict-widgets'); ?><a href="http://www.dfactory.eu" target="_blank" title="dFactory - Quality plugins for WordPress"><img src="<?php echo plugins_url( 'images/logo-dfactory.png' , __FILE__ ); ?>" title="dFactory - Quality plugins for WordPress" alt="dFactory - Quality plugins for WordPress" /></a></p>
 
940
  </div>
941
  </div>
 
942
  </div>
943
  <?php
944
  }
945
 
946
 
947
  /**
948
+ * Plugin activation
949
  */
950
  public function activate_watermark()
951
  {
952
+ //save install time
953
+ add_option('df_watermark_installed', current_time('timestamp'), '', 'no');
954
 
955
  //loop through default options and add them into DB
956
  foreach($this->_options as $option => $value)
957
  {
958
+ add_option($option, $value, '', 'no');
959
+ }
960
+ }
961
+
962
+
963
+ /**
964
+ * Plugin deactivation
965
+ */
966
+ public function deactivate_watermark()
967
+ {
968
+ $opt = get_option('df_watermark_image');
969
+
970
+ //remove options from database?
971
+ if($opt['deactivation_delete'] === TRUE)
972
+ {
973
+ delete_option('df_image_protection');
974
+ delete_option('df_watermark_cpt_on');
975
+ delete_option('df_watermark_image');
976
+ delete_option('df_watermark_installed');
977
+ delete_option('df_watermark_on');
978
+ delete_option('image_watermark_version');
979
  }
980
  }
981
 
986
  * @param array $data
987
  * @return array
988
  */
989
+ public function apply_watermark($data, $attachment_id)
990
  {
991
+ $opt_img = get_option('df_watermark_image');
992
+ $opt_cpt = get_option('df_watermark_cpt_on');
993
+ $opt_won = get_option('df_watermark_on');
994
+
995
+ $post = get_post($attachment_id);
996
+ $post_id = (int)$post->post_parent;
997
+
998
+ //if something is wrong we dont apply the watermark
999
+ if(($attachment_id === 'manual' || $this->is_admin === TRUE) && !((isset($opt_cpt[0]) && $opt_cpt[0] === 'everywhere') || ($post_id > 0 && in_array(get_post_type($post_id), array_keys($opt_cpt)) === TRUE)))
1000
+ return $data;
1001
+
1002
+ if(apply_filters('iw_watermark_display', $attachment_id) === FALSE)
1003
+ return $data;
1004
+
1005
  $upload_dir = wp_upload_dir();
1006
 
1007
  //is this really an iamge?
1008
  if(getimagesize($upload_dir['basedir'].DIRECTORY_SEPARATOR.$data['file']) !== FALSE)
1009
  {
 
 
 
1010
  //loop through active image sizes
1011
+ foreach($opt_won as $image_size => $active_size)
1012
  {
1013
  if($active_size === 1)
1014
  {
1060
  $options[$option] = get_option($option);
1061
  }
1062
 
1063
+ //update-fix from 1.1.2
1064
  $options['df_watermark_image']['quality'] = (isset($options['df_watermark_image']['quality']) ? $options['df_watermark_image']['quality'] : $this->_options['df_watermark_image']['quality']);
1065
 
1066
  $options = apply_filters('iw_watermark_options', $options);
1074
  //add watermark image to image
1075
  if($this->add_watermark_image($image, $options) !== FALSE)
1076
  {
1077
+ //update-fix from 1.1.2
1078
  $options['df_watermark_image']['jpeg_format'] = (isset($options['df_watermark_image']['jpeg_format']) ? $options['df_watermark_image']['jpeg_format'] : $this->_options['df_watermark_image']['jpeg_format']);
1079
 
1080
  if($options['df_watermark_image']['jpeg_format'] === 'progressive')
js/image-watermark-admin.js CHANGED
@@ -7,18 +7,57 @@ jQuery(document).ready(function($) {
7
  );
8
 
9
  //buttons
10
- $('#run-watermark, #jpeg-format, #thumbnail-select, #watermark-type, #cpt-select, #cpt-specific, #run-manual-watermark').buttonset();
11
 
12
  //enable watermark for
13
- $('#df_option_everywhere, #df_option_cpt').change(function()
14
- {
15
- if($('#cpt-specific input[name=df_watermark_cpt_on]:checked').val() === 'everywhere')
16
- {
17
  $('#cpt-select').fadeOut(300);
18
- }
19
- else if($('#cpt-specific input[name=df_watermark_cpt_on]:checked').val() === 'specific')
20
- {
21
  $('#cpt-select').fadeIn(300);
22
  }
23
  });
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
24
  });
7
  );
8
 
9
  //buttons
10
+ $('#deactivation-delete, #run-watermark, #run-watermark-front, #jpeg-format, #thumbnail-select, #watermark-type, #cpt-select, #cpt-specific, #run-manual-watermark').buttonset();
11
 
12
  //enable watermark for
13
+ $(document).on('change', '#df_option_everywhere, #df_option_cpt', function() {
14
+ if($('#cpt-specific input[name=df_watermark_cpt_on]:checked').val() === 'everywhere') {
 
 
15
  $('#cpt-select').fadeOut(300);
16
+ } else if($('#cpt-specific input[name=df_watermark_cpt_on]:checked').val() === 'specific') {
 
 
17
  $('#cpt-select').fadeIn(300);
18
  }
19
  });
20
+
21
+ $(document).on('click', 'input#watermark-reset', function() {
22
+ return confirm(iwArgs.resetToDefaults);
23
+ });
24
+
25
+ //size slider
26
+ $('#iw_size_span').slider({
27
+ value: $('#iw_size_input').val(),
28
+ min: 0,
29
+ max: 100,
30
+ step: 1,
31
+ orientation: 'horizontal',
32
+ slide: function(e, ui) {
33
+ $('#iw_size_input').attr('value', ui.value);
34
+ $('#iw_size_span').attr('title', ui.value);
35
+ }
36
+ });
37
+
38
+ //opacity slider
39
+ $('#iw_opacity_span').slider({
40
+ value: $('#iw_opacity_input').val(),
41
+ min: 0,
42
+ max: 100,
43
+ step: 1,
44
+ orientation: 'horizontal',
45
+ slide: function(e, ui) {
46
+ $('#iw_opacity_input').attr('value', ui.value);
47
+ $('#iw_opacity_span').attr('title', ui.value);
48
+ }
49
+ });
50
+
51
+ //quality slider
52
+ $('#iw_quality_span').slider({
53
+ value: $('#iw_quality_input').val(),
54
+ min: 0,
55
+ max: 100,
56
+ step: 1,
57
+ orientation: 'horizontal',
58
+ slide: function(e, ui) {
59
+ $('#iw_quality_input').attr('value', ui.value);
60
+ $('#iw_quality_span').attr('title', ui.value);
61
+ }
62
+ });
63
  });
languages/image-watermark-pl_PL.mo CHANGED
Binary file
languages/image-watermark-pl_PL.po CHANGED
@@ -2,8 +2,8 @@ msgid ""
2
  msgstr ""
3
  "Project-Id-Version: WordPress Watermark\n"
4
  "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: 2013-06-11 13:16+0100\n"
6
- "PO-Revision-Date: 2013-06-11 13:16+0100\n"
7
  "Last-Translator: Bartosz Arendt <info@digitalfactory.pl>\n"
8
  "Language-Team: Digital Factory <info@digitalfactory.pl>\n"
9
  "Language: pl_PL\n"
@@ -14,7 +14,7 @@ msgstr ""
14
  "esc_attr_e\n"
15
  "X-Poedit-Basepath: .\n"
16
  "X-Poedit-SourceCharset: UTF-8\n"
17
- "X-Generator: Poedit 1.5.5\n"
18
  "Plural-Forms: nplurals=2; plural=n != 1;\n"
19
  "X-Poedit-SearchPath-0: ..\n"
20
 
@@ -25,7 +25,7 @@ msgstr ""
25
  "Przykro nam, ale ta wtyczka wymaga PHP w wersji co najmniej 5.0 WordPressa w "
26
  "wersji 3.5 lub wyższej.."
27
 
28
- #: ../image-watermark.php:164
29
  msgid ""
30
  "Watermark could not be applied to selected files or no valid images (JPEG, "
31
  "PNG) were selected."
@@ -33,116 +33,142 @@ msgstr ""
33
  "Znak wodny nie został został dodany do wybranych obrazków lub nie został "
34
  "wybrany prawidłowy typ pliku (JPEG, PNG)."
35
 
36
- #: ../image-watermark.php:164 ../image-watermark.php:168
37
  msgid "Skipped files"
38
  msgstr "Pominięte pliki"
39
 
40
- #: ../image-watermark.php:168
41
  #, php-format
42
  msgid "Watermark was succesfully applied to 1 image."
43
  msgid_plural "Watermark was succesfully applied to %s images."
44
  msgstr[0] "Znak wodny został dodany do 1 obrazka."
45
  msgstr[1] "Znak wodny został dodany do %s obrazków."
46
 
47
- #: ../image-watermark.php:234
48
  msgid "Support"
49
  msgstr "Forum pomocy"
50
 
51
- #: ../image-watermark.php:256
52
  msgid "Settings"
53
  msgstr "Ustawienia"
54
 
55
- #: ../image-watermark.php:287
56
  msgid "Apply watermark"
57
  msgstr "Dodaj znak wodny"
58
 
59
- #: ../image-watermark.php:311
60
  msgid "Select watermark"
61
  msgstr "Wybierz znak wodny"
62
 
63
- #: ../image-watermark.php:312 ../image-watermark.php:707
64
  msgid "Original size"
65
  msgstr "Rozmiar oryginalny"
66
 
67
- #: ../image-watermark.php:313 ../image-watermark.php:701
68
  msgid "Watermak has not been selected yet."
69
  msgstr "Znak wodny nie został jeszcze wybrany."
70
 
71
- #: ../image-watermark.php:314
72
  msgid "This image is not supported as watermark. Use JPEG, PNG or GIF."
73
  msgstr "Ten rodzaj obrazka nie może być znakiem wodnym. Użyj JPEG, PNG or GIF."
74
 
75
- #: ../image-watermark.php:316
76
  msgid "Add watermark"
77
  msgstr "Dodaj znak wodny"
78
 
79
- #: ../image-watermark.php:361
 
 
 
 
80
  msgid "Image Watermark Options"
81
  msgstr "Ustawienia znaku wodnego"
82
 
83
- #: ../image-watermark.php:362
84
  msgid "Watermark"
85
  msgstr "Znak wodny"
86
 
87
- #: ../image-watermark.php:388
88
  msgid "Image Watermark will not work properly without GD PHP extension."
89
  msgstr ""
90
  "Znak wodny nie może funkcjonować bez zainstalowanego rozszerzenia GD PHP."
91
 
92
- #: ../image-watermark.php:525
93
  msgid "Settings saved."
94
  msgstr "Ustawienia zostały zapisane."
95
 
96
- #: ../image-watermark.php:546
 
 
 
 
97
  msgid "Watermark will not be applied when <b>watermark image is not set</b>."
98
  msgstr ""
99
  "Znak wodny nie zostanie dodany ponieważ <b>nie wybrano obrazka dla znaku "
100
  "wodnego</b>."
101
 
102
- #: ../image-watermark.php:551
103
  msgid "Watermark will not be applied when <b>no image sizes are selected</b>."
104
  msgstr ""
105
  "Znak wodny nie zostanie dodany ponieważ <b>nie wybrano wielkości obrazków</"
106
  "b>."
107
 
108
- #: ../image-watermark.php:559
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
109
  msgid "Image Watermark Settings"
110
  msgstr "Ustawienia znaku wodnego"
111
 
112
- #: ../image-watermark.php:563
113
  msgid "General settings"
114
  msgstr "Ustawienia ogólne"
115
 
116
- #: ../image-watermark.php:566
117
  msgid "Automatic watermarking"
118
  msgstr "Automatyczne dodawanie znaku wodnego"
119
 
120
- #: ../image-watermark.php:570 ../image-watermark.php:586
 
121
  msgid "on"
122
  msgstr "włączony"
123
 
124
- #: ../image-watermark.php:572 ../image-watermark.php:588
 
125
  msgid "off"
126
  msgstr "wyłączony"
127
 
128
- #: ../image-watermark.php:575
129
  msgid "Enable or disable watermark for uploaded images."
130
  msgstr "Włącz lub wyłącz dodawanie znaku wodnego do wgrywanych obrazków."
131
 
132
- #: ../image-watermark.php:582
133
  msgid "Manual watermarking"
134
  msgstr "Ręczne dodawanie znaku wodnego"
135
 
136
- #: ../image-watermark.php:591
137
  msgid "Enable or disable Apply Watermark option for images in Media Library."
138
  msgstr ""
139
  "Włącz lub wyłącz dodawanie znaku wodnego do obrazków w Bibliotece mediów."
140
 
141
- #: ../image-watermark.php:598
142
  msgid "Enable watermark for"
143
  msgstr "Dodawaj znak wodny do"
144
 
145
- #: ../image-watermark.php:607
146
  msgid ""
147
  "Check image sizes on which watermark should appear. <b>Notice:</b> checking "
148
  "full size is not recommened as it's the original image."
@@ -151,15 +177,15 @@ msgstr ""
151
  "b> zaznaczenie pełnej wielkości nie jest rekomendowane, ponieważ jest to "
152
  "oryginał obrazka."
153
 
154
- #: ../image-watermark.php:613
155
  msgid "everywhere"
156
  msgstr "wszędzie"
157
 
158
- #: ../image-watermark.php:614
159
  msgid "on selected post types only"
160
  msgstr "na wybranych typach wpisów"
161
 
162
- #: ../image-watermark.php:622
163
  msgid ""
164
  "Check custom post types on which watermark should be applied to uploaded "
165
  "images."
@@ -167,97 +193,122 @@ msgstr ""
167
  "Zaznacz własne typy wpisów w których znak wodny będzie dodawany do "
168
  "wgrywanych obrazków."
169
 
170
- #: ../image-watermark.php:628
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
171
  msgid "Watermark position"
172
  msgstr "Pozycja znaku wodnego"
173
 
174
- #: ../image-watermark.php:631
175
  msgid "Watermark alignment"
176
  msgstr "Wyrównanie znaku wodnego"
177
 
178
- #: ../image-watermark.php:646
179
  msgid "Choose the position of watermark image."
180
  msgstr "Wybierz pozycję znaku wodnego na obrazkach"
181
 
182
- #: ../image-watermark.php:651
183
  msgid "Watermark offset"
184
  msgstr "Korekcja pozycji"
185
 
186
- #: ../image-watermark.php:654 ../image-watermark.php:734
187
  msgid "x:"
188
  msgstr "x:"
189
 
190
- #: ../image-watermark.php:654 ../image-watermark.php:656
191
- #: ../image-watermark.php:734 ../image-watermark.php:736
192
  msgid "px"
193
  msgstr "pikseli"
194
 
195
- #: ../image-watermark.php:656 ../image-watermark.php:736
196
  msgid "y:"
197
  msgstr "y:"
198
 
199
- #: ../image-watermark.php:672 ../image-watermark.php:676
200
  msgid "Watermark image"
201
  msgstr "Obrazek znaku wodnego"
202
 
203
- #: ../image-watermark.php:673
204
  msgid ""
205
  "Configure your watermark image. Allowed file formats are: JPEG, PNG, GIF."
206
  msgstr ""
207
  "Skonfiguruj obrazek znaku wodnego. Dozwolone formaty plików to: JPEG, PNG, "
208
  "GIF."
209
 
210
- #: ../image-watermark.php:679
211
  msgid "Select image"
212
  msgstr "Wybierz obrazek"
213
 
214
- #: ../image-watermark.php:680
215
  msgid "Turn off image"
216
  msgstr "Wyłącz obrazek"
217
 
218
- #: ../image-watermark.php:681
219
  msgid "You have to save changes after the selection or removal of the image."
220
  msgstr "Po zapisaniu zmian lub wybraniu obrazka powienieneś zapisać zmiany."
221
 
222
- #: ../image-watermark.php:685
223
  msgid "Watermark preview"
224
  msgstr "Podgląd obrazka"
225
 
226
- #: ../image-watermark.php:715
227
  msgid "Watermark size"
228
  msgstr "Wielkość znaku wodnego"
229
 
230
- #: ../image-watermark.php:719
231
  msgid "original"
232
  msgstr "oryginalna"
233
 
234
- #: ../image-watermark.php:721
235
  msgid "custom"
236
  msgstr "własna"
237
 
238
- #: ../image-watermark.php:723
239
  msgid "scaled"
240
  msgstr "skalowana"
241
 
242
- #: ../image-watermark.php:726
243
  msgid "Select method of aplying watermark size."
244
  msgstr "Wybierz sposób określania wielkości znaku wodnego."
245
 
246
- #: ../image-watermark.php:731
247
  msgid "Watermark custom size"
248
  msgstr "Własna wielkość"
249
 
250
- #: ../image-watermark.php:738
251
  msgid "Those dimensions will be used if \"custom\" method is selected above."
252
  msgstr ""
253
  "Te wymiary zostaną zastosowane, jeśli wybrałeś \"własną\" wielkość znaku "
254
  "wodnego. "
255
 
256
- #: ../image-watermark.php:742
257
  msgid "Scale of watermark in relation to image width"
258
  msgstr "Wielkość znaku wodnego w stosunku do szerokości obrazków"
259
 
260
- #: ../image-watermark.php:747
261
  msgid ""
262
  "This value will be used if \"scaled\" method if selected above. <br />Enter "
263
  "a number ranging from 0 to 100. 100 makes width of watermark image equal to "
@@ -268,11 +319,11 @@ msgstr ""
268
  "że wielkość znaku wodnego będzie równa wielkości obrazka, do którego jest "
269
  "dodawany."
270
 
271
- #: ../image-watermark.php:751
272
  msgid "Watermark transparency / opacity"
273
  msgstr "Przezroczystość znaku wodnego"
274
 
275
- #: ../image-watermark.php:756
276
  msgid ""
277
  "Enter a number ranging from 0 to 100. 0 makes watermark image completely "
278
  "transparent, 100 shows it as is."
@@ -280,99 +331,107 @@ msgstr ""
280
  "Wpisz liczbę z zakresu od 0 do 100. Wpisanie 0 spowoduje, że znak wodny "
281
  "będzie całkowicie przezroczysty, 100 że widoczny taki jak jest."
282
 
283
- #: ../image-watermark.php:760
284
  msgid "Image quality"
285
  msgstr "Jakość obrazka"
286
 
287
- #: ../image-watermark.php:765
288
- msgid "Set watermark image quality."
289
- msgstr "Wybierz jakość znaku wodnego"
290
 
291
- #: ../image-watermark.php:769
292
  msgid "Image format"
293
  msgstr "Format obrazka"
294
 
295
- #: ../image-watermark.php:773
296
  msgid "baseline"
297
  msgstr "baseline"
298
 
299
- #: ../image-watermark.php:775
300
  msgid "progressive"
301
  msgstr "progressive"
302
 
303
- #: ../image-watermark.php:779
304
  msgid "Select baseline or progressive image format."
305
  msgstr "Wybierz format obrazu."
306
 
307
- #: ../image-watermark.php:785
308
  msgid "Image protection"
309
  msgstr "Ochrona obrazków"
310
 
311
- #: ../image-watermark.php:788
312
  msgid "Disable right mouse click on images"
313
  msgstr "Wyłącz możliwość kliknięcia prawym przyciskiem myszy na obrazku"
314
 
315
- #: ../image-watermark.php:792
316
  msgid "Prevent drag and drop"
317
  msgstr "Wyłącz możliwość przeciągania i upuszczania obrazków"
318
 
319
- #: ../image-watermark.php:796
320
  msgid "Enable image protection for logged-in users also"
321
  msgstr "Włącz ochronę zdjęć także dla zalogowanych użytkowników"
322
 
323
- #: ../image-watermark.php:801
324
  msgid "Save Changes"
325
  msgstr "Zapisz zmiany"
326
 
327
- #: ../image-watermark.php:807
 
 
 
 
328
  msgid "Image Watermark"
329
  msgstr "Znak wodny"
330
 
331
- #: ../image-watermark.php:809
332
  msgid "Need support?"
333
  msgstr "Potrzebujesz pomocy?"
334
 
335
- #: ../image-watermark.php:810
336
  msgid ""
337
  "If you are having problems with this plugin, please talk about them in the"
338
  msgstr "Jeśli masz jakiekolwiek problemy z tą wtyczką, powiedz o tym na"
339
 
340
- #: ../image-watermark.php:810
341
  msgid "Support forum"
342
  msgstr "Forum pomocy"
343
 
344
- #: ../image-watermark.php:812
345
  msgid "Do you like this plugin?"
346
  msgstr "Lubisz tę wtyczkę?"
347
 
348
- #: ../image-watermark.php:813
349
  msgid "Rate it 5"
350
  msgstr "Oceń ją na 5"
351
 
352
- #: ../image-watermark.php:813
353
  msgid "on WordPress.org"
354
  msgstr "na WordPress.org"
355
 
356
- #: ../image-watermark.php:814
357
  msgid "Blog about it & link to the"
358
  msgstr "Napisz o niej i dodaj link do"
359
 
360
- #: ../image-watermark.php:814
361
  msgid "plugin page"
362
  msgstr "strony wtyczki"
363
 
364
- #: ../image-watermark.php:815
365
  msgid "Check out our other"
366
  msgstr "Sprawdź inne"
367
 
368
- #: ../image-watermark.php:815
369
  msgid "WordPress plugins"
370
  msgstr "wtyczki do WordPressa"
371
 
372
- #: ../image-watermark.php:819
373
  msgid "Created by"
374
  msgstr "Stworzone przez"
375
 
 
 
 
 
376
  #~ msgid "Check image sizes on which watermark should appear."
377
  #~ msgstr "Zaznacz wielkości obrazków dla których ma być dodawany znak wodny."
378
 
2
  msgstr ""
3
  "Project-Id-Version: WordPress Watermark\n"
4
  "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2013-10-02 13:02+0100\n"
6
+ "PO-Revision-Date: 2013-10-02 13:04+0100\n"
7
  "Last-Translator: Bartosz Arendt <info@digitalfactory.pl>\n"
8
  "Language-Team: Digital Factory <info@digitalfactory.pl>\n"
9
  "Language: pl_PL\n"
14
  "esc_attr_e\n"
15
  "X-Poedit-Basepath: .\n"
16
  "X-Poedit-SourceCharset: UTF-8\n"
17
+ "X-Generator: Poedit 1.5.7\n"
18
  "Plural-Forms: nplurals=2; plural=n != 1;\n"
19
  "X-Poedit-SearchPath-0: ..\n"
20
 
25
  "Przykro nam, ale ta wtyczka wymaga PHP w wersji co najmniej 5.0 WordPressa w "
26
  "wersji 3.5 lub wyższej.."
27
 
28
+ #: ../image-watermark.php:215
29
  msgid ""
30
  "Watermark could not be applied to selected files or no valid images (JPEG, "
31
  "PNG) were selected."
33
  "Znak wodny nie został został dodany do wybranych obrazków lub nie został "
34
  "wybrany prawidłowy typ pliku (JPEG, PNG)."
35
 
36
+ #: ../image-watermark.php:215 ../image-watermark.php:219
37
  msgid "Skipped files"
38
  msgstr "Pominięte pliki"
39
 
40
+ #: ../image-watermark.php:219
41
  #, php-format
42
  msgid "Watermark was succesfully applied to 1 image."
43
  msgid_plural "Watermark was succesfully applied to %s images."
44
  msgstr[0] "Znak wodny został dodany do 1 obrazka."
45
  msgstr[1] "Znak wodny został dodany do %s obrazków."
46
 
47
+ #: ../image-watermark.php:262
48
  msgid "Support"
49
  msgstr "Forum pomocy"
50
 
51
+ #: ../image-watermark.php:284
52
  msgid "Settings"
53
  msgstr "Ustawienia"
54
 
55
+ #: ../image-watermark.php:315
56
  msgid "Apply watermark"
57
  msgstr "Dodaj znak wodny"
58
 
59
+ #: ../image-watermark.php:335
60
  msgid "Select watermark"
61
  msgstr "Wybierz znak wodny"
62
 
63
+ #: ../image-watermark.php:336 ../image-watermark.php:813
64
  msgid "Original size"
65
  msgstr "Rozmiar oryginalny"
66
 
67
+ #: ../image-watermark.php:337 ../image-watermark.php:807
68
  msgid "Watermak has not been selected yet."
69
  msgstr "Znak wodny nie został jeszcze wybrany."
70
 
71
+ #: ../image-watermark.php:338
72
  msgid "This image is not supported as watermark. Use JPEG, PNG or GIF."
73
  msgstr "Ten rodzaj obrazka nie może być znakiem wodnym. Użyj JPEG, PNG or GIF."
74
 
75
+ #: ../image-watermark.php:340
76
  msgid "Add watermark"
77
  msgstr "Dodaj znak wodny"
78
 
79
+ #: ../image-watermark.php:357
80
+ msgid "Are you sure you want to reset settings to defaults?"
81
+ msgstr "Jesteś pewny, że chcesz zresetować ustawienia do domyślnych?"
82
+
83
+ #: ../image-watermark.php:412
84
  msgid "Image Watermark Options"
85
  msgstr "Ustawienia znaku wodnego"
86
 
87
+ #: ../image-watermark.php:413
88
  msgid "Watermark"
89
  msgstr "Znak wodny"
90
 
91
+ #: ../image-watermark.php:439
92
  msgid "Image Watermark will not work properly without GD PHP extension."
93
  msgstr ""
94
  "Znak wodny nie może funkcjonować bez zainstalowanego rozszerzenia GD PHP."
95
 
96
+ #: ../image-watermark.php:581
97
  msgid "Settings saved."
98
  msgstr "Ustawienia zostały zapisane."
99
 
100
+ #: ../image-watermark.php:594
101
+ msgid "Settings restored to defaults."
102
+ msgstr "Ustawienia zostały przywrócone do domyślnych."
103
+
104
+ #: ../image-watermark.php:614
105
  msgid "Watermark will not be applied when <b>watermark image is not set</b>."
106
  msgstr ""
107
  "Znak wodny nie zostanie dodany ponieważ <b>nie wybrano obrazka dla znaku "
108
  "wodnego</b>."
109
 
110
+ #: ../image-watermark.php:617
111
  msgid "Watermark will not be applied when <b>no image sizes are selected</b>."
112
  msgstr ""
113
  "Znak wodny nie zostanie dodany ponieważ <b>nie wybrano wielkości obrazków</"
114
  "b>."
115
 
116
+ #: ../image-watermark.php:623
117
+ msgid ""
118
+ "Watermark will not be applied while frontend image upload if <b>watermark "
119
+ "image is not set</b>."
120
+ msgstr ""
121
+ "Znak wodny nie zostanie dodany w trakcie wczytywania na froncie strony jeśli "
122
+ "<b>nie wybrano obrazka dla znaku wodnego</b>."
123
+
124
+ #: ../image-watermark.php:626
125
+ msgid ""
126
+ "Watermark will not be applied while frontend image upload if <b>no image "
127
+ "sizes are selected</b>."
128
+ msgstr ""
129
+ "Znak wodny nie zostanie dodany w trakcie wczytywania na froncie strony jeśli "
130
+ "<b>nie wybrano wielkości obrazków</b>."
131
+
132
+ #: ../image-watermark.php:633
133
  msgid "Image Watermark Settings"
134
  msgstr "Ustawienia znaku wodnego"
135
 
136
+ #: ../image-watermark.php:637
137
  msgid "General settings"
138
  msgstr "Ustawienia ogólne"
139
 
140
+ #: ../image-watermark.php:640
141
  msgid "Automatic watermarking"
142
  msgstr "Automatyczne dodawanie znaku wodnego"
143
 
144
+ #: ../image-watermark.php:644 ../image-watermark.php:660
145
+ #: ../image-watermark.php:707 ../image-watermark.php:723
146
  msgid "on"
147
  msgstr "włączony"
148
 
149
+ #: ../image-watermark.php:646 ../image-watermark.php:662
150
+ #: ../image-watermark.php:709 ../image-watermark.php:725
151
  msgid "off"
152
  msgstr "wyłączony"
153
 
154
+ #: ../image-watermark.php:649
155
  msgid "Enable or disable watermark for uploaded images."
156
  msgstr "Włącz lub wyłącz dodawanie znaku wodnego do wgrywanych obrazków."
157
 
158
+ #: ../image-watermark.php:656
159
  msgid "Manual watermarking"
160
  msgstr "Ręczne dodawanie znaku wodnego"
161
 
162
+ #: ../image-watermark.php:665
163
  msgid "Enable or disable Apply Watermark option for images in Media Library."
164
  msgstr ""
165
  "Włącz lub wyłącz dodawanie znaku wodnego do obrazków w Bibliotece mediów."
166
 
167
+ #: ../image-watermark.php:672
168
  msgid "Enable watermark for"
169
  msgstr "Dodawaj znak wodny do"
170
 
171
+ #: ../image-watermark.php:681
172
  msgid ""
173
  "Check image sizes on which watermark should appear. <b>Notice:</b> checking "
174
  "full size is not recommened as it's the original image."
177
  "b> zaznaczenie pełnej wielkości nie jest rekomendowane, ponieważ jest to "
178
  "oryginał obrazka."
179
 
180
+ #: ../image-watermark.php:687
181
  msgid "everywhere"
182
  msgstr "wszędzie"
183
 
184
+ #: ../image-watermark.php:688
185
  msgid "on selected post types only"
186
  msgstr "na wybranych typach wpisów"
187
 
188
+ #: ../image-watermark.php:696
189
  msgid ""
190
  "Check custom post types on which watermark should be applied to uploaded "
191
  "images."
193
  "Zaznacz własne typy wpisów w których znak wodny będzie dodawany do "
194
  "wgrywanych obrazków."
195
 
196
+ #: ../image-watermark.php:703
197
+ msgid "Automatic frontend watermarking"
198
+ msgstr "Znaku wodny na froncie strony"
199
+
200
+ #: ../image-watermark.php:712
201
+ msgid ""
202
+ "Enable or disable watermark for frontend image uploading. (uploading script "
203
+ "is not included, but you may use a plugin or custom code). Notice: This "
204
+ "functionality works only if uploaded images are processed using WordPress "
205
+ "native upload methods."
206
+ msgstr ""
207
+ "Włącz lub wyłącz dodawanie znaku wodnego wtrakcie wgrywania obrazków na "
208
+ "froncie strony. (skrypt umożliwiający wczytywanie nie jest dostarczony, ale "
209
+ "możesz użyć wtyczki lub własnego kodu). Uwaga: ta funkcjonalność działa "
210
+ "tylko jeśli wgrywane zdjęcia są przetwarzane z wykorzystaniem domyślnych "
211
+ "metod WordPressa."
212
+
213
+ #: ../image-watermark.php:719
214
+ msgid "Plugin deactivation"
215
+ msgstr "Deaktywacja wtyczki"
216
+
217
+ #: ../image-watermark.php:728
218
+ msgid "Delete all database settings on plugin deactivation."
219
+ msgstr "Usuń wszystkie dane wtyczki po jej deaktywacji."
220
+
221
+ #: ../image-watermark.php:734
222
  msgid "Watermark position"
223
  msgstr "Pozycja znaku wodnego"
224
 
225
+ #: ../image-watermark.php:737
226
  msgid "Watermark alignment"
227
  msgstr "Wyrównanie znaku wodnego"
228
 
229
+ #: ../image-watermark.php:752
230
  msgid "Choose the position of watermark image."
231
  msgstr "Wybierz pozycję znaku wodnego na obrazkach"
232
 
233
+ #: ../image-watermark.php:757
234
  msgid "Watermark offset"
235
  msgstr "Korekcja pozycji"
236
 
237
+ #: ../image-watermark.php:760 ../image-watermark.php:840
238
  msgid "x:"
239
  msgstr "x:"
240
 
241
+ #: ../image-watermark.php:760 ../image-watermark.php:762
242
+ #: ../image-watermark.php:840 ../image-watermark.php:842
243
  msgid "px"
244
  msgstr "pikseli"
245
 
246
+ #: ../image-watermark.php:762 ../image-watermark.php:842
247
  msgid "y:"
248
  msgstr "y:"
249
 
250
+ #: ../image-watermark.php:778 ../image-watermark.php:782
251
  msgid "Watermark image"
252
  msgstr "Obrazek znaku wodnego"
253
 
254
+ #: ../image-watermark.php:779
255
  msgid ""
256
  "Configure your watermark image. Allowed file formats are: JPEG, PNG, GIF."
257
  msgstr ""
258
  "Skonfiguruj obrazek znaku wodnego. Dozwolone formaty plików to: JPEG, PNG, "
259
  "GIF."
260
 
261
+ #: ../image-watermark.php:785
262
  msgid "Select image"
263
  msgstr "Wybierz obrazek"
264
 
265
+ #: ../image-watermark.php:786
266
  msgid "Turn off image"
267
  msgstr "Wyłącz obrazek"
268
 
269
+ #: ../image-watermark.php:787
270
  msgid "You have to save changes after the selection or removal of the image."
271
  msgstr "Po zapisaniu zmian lub wybraniu obrazka powienieneś zapisać zmiany."
272
 
273
+ #: ../image-watermark.php:791
274
  msgid "Watermark preview"
275
  msgstr "Podgląd obrazka"
276
 
277
+ #: ../image-watermark.php:821
278
  msgid "Watermark size"
279
  msgstr "Wielkość znaku wodnego"
280
 
281
+ #: ../image-watermark.php:825
282
  msgid "original"
283
  msgstr "oryginalna"
284
 
285
+ #: ../image-watermark.php:827
286
  msgid "custom"
287
  msgstr "własna"
288
 
289
+ #: ../image-watermark.php:829
290
  msgid "scaled"
291
  msgstr "skalowana"
292
 
293
+ #: ../image-watermark.php:832
294
  msgid "Select method of aplying watermark size."
295
  msgstr "Wybierz sposób określania wielkości znaku wodnego."
296
 
297
+ #: ../image-watermark.php:837
298
  msgid "Watermark custom size"
299
  msgstr "Własna wielkość"
300
 
301
+ #: ../image-watermark.php:844
302
  msgid "Those dimensions will be used if \"custom\" method is selected above."
303
  msgstr ""
304
  "Te wymiary zostaną zastosowane, jeśli wybrałeś \"własną\" wielkość znaku "
305
  "wodnego. "
306
 
307
+ #: ../image-watermark.php:848
308
  msgid "Scale of watermark in relation to image width"
309
  msgstr "Wielkość znaku wodnego w stosunku do szerokości obrazków"
310
 
311
+ #: ../image-watermark.php:858
312
  msgid ""
313
  "This value will be used if \"scaled\" method if selected above. <br />Enter "
314
  "a number ranging from 0 to 100. 100 makes width of watermark image equal to "
319
  "że wielkość znaku wodnego będzie równa wielkości obrazka, do którego jest "
320
  "dodawany."
321
 
322
+ #: ../image-watermark.php:862
323
  msgid "Watermark transparency / opacity"
324
  msgstr "Przezroczystość znaku wodnego"
325
 
326
+ #: ../image-watermark.php:872
327
  msgid ""
328
  "Enter a number ranging from 0 to 100. 0 makes watermark image completely "
329
  "transparent, 100 shows it as is."
331
  "Wpisz liczbę z zakresu od 0 do 100. Wpisanie 0 spowoduje, że znak wodny "
332
  "będzie całkowicie przezroczysty, 100 że widoczny taki jak jest."
333
 
334
+ #: ../image-watermark.php:876
335
  msgid "Image quality"
336
  msgstr "Jakość obrazka"
337
 
338
+ #: ../image-watermark.php:886
339
+ msgid "Set output image quality."
340
+ msgstr "Wybierz jakość obrazka po nadaniu znaku wodnego"
341
 
342
+ #: ../image-watermark.php:890
343
  msgid "Image format"
344
  msgstr "Format obrazka"
345
 
346
+ #: ../image-watermark.php:894
347
  msgid "baseline"
348
  msgstr "baseline"
349
 
350
+ #: ../image-watermark.php:896
351
  msgid "progressive"
352
  msgstr "progressive"
353
 
354
+ #: ../image-watermark.php:900
355
  msgid "Select baseline or progressive image format."
356
  msgstr "Wybierz format obrazu."
357
 
358
+ #: ../image-watermark.php:906
359
  msgid "Image protection"
360
  msgstr "Ochrona obrazków"
361
 
362
+ #: ../image-watermark.php:909
363
  msgid "Disable right mouse click on images"
364
  msgstr "Wyłącz możliwość kliknięcia prawym przyciskiem myszy na obrazku"
365
 
366
+ #: ../image-watermark.php:913
367
  msgid "Prevent drag and drop"
368
  msgstr "Wyłącz możliwość przeciągania i upuszczania obrazków"
369
 
370
+ #: ../image-watermark.php:917
371
  msgid "Enable image protection for logged-in users also"
372
  msgstr "Włącz ochronę zdjęć także dla zalogowanych użytkowników"
373
 
374
+ #: ../image-watermark.php:922
375
  msgid "Save Changes"
376
  msgstr "Zapisz zmiany"
377
 
378
+ #: ../image-watermark.php:923
379
+ msgid "Reset to defaults"
380
+ msgstr "Przywróć domyślne"
381
+
382
+ #: ../image-watermark.php:928
383
  msgid "Image Watermark"
384
  msgstr "Znak wodny"
385
 
386
+ #: ../image-watermark.php:930
387
  msgid "Need support?"
388
  msgstr "Potrzebujesz pomocy?"
389
 
390
+ #: ../image-watermark.php:931
391
  msgid ""
392
  "If you are having problems with this plugin, please talk about them in the"
393
  msgstr "Jeśli masz jakiekolwiek problemy z tą wtyczką, powiedz o tym na"
394
 
395
+ #: ../image-watermark.php:931
396
  msgid "Support forum"
397
  msgstr "Forum pomocy"
398
 
399
+ #: ../image-watermark.php:933
400
  msgid "Do you like this plugin?"
401
  msgstr "Lubisz tę wtyczkę?"
402
 
403
+ #: ../image-watermark.php:934
404
  msgid "Rate it 5"
405
  msgstr "Oceń ją na 5"
406
 
407
+ #: ../image-watermark.php:934
408
  msgid "on WordPress.org"
409
  msgstr "na WordPress.org"
410
 
411
+ #: ../image-watermark.php:935
412
  msgid "Blog about it & link to the"
413
  msgstr "Napisz o niej i dodaj link do"
414
 
415
+ #: ../image-watermark.php:935
416
  msgid "plugin page"
417
  msgstr "strony wtyczki"
418
 
419
+ #: ../image-watermark.php:936
420
  msgid "Check out our other"
421
  msgstr "Sprawdź inne"
422
 
423
+ #: ../image-watermark.php:936
424
  msgid "WordPress plugins"
425
  msgstr "wtyczki do WordPressa"
426
 
427
+ #: ../image-watermark.php:939
428
  msgid "Created by"
429
  msgstr "Stworzone przez"
430
 
431
+ #, fuzzy
432
+ #~ msgid "Enable or disable watermark for uploaded images on frontend."
433
+ #~ msgstr "Włącz lub wyłącz dodawanie znaku wodnego do wgrywanych obrazków."
434
+
435
  #~ msgid "Check image sizes on which watermark should appear."
436
  #~ msgstr "Zaznacz wielkości obrazków dla których ma być dodawany znak wodny."
437
 
languages/image-watermark.pot CHANGED
@@ -1,15 +1,15 @@
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: WordPress Watermark\n"
4
- "POT-Creation-Date: 2013-06-11 13:16+0100\n"
5
- "PO-Revision-Date: 2013-06-11 13:16+0100\n"
6
  "Last-Translator: Bartosz Arendt <info@digitalfactory.pl>\n"
7
  "Language-Team: dFactory <info@dfactory.pl>\n"
8
  "Language: English\n"
9
  "MIME-Version: 1.0\n"
10
  "Content-Type: text/plain; charset=UTF-8\n"
11
  "Content-Transfer-Encoding: 8bit\n"
12
- "X-Generator: Poedit 1.5.5\n"
13
  "X-Poedit-KeywordsList: gettext;gettext_noop;__;_e;esc_attr__;esc_attr_e;"
14
  "_n:1,2\n"
15
  "X-Poedit-Basepath: .\n"
@@ -22,327 +22,373 @@ msgid ""
22
  "Sorry, Image Watermark plugin requires at least PHP 5.0 and WP 3.5 or higher."
23
  msgstr ""
24
 
25
- #: ../image-watermark.php:164
26
  msgid ""
27
  "Watermark could not be applied to selected files or no valid images (JPEG, "
28
  "PNG) were selected."
29
  msgstr ""
30
 
31
- #: ../image-watermark.php:164 ../image-watermark.php:168
32
  msgid "Skipped files"
33
  msgstr ""
34
 
35
- #: ../image-watermark.php:168
36
  #, php-format
37
  msgid "Watermark was succesfully applied to 1 image."
38
  msgid_plural "Watermark was succesfully applied to %s images."
39
  msgstr[0] ""
40
  msgstr[1] ""
41
 
42
- #: ../image-watermark.php:234
43
  msgid "Support"
44
  msgstr ""
45
 
46
- #: ../image-watermark.php:256
47
  msgid "Settings"
48
  msgstr ""
49
 
50
- #: ../image-watermark.php:287
51
  msgid "Apply watermark"
52
  msgstr ""
53
 
54
- #: ../image-watermark.php:311
55
  msgid "Select watermark"
56
  msgstr ""
57
 
58
- #: ../image-watermark.php:312 ../image-watermark.php:707
59
  msgid "Original size"
60
  msgstr ""
61
 
62
- #: ../image-watermark.php:313 ../image-watermark.php:701
63
  msgid "Watermak has not been selected yet."
64
  msgstr ""
65
 
66
- #: ../image-watermark.php:314
67
  msgid "This image is not supported as watermark. Use JPEG, PNG or GIF."
68
  msgstr ""
69
 
70
- #: ../image-watermark.php:316
71
  msgid "Add watermark"
72
  msgstr ""
73
 
74
- #: ../image-watermark.php:361
 
 
 
 
75
  msgid "Image Watermark Options"
76
  msgstr ""
77
 
78
- #: ../image-watermark.php:362
79
  msgid "Watermark"
80
  msgstr ""
81
 
82
- #: ../image-watermark.php:388
83
  msgid "Image Watermark will not work properly without GD PHP extension."
84
  msgstr ""
85
 
86
- #: ../image-watermark.php:525
87
  msgid "Settings saved."
88
  msgstr ""
89
 
90
- #: ../image-watermark.php:546
 
 
 
 
91
  msgid "Watermark will not be applied when <b>watermark image is not set</b>."
92
  msgstr ""
93
 
94
- #: ../image-watermark.php:551
95
  msgid "Watermark will not be applied when <b>no image sizes are selected</b>."
96
  msgstr ""
97
 
98
- #: ../image-watermark.php:559
 
 
 
 
 
 
 
 
 
 
 
 
99
  msgid "Image Watermark Settings"
100
  msgstr ""
101
 
102
- #: ../image-watermark.php:563
103
  msgid "General settings"
104
  msgstr ""
105
 
106
- #: ../image-watermark.php:566
107
  msgid "Automatic watermarking"
108
  msgstr ""
109
 
110
- #: ../image-watermark.php:570 ../image-watermark.php:586
 
111
  msgid "on"
112
  msgstr ""
113
 
114
- #: ../image-watermark.php:572 ../image-watermark.php:588
 
115
  msgid "off"
116
  msgstr ""
117
 
118
- #: ../image-watermark.php:575
119
  msgid "Enable or disable watermark for uploaded images."
120
  msgstr ""
121
 
122
- #: ../image-watermark.php:582
123
  msgid "Manual watermarking"
124
  msgstr ""
125
 
126
- #: ../image-watermark.php:591
127
  msgid "Enable or disable Apply Watermark option for images in Media Library."
128
  msgstr ""
129
 
130
- #: ../image-watermark.php:598
131
  msgid "Enable watermark for"
132
  msgstr ""
133
 
134
- #: ../image-watermark.php:607
135
  msgid ""
136
  "Check image sizes on which watermark should appear. <b>Notice:</b> checking "
137
  "full size is not recommened as it's the original image."
138
  msgstr ""
139
 
140
- #: ../image-watermark.php:613
141
  msgid "everywhere"
142
  msgstr ""
143
 
144
- #: ../image-watermark.php:614
145
  msgid "on selected post types only"
146
  msgstr ""
147
 
148
- #: ../image-watermark.php:622
149
  msgid ""
150
  "Check custom post types on which watermark should be applied to uploaded "
151
  "images."
152
  msgstr ""
153
 
154
- #: ../image-watermark.php:628
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
155
  msgid "Watermark position"
156
  msgstr ""
157
 
158
- #: ../image-watermark.php:631
159
  msgid "Watermark alignment"
160
  msgstr ""
161
 
162
- #: ../image-watermark.php:646
163
  msgid "Choose the position of watermark image."
164
  msgstr ""
165
 
166
- #: ../image-watermark.php:651
167
  msgid "Watermark offset"
168
  msgstr ""
169
 
170
- #: ../image-watermark.php:654 ../image-watermark.php:734
171
  msgid "x:"
172
  msgstr ""
173
 
174
- #: ../image-watermark.php:654 ../image-watermark.php:656
175
- #: ../image-watermark.php:734 ../image-watermark.php:736
176
  msgid "px"
177
  msgstr ""
178
 
179
- #: ../image-watermark.php:656 ../image-watermark.php:736
180
  msgid "y:"
181
  msgstr ""
182
 
183
- #: ../image-watermark.php:672 ../image-watermark.php:676
184
  msgid "Watermark image"
185
  msgstr ""
186
 
187
- #: ../image-watermark.php:673
188
  msgid ""
189
  "Configure your watermark image. Allowed file formats are: JPEG, PNG, GIF."
190
  msgstr ""
191
 
192
- #: ../image-watermark.php:679
193
  msgid "Select image"
194
  msgstr ""
195
 
196
- #: ../image-watermark.php:680
197
  msgid "Turn off image"
198
  msgstr ""
199
 
200
- #: ../image-watermark.php:681
201
  msgid "You have to save changes after the selection or removal of the image."
202
  msgstr ""
203
 
204
- #: ../image-watermark.php:685
205
  msgid "Watermark preview"
206
  msgstr ""
207
 
208
- #: ../image-watermark.php:715
209
  msgid "Watermark size"
210
  msgstr ""
211
 
212
- #: ../image-watermark.php:719
213
  msgid "original"
214
  msgstr ""
215
 
216
- #: ../image-watermark.php:721
217
  msgid "custom"
218
  msgstr ""
219
 
220
- #: ../image-watermark.php:723
221
  msgid "scaled"
222
  msgstr ""
223
 
224
- #: ../image-watermark.php:726
225
  msgid "Select method of aplying watermark size."
226
  msgstr ""
227
 
228
- #: ../image-watermark.php:731
229
  msgid "Watermark custom size"
230
  msgstr ""
231
 
232
- #: ../image-watermark.php:738
233
  msgid "Those dimensions will be used if \"custom\" method is selected above."
234
  msgstr ""
235
 
236
- #: ../image-watermark.php:742
237
  msgid "Scale of watermark in relation to image width"
238
  msgstr ""
239
 
240
- #: ../image-watermark.php:747
241
  msgid ""
242
  "This value will be used if \"scaled\" method if selected above. <br />Enter "
243
  "a number ranging from 0 to 100. 100 makes width of watermark image equal to "
244
  "width of the image it is applied to."
245
  msgstr ""
246
 
247
- #: ../image-watermark.php:751
248
  msgid "Watermark transparency / opacity"
249
  msgstr ""
250
 
251
- #: ../image-watermark.php:756
252
  msgid ""
253
  "Enter a number ranging from 0 to 100. 0 makes watermark image completely "
254
  "transparent, 100 shows it as is."
255
  msgstr ""
256
 
257
- #: ../image-watermark.php:760
258
  msgid "Image quality"
259
  msgstr ""
260
 
261
- #: ../image-watermark.php:765
262
- msgid "Set watermark image quality."
263
  msgstr ""
264
 
265
- #: ../image-watermark.php:769
266
  msgid "Image format"
267
  msgstr ""
268
 
269
- #: ../image-watermark.php:773
270
  msgid "baseline"
271
  msgstr ""
272
 
273
- #: ../image-watermark.php:775
274
  msgid "progressive"
275
  msgstr ""
276
 
277
- #: ../image-watermark.php:779
278
  msgid "Select baseline or progressive image format."
279
  msgstr ""
280
 
281
- #: ../image-watermark.php:785
282
  msgid "Image protection"
283
  msgstr ""
284
 
285
- #: ../image-watermark.php:788
286
  msgid "Disable right mouse click on images"
287
  msgstr ""
288
 
289
- #: ../image-watermark.php:792
290
  msgid "Prevent drag and drop"
291
  msgstr ""
292
 
293
- #: ../image-watermark.php:796
294
  msgid "Enable image protection for logged-in users also"
295
  msgstr ""
296
 
297
- #: ../image-watermark.php:801
298
  msgid "Save Changes"
299
  msgstr ""
300
 
301
- #: ../image-watermark.php:807
 
 
 
 
302
  msgid "Image Watermark"
303
  msgstr ""
304
 
305
- #: ../image-watermark.php:809
306
  msgid "Need support?"
307
  msgstr ""
308
 
309
- #: ../image-watermark.php:810
310
  msgid ""
311
  "If you are having problems with this plugin, please talk about them in the"
312
  msgstr ""
313
 
314
- #: ../image-watermark.php:810
315
  msgid "Support forum"
316
  msgstr ""
317
 
318
- #: ../image-watermark.php:812
319
  msgid "Do you like this plugin?"
320
  msgstr ""
321
 
322
- #: ../image-watermark.php:813
323
  msgid "Rate it 5"
324
  msgstr ""
325
 
326
- #: ../image-watermark.php:813
327
  msgid "on WordPress.org"
328
  msgstr ""
329
 
330
- #: ../image-watermark.php:814
331
  msgid "Blog about it & link to the"
332
  msgstr ""
333
 
334
- #: ../image-watermark.php:814
335
  msgid "plugin page"
336
  msgstr ""
337
 
338
- #: ../image-watermark.php:815
339
  msgid "Check out our other"
340
  msgstr ""
341
 
342
- #: ../image-watermark.php:815
343
  msgid "WordPress plugins"
344
  msgstr ""
345
 
346
- #: ../image-watermark.php:819
347
  msgid "Created by"
348
  msgstr ""
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: WordPress Watermark\n"
4
+ "POT-Creation-Date: 2013-10-02 13:01+0100\n"
5
+ "PO-Revision-Date: 2013-10-02 13:01+0100\n"
6
  "Last-Translator: Bartosz Arendt <info@digitalfactory.pl>\n"
7
  "Language-Team: dFactory <info@dfactory.pl>\n"
8
  "Language: English\n"
9
  "MIME-Version: 1.0\n"
10
  "Content-Type: text/plain; charset=UTF-8\n"
11
  "Content-Transfer-Encoding: 8bit\n"
12
+ "X-Generator: Poedit 1.5.7\n"
13
  "X-Poedit-KeywordsList: gettext;gettext_noop;__;_e;esc_attr__;esc_attr_e;"
14
  "_n:1,2\n"
15
  "X-Poedit-Basepath: .\n"
22
  "Sorry, Image Watermark plugin requires at least PHP 5.0 and WP 3.5 or higher."
23
  msgstr ""
24
 
25
+ #: ../image-watermark.php:215
26
  msgid ""
27
  "Watermark could not be applied to selected files or no valid images (JPEG, "
28
  "PNG) were selected."
29
  msgstr ""
30
 
31
+ #: ../image-watermark.php:215 ../image-watermark.php:219
32
  msgid "Skipped files"
33
  msgstr ""
34
 
35
+ #: ../image-watermark.php:219
36
  #, php-format
37
  msgid "Watermark was succesfully applied to 1 image."
38
  msgid_plural "Watermark was succesfully applied to %s images."
39
  msgstr[0] ""
40
  msgstr[1] ""
41
 
42
+ #: ../image-watermark.php:262
43
  msgid "Support"
44
  msgstr ""
45
 
46
+ #: ../image-watermark.php:284
47
  msgid "Settings"
48
  msgstr ""
49
 
50
+ #: ../image-watermark.php:315
51
  msgid "Apply watermark"
52
  msgstr ""
53
 
54
+ #: ../image-watermark.php:335
55
  msgid "Select watermark"
56
  msgstr ""
57
 
58
+ #: ../image-watermark.php:336 ../image-watermark.php:813
59
  msgid "Original size"
60
  msgstr ""
61
 
62
+ #: ../image-watermark.php:337 ../image-watermark.php:807
63
  msgid "Watermak has not been selected yet."
64
  msgstr ""
65
 
66
+ #: ../image-watermark.php:338
67
  msgid "This image is not supported as watermark. Use JPEG, PNG or GIF."
68
  msgstr ""
69
 
70
+ #: ../image-watermark.php:340
71
  msgid "Add watermark"
72
  msgstr ""
73
 
74
+ #: ../image-watermark.php:357
75
+ msgid "Are you sure you want to reset settings to defaults?"
76
+ msgstr ""
77
+
78
+ #: ../image-watermark.php:412
79
  msgid "Image Watermark Options"
80
  msgstr ""
81
 
82
+ #: ../image-watermark.php:413
83
  msgid "Watermark"
84
  msgstr ""
85
 
86
+ #: ../image-watermark.php:439
87
  msgid "Image Watermark will not work properly without GD PHP extension."
88
  msgstr ""
89
 
90
+ #: ../image-watermark.php:581
91
  msgid "Settings saved."
92
  msgstr ""
93
 
94
+ #: ../image-watermark.php:594
95
+ msgid "Settings restored to defaults."
96
+ msgstr ""
97
+
98
+ #: ../image-watermark.php:614
99
  msgid "Watermark will not be applied when <b>watermark image is not set</b>."
100
  msgstr ""
101
 
102
+ #: ../image-watermark.php:617
103
  msgid "Watermark will not be applied when <b>no image sizes are selected</b>."
104
  msgstr ""
105
 
106
+ #: ../image-watermark.php:623
107
+ msgid ""
108
+ "Watermark will not be applied while frontend image upload if <b>watermark "
109
+ "image is not set</b>."
110
+ msgstr ""
111
+
112
+ #: ../image-watermark.php:626
113
+ msgid ""
114
+ "Watermark will not be applied while frontend image upload if <b>no image "
115
+ "sizes are selected</b>."
116
+ msgstr ""
117
+
118
+ #: ../image-watermark.php:633
119
  msgid "Image Watermark Settings"
120
  msgstr ""
121
 
122
+ #: ../image-watermark.php:637
123
  msgid "General settings"
124
  msgstr ""
125
 
126
+ #: ../image-watermark.php:640
127
  msgid "Automatic watermarking"
128
  msgstr ""
129
 
130
+ #: ../image-watermark.php:644 ../image-watermark.php:660
131
+ #: ../image-watermark.php:707 ../image-watermark.php:723
132
  msgid "on"
133
  msgstr ""
134
 
135
+ #: ../image-watermark.php:646 ../image-watermark.php:662
136
+ #: ../image-watermark.php:709 ../image-watermark.php:725
137
  msgid "off"
138
  msgstr ""
139
 
140
+ #: ../image-watermark.php:649
141
  msgid "Enable or disable watermark for uploaded images."
142
  msgstr ""
143
 
144
+ #: ../image-watermark.php:656
145
  msgid "Manual watermarking"
146
  msgstr ""
147
 
148
+ #: ../image-watermark.php:665
149
  msgid "Enable or disable Apply Watermark option for images in Media Library."
150
  msgstr ""
151
 
152
+ #: ../image-watermark.php:672
153
  msgid "Enable watermark for"
154
  msgstr ""
155
 
156
+ #: ../image-watermark.php:681
157
  msgid ""
158
  "Check image sizes on which watermark should appear. <b>Notice:</b> checking "
159
  "full size is not recommened as it's the original image."
160
  msgstr ""
161
 
162
+ #: ../image-watermark.php:687
163
  msgid "everywhere"
164
  msgstr ""
165
 
166
+ #: ../image-watermark.php:688
167
  msgid "on selected post types only"
168
  msgstr ""
169
 
170
+ #: ../image-watermark.php:696
171
  msgid ""
172
  "Check custom post types on which watermark should be applied to uploaded "
173
  "images."
174
  msgstr ""
175
 
176
+ #: ../image-watermark.php:703
177
+ msgid "Automatic frontend watermarking"
178
+ msgstr ""
179
+
180
+ #: ../image-watermark.php:712
181
+ msgid ""
182
+ "Enable or disable watermark for frontend image uploading. (uploading script "
183
+ "is not included, but you may use a plugin or custom code). Notice: This "
184
+ "functionality works only if uploaded images are processed using WordPress "
185
+ "native upload methods."
186
+ msgstr ""
187
+
188
+ #: ../image-watermark.php:719
189
+ msgid "Plugin deactivation"
190
+ msgstr ""
191
+
192
+ #: ../image-watermark.php:728
193
+ msgid "Delete all database settings on plugin deactivation."
194
+ msgstr ""
195
+
196
+ #: ../image-watermark.php:734
197
  msgid "Watermark position"
198
  msgstr ""
199
 
200
+ #: ../image-watermark.php:737
201
  msgid "Watermark alignment"
202
  msgstr ""
203
 
204
+ #: ../image-watermark.php:752
205
  msgid "Choose the position of watermark image."
206
  msgstr ""
207
 
208
+ #: ../image-watermark.php:757
209
  msgid "Watermark offset"
210
  msgstr ""
211
 
212
+ #: ../image-watermark.php:760 ../image-watermark.php:840
213
  msgid "x:"
214
  msgstr ""
215
 
216
+ #: ../image-watermark.php:760 ../image-watermark.php:762
217
+ #: ../image-watermark.php:840 ../image-watermark.php:842
218
  msgid "px"
219
  msgstr ""
220
 
221
+ #: ../image-watermark.php:762 ../image-watermark.php:842
222
  msgid "y:"
223
  msgstr ""
224
 
225
+ #: ../image-watermark.php:778 ../image-watermark.php:782
226
  msgid "Watermark image"
227
  msgstr ""
228
 
229
+ #: ../image-watermark.php:779
230
  msgid ""
231
  "Configure your watermark image. Allowed file formats are: JPEG, PNG, GIF."
232
  msgstr ""
233
 
234
+ #: ../image-watermark.php:785
235
  msgid "Select image"
236
  msgstr ""
237
 
238
+ #: ../image-watermark.php:786
239
  msgid "Turn off image"
240
  msgstr ""
241
 
242
+ #: ../image-watermark.php:787
243
  msgid "You have to save changes after the selection or removal of the image."
244
  msgstr ""
245
 
246
+ #: ../image-watermark.php:791
247
  msgid "Watermark preview"
248
  msgstr ""
249
 
250
+ #: ../image-watermark.php:821
251
  msgid "Watermark size"
252
  msgstr ""
253
 
254
+ #: ../image-watermark.php:825
255
  msgid "original"
256
  msgstr ""
257
 
258
+ #: ../image-watermark.php:827
259
  msgid "custom"
260
  msgstr ""
261
 
262
+ #: ../image-watermark.php:829
263
  msgid "scaled"
264
  msgstr ""
265
 
266
+ #: ../image-watermark.php:832
267
  msgid "Select method of aplying watermark size."
268
  msgstr ""
269
 
270
+ #: ../image-watermark.php:837
271
  msgid "Watermark custom size"
272
  msgstr ""
273
 
274
+ #: ../image-watermark.php:844
275
  msgid "Those dimensions will be used if \"custom\" method is selected above."
276
  msgstr ""
277
 
278
+ #: ../image-watermark.php:848
279
  msgid "Scale of watermark in relation to image width"
280
  msgstr ""
281
 
282
+ #: ../image-watermark.php:858
283
  msgid ""
284
  "This value will be used if \"scaled\" method if selected above. <br />Enter "
285
  "a number ranging from 0 to 100. 100 makes width of watermark image equal to "
286
  "width of the image it is applied to."
287
  msgstr ""
288
 
289
+ #: ../image-watermark.php:862
290
  msgid "Watermark transparency / opacity"
291
  msgstr ""
292
 
293
+ #: ../image-watermark.php:872
294
  msgid ""
295
  "Enter a number ranging from 0 to 100. 0 makes watermark image completely "
296
  "transparent, 100 shows it as is."
297
  msgstr ""
298
 
299
+ #: ../image-watermark.php:876
300
  msgid "Image quality"
301
  msgstr ""
302
 
303
+ #: ../image-watermark.php:886
304
+ msgid "Set output image quality."
305
  msgstr ""
306
 
307
+ #: ../image-watermark.php:890
308
  msgid "Image format"
309
  msgstr ""
310
 
311
+ #: ../image-watermark.php:894
312
  msgid "baseline"
313
  msgstr ""
314
 
315
+ #: ../image-watermark.php:896
316
  msgid "progressive"
317
  msgstr ""
318
 
319
+ #: ../image-watermark.php:900
320
  msgid "Select baseline or progressive image format."
321
  msgstr ""
322
 
323
+ #: ../image-watermark.php:906
324
  msgid "Image protection"
325
  msgstr ""
326
 
327
+ #: ../image-watermark.php:909
328
  msgid "Disable right mouse click on images"
329
  msgstr ""
330
 
331
+ #: ../image-watermark.php:913
332
  msgid "Prevent drag and drop"
333
  msgstr ""
334
 
335
+ #: ../image-watermark.php:917
336
  msgid "Enable image protection for logged-in users also"
337
  msgstr ""
338
 
339
+ #: ../image-watermark.php:922
340
  msgid "Save Changes"
341
  msgstr ""
342
 
343
+ #: ../image-watermark.php:923
344
+ msgid "Reset to defaults"
345
+ msgstr ""
346
+
347
+ #: ../image-watermark.php:928
348
  msgid "Image Watermark"
349
  msgstr ""
350
 
351
+ #: ../image-watermark.php:930
352
  msgid "Need support?"
353
  msgstr ""
354
 
355
+ #: ../image-watermark.php:931
356
  msgid ""
357
  "If you are having problems with this plugin, please talk about them in the"
358
  msgstr ""
359
 
360
+ #: ../image-watermark.php:931
361
  msgid "Support forum"
362
  msgstr ""
363
 
364
+ #: ../image-watermark.php:933
365
  msgid "Do you like this plugin?"
366
  msgstr ""
367
 
368
+ #: ../image-watermark.php:934
369
  msgid "Rate it 5"
370
  msgstr ""
371
 
372
+ #: ../image-watermark.php:934
373
  msgid "on WordPress.org"
374
  msgstr ""
375
 
376
+ #: ../image-watermark.php:935
377
  msgid "Blog about it & link to the"
378
  msgstr ""
379
 
380
+ #: ../image-watermark.php:935
381
  msgid "plugin page"
382
  msgstr ""
383
 
384
+ #: ../image-watermark.php:936
385
  msgid "Check out our other"
386
  msgstr ""
387
 
388
+ #: ../image-watermark.php:936
389
  msgid "WordPress plugins"
390
  msgstr ""
391
 
392
+ #: ../image-watermark.php:939
393
  msgid "Created by"
394
  msgstr ""
readme.txt CHANGED
@@ -3,12 +3,12 @@ Contributors: dfactory
3
  Donate link: http://www.dfactory.eu/
4
  Tags: image, images, picture, photo, watermark, watermarking, protection, image protection, image security, plugin
5
  Requires at least: 3.5
6
- Tested up to: 3.6
7
- Stable tag: 1.1.4
8
  License: MIT License
9
  License URI: http://opensource.org/licenses/MIT
10
 
11
- Image Watermark allows you to automatically watermark images uploaded to the WordPress Media Library.
12
 
13
  == Description ==
14
 
@@ -43,9 +43,9 @@ For more information, check out plugin page at [dFactory](http://www.dfactory.eu
43
  == Installation ==
44
 
45
  1. Install Image Watermark either via the WordPress.org plugin directory, or by uploading the files to your server
46
- 1. Activate the plugin through the 'Plugins' menu in WordPress
47
- 1. Go to the Watermark menu in Settings and set your watermarking options.
48
- 1. Enable watermark to apply watermark to uploaded images or go to Media Library to apply watermark to previously uploaded images
49
 
50
  == Frequently Asked Questions ==
51
 
@@ -58,6 +58,13 @@ No questions yet.
58
 
59
  == Changelog ==
60
 
 
 
 
 
 
 
 
61
  = 1.1.4 =
62
  * New: Arabic translation, thanks to Hassan Hisham
63
 
@@ -105,5 +112,5 @@ Initial release
105
 
106
  == Upgrade Notice ==
107
 
108
- = 1.1.4 =
109
- New: Arabic translation, thanks to Hassan Hisham
3
  Donate link: http://www.dfactory.eu/
4
  Tags: image, images, picture, photo, watermark, watermarking, protection, image protection, image security, plugin
5
  Requires at least: 3.5
6
+ Tested up to: 3.6.1
7
+ Stable tag: 1.2.0
8
  License: MIT License
9
  License URI: http://opensource.org/licenses/MIT
10
 
11
+ Image Watermark allows you to automatically watermark images uploaded to the WordPress Media Library and bulk watermark previously uploaded images.
12
 
13
  == Description ==
14
 
43
  == Installation ==
44
 
45
  1. Install Image Watermark either via the WordPress.org plugin directory, or by uploading the files to your server
46
+ 2. Activate the plugin through the 'Plugins' menu in WordPress
47
+ 3. Go to the Watermark menu in Settings and set your watermarking options.
48
+ 4. Enable watermark to apply watermark to uploaded images or go to Media Library to apply watermark to previously uploaded images
49
 
50
  == Frequently Asked Questions ==
51
 
58
 
59
  == Changelog ==
60
 
61
+ = 1.2.0 =
62
+ * New: Frontend watermarking option (for front-end upload plugins and custom front-end upload code)
63
+ * New: Introducing 'iw_watermark_display' filter
64
+ * New: Option to delete all plugin data on deactivation
65
+ * Tweak: Rewritten watermark application method
66
+ * Tweak: UI enhancements for settings page
67
+
68
  = 1.1.4 =
69
  * New: Arabic translation, thanks to Hassan Hisham
70
 
112
 
113
  == Upgrade Notice ==
114
 
115
+ = 1.2.0 =
116
+ * New: Frontend watermarking option, rewritten watermark application methods and 'iw_watermark_display' filter