PB SEO Friendly Images - Version 1.2.0

Version Description

  • Added a pro version of this plugin: PB SEO Friendly Images Pro
  • Some smaller bugfixes and translation issues fixed

=

Download this release

Release Info

Developer PascalBajorat
Plugin Icon 128x128 PB SEO Friendly Images
Version 1.2.0
Comparing to
See all releases

Code changes from version 1.1.0 to 1.2.0

css/admin.css ADDED
@@ -0,0 +1,22 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ .upgrade-message {
2
+ font-size: 14px;
3
+ background: #FFFFE0;
4
+ border: 1px solid #E6DB55;
5
+ padding: 5px 5px 5px 10px;
6
+ text-align: left;
7
+ border-radius: 5px;
8
+ -moz-border-radius: 5px;
9
+ -webkit-border-radius: 5px;
10
+ margin: 5px 15px 5px 0;
11
+ width: auto;
12
+ line-height: 18px;
13
+ }
14
+
15
+ .warning-icon {
16
+ background: url("warning.png") no-repeat left center;
17
+ background-size: 14px 14px;
18
+ width: 14px;
19
+ height: 14px;
20
+ display: inline-block;
21
+ padding-right: 10px;
22
+ }
css/lazy.css ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
1
+ img.lazy[src*='data:image/gif;base64'] {
2
+ border: 1px dashed #dbdbdb;
3
+ background: url(/wp-includes/images/wpspin-2x.gif) no-repeat center center;
4
+ background-size: 16px 16px;
5
+ }
css/warning.png ADDED
Binary file
inc/pbSettingsFramework.php CHANGED
@@ -79,7 +79,7 @@ if( ! class_exists('pbSettingsFramework') ):
79
  } else {
80
  $val = $option;
81
  }
82
- $html = '<input type="text" id="' . $args['id'] . '" name="' . $args['id'] . '" class="regular-text" value="' . $val . '" />';
83
  if ( ! empty( $args['desc'] ) ) {
84
  $html .= '<p class="description">' . $args['desc'] . '</p>';
85
  }
@@ -91,7 +91,7 @@ if( ! class_exists('pbSettingsFramework') ):
91
  }else{
92
  $val = $option;
93
  }
94
- $html = '<input type="checkbox" id="'.$args['id'].'" name="'.$args['id'].'" value="1" '.checked(1, $val, false).'/>';
95
  $html .= '<label for="'.$args['id'].'"> '.$args['desc'].'</label>';
96
 
97
  } elseif( $args['type'] == 'select' ) {
@@ -104,7 +104,7 @@ if( ! class_exists('pbSettingsFramework') ):
104
 
105
  $html = '<select id="'.$args['id'].'" name="'.$args['id'].'">';
106
  foreach ($args['select'] as $name => $value ) {
107
- $html .= '<option value="'.$name.'" '.(($val==$name)?'selected="selected"':'').'>'.esc_html($value).'</option>';
108
  }
109
  $html .= '</select>';
110
 
79
  } else {
80
  $val = $option;
81
  }
82
+ $html = '<input type="text" id="' . $args['id'] . '" name="' . $args['id'] . '" class="regular-text" value="' . $val . '" '.(($args['disabled'])?'disabled="disabled"':'').' />';
83
  if ( ! empty( $args['desc'] ) ) {
84
  $html .= '<p class="description">' . $args['desc'] . '</p>';
85
  }
91
  }else{
92
  $val = $option;
93
  }
94
+ $html = '<input type="checkbox" id="'.$args['id'].'" name="'.$args['id'].'" value="1" '.(($args['disabled'])?'disabled="disabled"':'').' '.checked(1, $val, false).'/>';
95
  $html .= '<label for="'.$args['id'].'"> '.$args['desc'].'</label>';
96
 
97
  } elseif( $args['type'] == 'select' ) {
104
 
105
  $html = '<select id="'.$args['id'].'" name="'.$args['id'].'">';
106
  foreach ($args['select'] as $name => $value ) {
107
+ $html .= '<option value="'.$name.'" '.(($val==$name)?'selected="selected"':'').' '.(($args['disabled'])?'disabled="disabled"':'').'>'.esc_html($value).'</option>';
108
  }
109
  $html .= '</select>';
110
 
inc/settings.php CHANGED
@@ -8,7 +8,7 @@ if( !class_exists('pbSEOFriendlyImagesSettings') ):
8
 
9
  class pbSEOFriendlyImagesSettings extends pbSEOFriendlyImages
10
  {
11
- static $settings = false;
12
 
13
  function addSettings()
14
  {
@@ -16,6 +16,29 @@ if( !class_exists('pbSEOFriendlyImagesSettings') ):
16
  add_action('admin_init', array(__CLASS__, 'initSettings'));
17
 
18
  add_filter('plugin_action_links_'.parent::$basename, array(__CLASS__, 'settingsLink'));
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
19
  }
20
 
21
  public static function settingsLink( $data )
@@ -24,7 +47,7 @@ if( !class_exists('pbSEOFriendlyImagesSettings') ):
24
  return $data;
25
  }
26
 
27
- return array_merge(
28
  $data,
29
  array(
30
  sprintf(
@@ -37,6 +60,21 @@ if( !class_exists('pbSEOFriendlyImagesSettings') ):
37
  )
38
  )
39
  );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
40
  }
41
 
42
  public static function initSettings()
@@ -53,17 +91,30 @@ if( !class_exists('pbSEOFriendlyImagesSettings') ):
53
 
54
  self::$settings->addSettingsSection(
55
  'pb-seo-friendly-images',
56
- __('Image »alt« and »title« Settings', 'pb-seo-friendly-images'),
57
  function(){
58
- echo '<p>'.__('PB SEO Friendly Images automatically adds »alt« and »title« attributes to all images and post thumbnails in your posts. The default options are a good starting point for the optimization and basically fine for most websites.', 'pb-seo-friendly-images').'</p>';
59
- echo '<p><strong>'.__('Override feature', 'pb-seo-friendly-images').':</strong> '.__('If you enable the override this means that a possible sync and also hand picked »alt« / »title« attributes will be overwritten with the selected scheme. If you have good hand picked »alt« or »title« attributes in your images I can\'t recommend to use the override. Automatic sync between »alt« and »title« will do it\'s best for you.', 'pb-seo-friendly-images').'</p>';
60
 
 
61
  echo '<p>'.sprintf(
62
- __('PB SEO Friendly Images is a free WordPress Plugin by <a href="%s" target="_blank">Pascal Bajorat</a> and made with %s in Berlin, Germany.<br />If you like it and maybe want to <a href="%s" target="_blank">buy me a cup of coffee or a beer</a> I would appreciate that very much.', 'pb-seo-friendly-images'),
63
  'https://www.pascal-bajorat.com',
64
- '<span style="color: #f00;">&#9829;</span>',
65
- 'https://www.pascal-bajorat.com/spenden/'
66
  ).'</p>';
 
 
 
 
 
 
 
 
 
 
 
 
 
67
  }
68
  );
69
 
@@ -93,16 +144,16 @@ if( !class_exists('pbSEOFriendlyImagesSettings') ):
93
  'alt' => __('alt => title', 'pb-seo-friendly-images'),
94
  'title' => __('alt <= title', 'pb-seo-friendly-images'),
95
  ),
96
- 'desc' => __('select sync method for »alt« and »title« attribute.', 'pb-seo-friendly-images').'<br />'.
97
  __('<code>alt <=> title</code> - if one attribute is set use it also for the other one', 'pb-seo-friendly-images').'<br />'.
98
- __('<code>alt => title</code> - if »alt« is set use it for the title attribute', 'pb-seo-friendly-images').'<br />'.
99
- __('<code>alt <= title</code> - if »title« is set use it for the alt attribute', 'pb-seo-friendly-images')
100
  )
101
  );
102
 
103
  self::$settings->addSettingsField(
104
  'pbsfi_override_alt',
105
- __('override »alt«', 'pb-seo-friendly-images'),
106
  array(
107
  'type' => 'checkbox',
108
  'default' => '',
@@ -112,7 +163,7 @@ if( !class_exists('pbSEOFriendlyImagesSettings') ):
112
 
113
  self::$settings->addSettingsField(
114
  'pbsfi_override_title',
115
- __('override »title«', 'pb-seo-friendly-images'),
116
  array(
117
  'type' => 'checkbox',
118
  'default' => '',
@@ -146,6 +197,91 @@ if( !class_exists('pbSEOFriendlyImagesSettings') ):
146
  'desc' => __('default', 'pb-seo-friendly-images').': <code>%title</code><br />'.$placeholder
147
  )
148
  );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
149
  }
150
 
151
  public static function optionsPageMenu()
@@ -165,6 +301,8 @@ if( !class_exists('pbSEOFriendlyImagesSettings') ):
165
  if (!current_user_can('manage_options')) {
166
  return;
167
  }
 
 
168
  ?>
169
  <div class="wrap">
170
  <h1><?php echo esc_html(get_admin_page_title()); ?></h1>
8
 
9
  class pbSEOFriendlyImagesSettings extends pbSEOFriendlyImages
10
  {
11
+ public static $settings = false;
12
 
13
  function addSettings()
14
  {
16
  add_action('admin_init', array(__CLASS__, 'initSettings'));
17
 
18
  add_filter('plugin_action_links_'.parent::$basename, array(__CLASS__, 'settingsLink'));
19
+
20
+ $showUpgradeBanner = get_option('pbsfi_upgrade_notice');
21
+
22
+ if( $showUpgradeBanner != self::$verMajor && $_GET['page'] != 'pb-seo-friendly-images' ) {
23
+ add_action( 'admin_notices', array(__CLASS__, 'adminUpgradeNotice') );
24
+ }
25
+ }
26
+
27
+ public static function adminUpgradeNotice()
28
+ {
29
+ $current_user = wp_get_current_user();
30
+
31
+ $username = ((!empty($current_user->user_firstname)) ? $current_user->user_firstname : $current_user->user_login );
32
+ ?>
33
+ <div class="notice notice-success">
34
+ <p><?php echo sprintf(
35
+ __('<strong>Hey %s</strong>, we have updated <a href="%s">PB SEO Friendly Images</a>. Visit the <a href="%s">plugin settings page</a> to get deeper insights about the new features. This message will disappear automatically after you\'ve visited the plugin settings.', 'pb-seo-friendly-images'),
36
+ $username,
37
+ admin_url('options-general.php?page=pb-seo-friendly-images'),
38
+ admin_url('options-general.php?page=pb-seo-friendly-images')
39
+ ); ?></p>
40
+ </div>
41
+ <?php
42
  }
43
 
44
  public static function settingsLink( $data )
47
  return $data;
48
  }
49
 
50
+ $data = array_merge(
51
  $data,
52
  array(
53
  sprintf(
60
  )
61
  )
62
  );
63
+
64
+ if( ! self::$proVersion ) {
65
+ $data = array_merge(
66
+ $data,
67
+ array(
68
+ sprintf(
69
+ '<a href="%s" style="color: #e00; font-weight: bold;" target="_blank">%s</a>',
70
+ self::$proURL,
71
+ __('Get Pro Version', 'pb-seo-friendly-images')
72
+ )
73
+ )
74
+ );
75
+ }
76
+
77
+ return $data;
78
  }
79
 
80
  public static function initSettings()
91
 
92
  self::$settings->addSettingsSection(
93
  'pb-seo-friendly-images',
94
+ __('Image "alt" and "title" Settings', 'pb-seo-friendly-images'),
95
  function(){
96
+ echo '<p>'.__('PB SEO Friendly Images automatically adds "alt" and "title" attributes to all images and post thumbnails in your posts. The default options are a good starting point for the optimization and basically fine for most websites.', 'pb-seo-friendly-images').'</p>';
97
+ echo '<p><strong>'.__('Override feature', 'pb-seo-friendly-images').':</strong> '.__('Enable the override means that a possible sync and also hand picked "alt" / "title" attributes will be overwritten with the selected scheme. If you have good hand picked "alt" or "title" attributes in your images, I can not recommend to use the override. Automatic sync between "alt" and "title" will do it\'s best for you.', 'pb-seo-friendly-images').'</p>';
98
 
99
+ if( self::$proVersion ) {
100
  echo '<p>'.sprintf(
101
+ __('PB SEO Friendly Images Pro is a WordPress Plugin by <a href="%s" target="_blank">Pascal Bajorat</a> and made with %s in Berlin, Germany.', 'pb-seo-friendly-images'),
102
  'https://www.pascal-bajorat.com',
103
+ '<span style="color: #f00;">&#9829;</span>'
 
104
  ).'</p>';
105
+ } else {
106
+ echo '<p>'.sprintf(
107
+ __('PB SEO Friendly Images is a free WordPress Plugin by <a href="%s" target="_blank">Pascal Bajorat</a> and made with %s in Berlin, Germany.<br />If you like it and maybe want to <a href="%s" target="_blank">buy me a cup of coffee or a beer</a> I would appreciate that very much.', 'pb-seo-friendly-images'),
108
+ 'https://www.pascal-bajorat.com',
109
+ '<span style="color: #f00;">&#9829;</span>',
110
+ 'https://www.pascal-bajorat.com/spenden/'
111
+ ).'</p>';
112
+
113
+ echo '<p class="upgrade-message"> <i class="warning-icon"></i>' . sprintf(
114
+ __('Please consider upgrading to <a href="%s" target="_blank">PB SEO Friendly Images Pro</a> if you want to use more features and support the development of this plugin.', 'pb-seo-friendly-images'),
115
+ self::$proURL
116
+ ) . '</p>';
117
+ }
118
  }
119
  );
120
 
144
  'alt' => __('alt => title', 'pb-seo-friendly-images'),
145
  'title' => __('alt <= title', 'pb-seo-friendly-images'),
146
  ),
147
+ 'desc' => __('select sync method for "alt" and "title" attribute.', 'pb-seo-friendly-images').'<br />'.
148
  __('<code>alt <=> title</code> - if one attribute is set use it also for the other one', 'pb-seo-friendly-images').'<br />'.
149
+ __('<code>alt => title</code> - if "alt" is set use it for the title attribute', 'pb-seo-friendly-images').'<br />'.
150
+ __('<code>alt <= title</code> - if "title" is set use it for the alt attribute', 'pb-seo-friendly-images')
151
  )
152
  );
153
 
154
  self::$settings->addSettingsField(
155
  'pbsfi_override_alt',
156
+ __('override "alt"', 'pb-seo-friendly-images'),
157
  array(
158
  'type' => 'checkbox',
159
  'default' => '',
163
 
164
  self::$settings->addSettingsField(
165
  'pbsfi_override_title',
166
+ __('override "title"', 'pb-seo-friendly-images'),
167
  array(
168
  'type' => 'checkbox',
169
  'default' => '',
197
  'desc' => __('default', 'pb-seo-friendly-images').': <code>%title</code><br />'.$placeholder
198
  )
199
  );
200
+
201
+ /**
202
+ * Section Pro
203
+ */
204
+ self::$settings = new pbSettingsFramework(array(
205
+ 'text-domain' => 'pb-seo-friendly-images',
206
+ 'page' => 'pb-seo-friendly-images',
207
+ 'section' => 'pb-seo-friendly-images-pro',
208
+ 'option-group' => 'pb-seo-friendly-images'
209
+ ));
210
+
211
+ self::$settings->addSettingsSection(
212
+ 'pb-seo-friendly-images-pro',
213
+ __('Lazy Load settings', 'pb-seo-friendly-images'),
214
+ function(){
215
+ echo '<p>'.__('This function is very useful and it boosts performance by delaying loading of images in long web pages, because images outside of viewport (visible part of web page) won\'t be loaded until the user scrolls to them.', 'pb-seo-friendly-images').'<br />';
216
+ echo __('The lazy load is powered by unveil.js, one of the fastest and thinnest lazy loader in the web. The implementation is highly seo compatible with a no js fallback.', 'pb-seo-friendly-images').'<br />';
217
+ echo __('If enabled the lazy load will be added automatically to images in your post or page content and also to post thumbnails.', 'pb-seo-friendly-images').'</p>';
218
+
219
+
220
+ if( ! self::$proVersion ) {
221
+ echo '<p class="upgrade-message"> <i class="warning-icon"></i>' . sprintf(
222
+ __('Please consider upgrading to <a href="%s" target="_blank">PB SEO Friendly Images Pro</a> if you want to use this feature.', 'pb-seo-friendly-images'),
223
+ self::$proURL
224
+ ) . '</p>';
225
+ }
226
+
227
+ echo '<p>'.__('Want to add lazy load to images in your theme? You only need to do some small modifications. Add class "lazy" and modify the "src" like this:', 'pb-seo-friendly-images').'<br /><code>&lt;img src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==" data-src="<strong>'.__('REAL SRC HERE', 'pb-seo-friendly-images').'</strong>" class="lazy" /&gt;</code></p>';
228
+ }
229
+ );
230
+
231
+ self::$settings->addSettingsField(
232
+ 'pbsfi_enable_lazyload',
233
+ __('enable lazy load', 'pb-seo-friendly-images'),
234
+ array(
235
+ 'type' => 'checkbox',
236
+ 'default' => true,
237
+ 'desc' => __('enable lazy load and boost up your site speed', 'pb-seo-friendly-images'),
238
+ 'disabled' => ((self::$proVersion)?false:true)
239
+ )
240
+ );
241
+
242
+ self::$settings->addSettingsField(
243
+ 'pbsfi_enable_lazyload_acf',
244
+ __('enable lazy load for acf', 'pb-seo-friendly-images'),
245
+ array(
246
+ 'type' => 'checkbox',
247
+ 'default' => true,
248
+ 'desc' => __('enable lazy load for AdvancedCustomFields', 'pb-seo-friendly-images'),
249
+ 'disabled' => ((self::$proVersion)?false:true)
250
+ )
251
+ );
252
+
253
+ self::$settings->addSettingsField(
254
+ 'pbsfi_enable_lazyload_styles',
255
+ __('lazy load default styles', 'pb-seo-friendly-images'),
256
+ array(
257
+ 'type' => 'checkbox',
258
+ 'default' => false,
259
+ 'desc' => __('enable lazy load default styles', 'pb-seo-friendly-images'),
260
+ 'disabled' => ((self::$proVersion)?false:true)
261
+ )
262
+ );
263
+
264
+ self::$settings->addSettingsField(
265
+ 'pbsfi_lazyload_threshold',
266
+ __('threshold', 'pb-seo-friendly-images'),
267
+ array(
268
+ 'type' => 'text',
269
+ 'default' => '0',
270
+ 'desc' => __('By default, images are only loaded when the user scrolls to them and they became visible on the screen (default value for this field <code>0</code>). If you want your images to load earlier than that, lets say 200px then you need to type in <code>200</code>.', 'pb-seo-friendly-images'),
271
+ 'disabled' => ((self::$proVersion)?false:true)
272
+ )
273
+ );
274
+
275
+ self::$settings->addSettingsField(
276
+ 'pbsfi_disable_srcset',
277
+ __('disable srcset', 'pb-seo-friendly-images'),
278
+ array(
279
+ 'type' => 'checkbox',
280
+ 'default' => false,
281
+ 'desc' => __('disable srcset attribute and responsive images in WordPress if you don\'t need them', 'pb-seo-friendly-images'),
282
+ 'disabled' => ((self::$proVersion)?false:true)
283
+ )
284
+ );
285
  }
286
 
287
  public static function optionsPageMenu()
301
  if (!current_user_can('manage_options')) {
302
  return;
303
  }
304
+
305
+ update_option( 'pbsfi_upgrade_notice', self::$verMajor, false );
306
  ?>
307
  <div class="wrap">
308
  <h1><?php echo esc_html(get_admin_page_title()); ?></h1>
js/unveil.js ADDED
@@ -0,0 +1,63 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /**
2
+ * jQuery Unveil
3
+ * A very lightweight jQuery plugin to lazy load images
4
+ * http://luis-almeida.github.com/unveil
5
+ *
6
+ * Licensed under the MIT license.
7
+ * Copyright 2013 Luís Almeida
8
+ * https://github.com/luis-almeida
9
+ */
10
+
11
+ ;(function($) {
12
+
13
+ $.fn.unveil = function(threshold, callback) {
14
+
15
+ var $w = $(window),
16
+ th = threshold || 0,
17
+ retina = window.devicePixelRatio > 1,
18
+ attrib = retina? "data-src-retina" : "data-src",
19
+ images = this,
20
+ loaded;
21
+
22
+ this.one("unveil", function() {
23
+ var source = this.getAttribute(attrib);
24
+ source = source || this.getAttribute("data-src");
25
+ if (source) {
26
+ this.setAttribute("src", source);
27
+ if (typeof callback === "function") callback.call(this);
28
+ }
29
+ });
30
+
31
+ function unveil() {
32
+ var inview = images.filter(function() {
33
+ var $e = $(this);
34
+ if ($e.is(":hidden")) return;
35
+
36
+ var wt = $w.scrollTop(),
37
+ wb = wt + $w.height(),
38
+ et = $e.offset().top,
39
+ eb = et + $e.height();
40
+
41
+ return eb >= wt - th && et <= wb + th;
42
+ });
43
+
44
+ loaded = inview.trigger("unveil");
45
+ images = images.not(loaded);
46
+ }
47
+
48
+ $w.on("scroll.unveil resize.unveil lookup.unveil", unveil);
49
+
50
+ unveil();
51
+
52
+ return this;
53
+
54
+ };
55
+
56
+ })(window.jQuery || window.Zepto);
57
+
58
+ jQuery(document).ready(function() {
59
+ if( typeof pbUnveilThreshold == "undefined" || isNaN(pbUnveilThreshold) ) {
60
+ pbUnveilThreshold = 0;
61
+ }
62
+ jQuery('.lazy').unveil(pbUnveilThreshold);
63
+ });
lang/pb-seo-friendly-images-de_DE.mo CHANGED
Binary file
lang/pb-seo-friendly-images-de_DE.po CHANGED
@@ -1,8 +1,8 @@
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: PB SEO Friendly Images\n"
4
- "POT-Creation-Date: 2016-12-18 23:11+0100\n"
5
- "PO-Revision-Date: 2016-12-18 23:13+0100\n"
6
  "Last-Translator: Pascal Bajorat <pascal@pascal-bajorat.com>\n"
7
  "Language-Team: Pascal Bajorat <pascal@pascal-bajorat.com>\n"
8
  "Language: de\n"
@@ -20,45 +20,73 @@ msgstr ""
20
  "X-Poedit-SearchPath-0: .\n"
21
  "X-Poedit-SearchPathExcluded-0: *.js\n"
22
 
23
- #: inc/settings.php:36
 
 
 
 
 
 
 
 
 
 
 
 
 
24
  msgid "Settings"
25
  msgstr "Einstellungen"
26
 
27
- #: inc/settings.php:56
28
- msgid "Image »alt« and »title« Settings"
29
- msgstr "Bilder »alt« und »title« Einstellungen"
30
 
31
- #: inc/settings.php:58
 
 
 
 
32
  msgid ""
33
- "PB SEO Friendly Images automatically adds »alt« and »title« attributes to "
34
- "all images and post thumbnails in your posts. The default options are a good "
35
- "starting point for the optimization and basically fine for most websites."
 
36
  msgstr ""
37
- "PB SEO Friendly Images verwaltet automatisch die »alt« und »title« Attribute "
38
- "deiner Post-Thumbnails sowie aller Bilder innerhalb deiner Seiten und "
39
- "Artikel. Die Standard-Einstellungen sind eine gute erste Grundlage und "
40
  "werden für die meisten Webseiten gut funktionieren, ohne das Änderungen "
41
  "notwendig sind."
42
 
43
- #: inc/settings.php:59
44
  msgid "Override feature"
45
  msgstr "Override-Funktion"
46
 
47
- #: inc/settings.php:59
48
  msgid ""
49
- "If you enable the override this means that a possible sync and also hand "
50
- "picked »alt« / »title« attributes will be overwritten with the selected "
51
- "scheme. If you have good hand picked »alt« or »title« attributes in your "
52
- "images I can't recommend to use the override. Automatic sync between »alt« "
53
- "and »title« will do it's best for you."
54
  msgstr ""
55
  "Wenn du die Override (überschreiben) Funktion verwendest, werden alle "
56
- "manuellen »alt« und/oder »title« Attribute durch das gewählte Schema "
57
  "überschrieben. Wenn du bereits manuelle Attribute für deine Bilder gesetzt "
58
  "hast, solltest du einfach die Sync Funktion ihren Job machen lassen und "
59
  "keine Überschreibung erzwingen."
60
 
61
- #: inc/settings.php:62
 
 
 
 
 
 
 
 
 
 
62
  #, php-format
63
  msgid ""
64
  "PB SEO Friendly Images is a free WordPress Plugin by <a href=\"%s\" target="
@@ -72,51 +100,63 @@ msgstr ""
72
  "\" target=\"_blank\">wenn du mich mit einer kleinen Spende virtuell auf "
73
  "einen Kaffee oder Bier einlädst</a>."
74
 
75
- #: inc/settings.php:72
 
 
 
 
 
 
 
 
 
 
 
76
  msgid "optimize images"
77
  msgstr "Bilder optimieren"
78
 
79
- #: inc/settings.php:77
80
  msgid "post thumbnails and images in post content"
81
  msgstr "Thumbnails und Bilder innerhalb der Posts"
82
 
83
- #: inc/settings.php:77 inc/settings.php:92
84
  msgid "recommended"
85
  msgstr "empfohlen"
86
 
87
- #: inc/settings.php:78
88
  msgid "only post thumbnails"
89
  msgstr "Nur Postthumbnails"
90
 
91
- #: inc/settings.php:79
92
  msgid "only images in post content"
93
  msgstr "Nur Bilder im Post-Inhalt"
94
 
95
- #: inc/settings.php:81
96
  msgid "which images should be optimized"
97
  msgstr "Welche Bilder sollen optimiert werden."
98
 
99
- #: inc/settings.php:87
100
  msgid "sync method"
101
  msgstr "Synchronisierungsmethode"
102
 
103
- #: inc/settings.php:92
104
  msgid "alt <=> title"
105
  msgstr "alt <=> title"
106
 
107
- #: inc/settings.php:93
108
  msgid "alt => title"
109
  msgstr "alt => title"
110
 
111
- #: inc/settings.php:94
112
  msgid "alt <= title"
113
  msgstr "alt => title"
114
 
115
- #: inc/settings.php:96
116
- msgid "select sync method for »alt« and »title« attribute."
117
- msgstr "Wähle die Synchronisierungsmethode für »alt« und »title« Attribute."
 
118
 
119
- #: inc/settings.php:97
120
  msgid ""
121
  "<code>alt <=> title</code> - if one attribute is set use it also for the "
122
  "other one"
@@ -124,81 +164,210 @@ msgstr ""
124
  "<code>alt <=> title</code> - Wenn ein Attribut gesetzt ist, wird dieses auch "
125
  "auf das andere übertragen"
126
 
127
- #: inc/settings.php:98
128
  msgid ""
129
- "<code>alt => title</code> - if »alt« is set use it for the title attribute"
130
  msgstr ""
131
- "<code>alt => title</code> - Wenn »alt« gesetzt ist, wird der Wert ebenfalls "
132
- "für »title« gesetzt"
133
 
134
- #: inc/settings.php:99
135
  msgid ""
136
- "<code>alt <= title</code> - if »title« is set use it for the alt attribute"
137
  msgstr ""
138
- "<code>alt <= title</code> - Wenn »title« gesetzt ist, wird der Wert "
139
- "ebenfalls für »alt« gesetzt"
140
 
141
- #: inc/settings.php:105
142
- msgid "override »alt«"
143
- msgstr "»alt« überschreiben"
144
 
145
- #: inc/settings.php:109
146
  msgid "override existing image alt attributes"
147
- msgstr "Überschreibt bestehende »alt« Attribute"
148
 
149
- #: inc/settings.php:115
150
- msgid "override »title«"
151
- msgstr "»title« überschreiben"
152
 
153
- #: inc/settings.php:119
154
  msgid "override existing image title attributes"
155
- msgstr "Überschreibt bestehende »title« Attribute"
156
 
157
- #: inc/settings.php:123
158
  msgid "possible variables:"
159
  msgstr "Mögliche Variablen:"
160
 
161
- #: inc/settings.php:124
162
  msgid "replaces post title"
163
  msgstr "Wird ersetzt durch Artikeltitel"
164
 
165
- #: inc/settings.php:125
166
  msgid "replaces post excerpt"
167
  msgstr "Wird ersetzt durch den Artikelauszug"
168
 
169
- #: inc/settings.php:126
170
  msgid "replaces image filename (without extension)"
171
  msgstr "Wird ersetzt mit dem Dateinamen (ohne Dateiendung)"
172
 
173
- #: inc/settings.php:127
174
  msgid "replaces post category"
175
  msgstr "Wird ersetzt durch die Artikelkategorien"
176
 
177
- #: inc/settings.php:128
178
  msgid "replaces post tags"
179
  msgstr "Wird ersetzt durch die Artikel-Tags"
180
 
181
- #: inc/settings.php:132
182
  msgid "alt scheme"
183
  msgstr "Schema alt-Attribut"
184
 
185
- #: inc/settings.php:136 inc/settings.php:146
186
  msgid "default"
187
  msgstr "Standard"
188
 
189
- #: inc/settings.php:142
190
  msgid "title scheme"
191
  msgstr "Schema title-Attribut"
192
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
193
  #. Plugin Name of the plugin/theme
194
- #: inc/settings.php:155
195
  msgid "PB SEO Friendly Images"
196
  msgstr "PB SEO Friendly Images"
197
 
198
- #: inc/settings.php:156
199
  msgid "SEO Friendly Images"
200
  msgstr "SEO Friendly Images"
201
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
202
  #. Plugin URI of the plugin/theme
203
  msgid "http://wordpress.org/extend/plugins/pb-seo-friendly-images/"
204
  msgstr "http://wordpress.org/extend/plugins/pb-seo-friendly-images/"
@@ -206,8 +375,8 @@ msgstr "http://wordpress.org/extend/plugins/pb-seo-friendly-images/"
206
  #. Description of the plugin/theme
207
  msgid ""
208
  "This plugin is a full-featured solution for SEO friendly images. Optimize "
209
- "»alt« and »title« attributes for all images and post thumbnails. This plugin "
210
- "helps you to improve your traffic from search engines."
211
  msgstr ""
212
  "PB SEO Friendly Images: Einfach, schnell und automatisch "
213
  "suchmaschinenfreundliche Bilder für WordPress. Simple Optimierung von Alt- "
@@ -221,15 +390,5 @@ msgstr "Pascal Bajorat"
221
  msgid "https://www.pascal-bajorat.com"
222
  msgstr "https://www.pascal-bajorat.com"
223
 
224
- #~ msgid ""
225
- #~ "This plugin is a full featured solution for SEO friendly images. You can "
226
- #~ "optimize »alt« and »title« attributes for all images and post thumbnails. "
227
- #~ "This plugin helps you to improve traffic from search engines."
228
- #~ msgstr ""
229
- #~ "Dieses Plugin ist eine komplette Lösung für SEO freundliche Bilder. Du "
230
- #~ "kannst automatisch »alt« und »title« Attribute für alle Bilder und Post-"
231
- #~ "Thumbnails optimieren. Das Plugin hilft durch die Optimierung der Bilder "
232
- #~ "für höheren Traffic über Suchmaschinen."
233
-
234
- #~ msgid "http://www.pascal-bajorat.com"
235
- #~ msgstr "http://www.pascal-bajorat.com"
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: PB SEO Friendly Images\n"
4
+ "POT-Creation-Date: 2017-01-16 11:28+0100\n"
5
+ "PO-Revision-Date: 2017-01-16 12:04+0100\n"
6
  "Last-Translator: Pascal Bajorat <pascal@pascal-bajorat.com>\n"
7
  "Language-Team: Pascal Bajorat <pascal@pascal-bajorat.com>\n"
8
  "Language: de\n"
20
  "X-Poedit-SearchPath-0: .\n"
21
  "X-Poedit-SearchPathExcluded-0: *.js\n"
22
 
23
+ #: inc/settings.php:35
24
+ #, php-format
25
+ msgid ""
26
+ "<strong>Hey %s</strong>, we have updated <a href=\"%s\">PB SEO Friendly "
27
+ "Images</a>. Visit the <a href=\"%s\">plugin settings page</a> to get deeper "
28
+ "insights about the new features. This message will disappear automatically "
29
+ "after you've visited the plugin settings."
30
+ msgstr ""
31
+ "<strong>Hey %s</strong>, wir haben <a href=\"%s\">PB SEO Friendly Images</a> "
32
+ "aktualisiert. Besuche die <a href=\"%s\">Plugin-Einstellungen</a> und schau "
33
+ "dir die neuen Funktionen an. Diese Nachricht verschwindet automatisch, "
34
+ "nachdem du die Plugin-Einstellung geöffnet hast."
35
+
36
+ #: inc/settings.php:59
37
  msgid "Settings"
38
  msgstr "Einstellungen"
39
 
40
+ #: inc/settings.php:71
41
+ msgid "Get Pro Version"
42
+ msgstr "Pro-Version kaufen"
43
 
44
+ #: inc/settings.php:94
45
+ msgid "Image \"alt\" and \"title\" Settings"
46
+ msgstr "Bilder \"alt\" und \"title\" Einstellungen"
47
+
48
+ #: inc/settings.php:96
49
  msgid ""
50
+ "PB SEO Friendly Images automatically adds \"alt\" and \"title\" attributes "
51
+ "to all images and post thumbnails in your posts. The default options are a "
52
+ "good starting point for the optimization and basically fine for most "
53
+ "websites."
54
  msgstr ""
55
+ "PB SEO Friendly Images verwaltet automatisch die \"alt\" und \"title\" "
56
+ "Attribute deiner Post-Thumbnails sowie aller Bilder innerhalb deiner Seiten "
57
+ "und Artikel. Die Standard-Einstellungen sind eine gute erste Grundlage und "
58
  "werden für die meisten Webseiten gut funktionieren, ohne das Änderungen "
59
  "notwendig sind."
60
 
61
+ #: inc/settings.php:97
62
  msgid "Override feature"
63
  msgstr "Override-Funktion"
64
 
65
+ #: inc/settings.php:97
66
  msgid ""
67
+ "Enable the override means that a possible sync and also hand picked \"alt"
68
+ "\" / \"title\" attributes will be overwritten with the selected scheme. If "
69
+ "you have good hand picked \"alt\" or \"title\" attributes in your images, I "
70
+ "can not recommend to use the override. Automatic sync between \"alt\" and "
71
+ "\"title\" will do it's best for you."
72
  msgstr ""
73
  "Wenn du die Override (überschreiben) Funktion verwendest, werden alle "
74
+ "manuellen \"alt\" und/oder \"title\" Attribute durch das gewählte Schema "
75
  "überschrieben. Wenn du bereits manuelle Attribute für deine Bilder gesetzt "
76
  "hast, solltest du einfach die Sync Funktion ihren Job machen lassen und "
77
  "keine Überschreibung erzwingen."
78
 
79
+ #: inc/settings.php:101
80
+ #, php-format
81
+ msgid ""
82
+ "PB SEO Friendly Images Pro is a WordPress Plugin by <a href=\"%s\" target="
83
+ "\"_blank\">Pascal Bajorat</a> and made with %s in Berlin, Germany."
84
+ msgstr ""
85
+ "PB SEO Friendly Images Pro ist ein Wordpress - Plugin von <a href=\"%s\" "
86
+ "target=\"_blank\">Pascal Bajorat</a>, entwickelt und gepflegt mit %s in "
87
+ "Berlin."
88
+
89
+ #: inc/settings.php:107
90
  #, php-format
91
  msgid ""
92
  "PB SEO Friendly Images is a free WordPress Plugin by <a href=\"%s\" target="
100
  "\" target=\"_blank\">wenn du mich mit einer kleinen Spende virtuell auf "
101
  "einen Kaffee oder Bier einlädst</a>."
102
 
103
+ #: inc/settings.php:114
104
+ #, php-format
105
+ msgid ""
106
+ "Please consider upgrading to <a href=\"%s\" target=\"_blank\">PB SEO "
107
+ "Friendly Images Pro</a> if you want to use more features and support the "
108
+ "development of this plugin."
109
+ msgstr ""
110
+ "Bitte ziehe doch ein Upgrade auf <a href=\"%s\" target=\"_blank\">PB SEO "
111
+ "Friendly Images Pro</a> in Erwägung, wenn du weitere Funktionen verwenden "
112
+ "möchtest und die Entwicklung des Plugins unterstützen willst."
113
+
114
+ #: inc/settings.php:123
115
  msgid "optimize images"
116
  msgstr "Bilder optimieren"
117
 
118
+ #: inc/settings.php:128
119
  msgid "post thumbnails and images in post content"
120
  msgstr "Thumbnails und Bilder innerhalb der Posts"
121
 
122
+ #: inc/settings.php:128 inc/settings.php:143
123
  msgid "recommended"
124
  msgstr "empfohlen"
125
 
126
+ #: inc/settings.php:129
127
  msgid "only post thumbnails"
128
  msgstr "Nur Postthumbnails"
129
 
130
+ #: inc/settings.php:130
131
  msgid "only images in post content"
132
  msgstr "Nur Bilder im Post-Inhalt"
133
 
134
+ #: inc/settings.php:132
135
  msgid "which images should be optimized"
136
  msgstr "Welche Bilder sollen optimiert werden."
137
 
138
+ #: inc/settings.php:138
139
  msgid "sync method"
140
  msgstr "Synchronisierungsmethode"
141
 
142
+ #: inc/settings.php:143
143
  msgid "alt <=> title"
144
  msgstr "alt <=> title"
145
 
146
+ #: inc/settings.php:144
147
  msgid "alt => title"
148
  msgstr "alt => title"
149
 
150
+ #: inc/settings.php:145
151
  msgid "alt <= title"
152
  msgstr "alt => title"
153
 
154
+ #: inc/settings.php:147
155
+ msgid "select sync method for \"alt\" and \"title\" attribute."
156
+ msgstr ""
157
+ "Wähle die Synchronisierungsmethode für \"alt\" und \"title\" Attribute."
158
 
159
+ #: inc/settings.php:148
160
  msgid ""
161
  "<code>alt <=> title</code> - if one attribute is set use it also for the "
162
  "other one"
164
  "<code>alt <=> title</code> - Wenn ein Attribut gesetzt ist, wird dieses auch "
165
  "auf das andere übertragen"
166
 
167
+ #: inc/settings.php:149
168
  msgid ""
169
+ "<code>alt => title</code> - if \"alt\" is set use it for the title attribute"
170
  msgstr ""
171
+ "<code>alt => title</code> - Wenn \"alt\" gesetzt ist, wird der Wert "
172
+ "ebenfalls für \"title\" gesetzt"
173
 
174
+ #: inc/settings.php:150
175
  msgid ""
176
+ "<code>alt <= title</code> - if \"title\" is set use it for the alt attribute"
177
  msgstr ""
178
+ "<code>alt <= title</code> - Wenn \"title\" gesetzt ist, wird der Wert "
179
+ "ebenfalls für \"alt\" gesetzt"
180
 
181
+ #: inc/settings.php:156
182
+ msgid "override \"alt\""
183
+ msgstr "\"alt\" überschreiben"
184
 
185
+ #: inc/settings.php:160
186
  msgid "override existing image alt attributes"
187
+ msgstr "Überschreibt bestehende \"alt\" Attribute"
188
 
189
+ #: inc/settings.php:166
190
+ msgid "override \"title\""
191
+ msgstr "\"title\" überschreiben"
192
 
193
+ #: inc/settings.php:170
194
  msgid "override existing image title attributes"
195
+ msgstr "Überschreibt bestehende \"title\" Attribute"
196
 
197
+ #: inc/settings.php:174
198
  msgid "possible variables:"
199
  msgstr "Mögliche Variablen:"
200
 
201
+ #: inc/settings.php:175
202
  msgid "replaces post title"
203
  msgstr "Wird ersetzt durch Artikeltitel"
204
 
205
+ #: inc/settings.php:176
206
  msgid "replaces post excerpt"
207
  msgstr "Wird ersetzt durch den Artikelauszug"
208
 
209
+ #: inc/settings.php:177
210
  msgid "replaces image filename (without extension)"
211
  msgstr "Wird ersetzt mit dem Dateinamen (ohne Dateiendung)"
212
 
213
+ #: inc/settings.php:178
214
  msgid "replaces post category"
215
  msgstr "Wird ersetzt durch die Artikelkategorien"
216
 
217
+ #: inc/settings.php:179
218
  msgid "replaces post tags"
219
  msgstr "Wird ersetzt durch die Artikel-Tags"
220
 
221
+ #: inc/settings.php:183
222
  msgid "alt scheme"
223
  msgstr "Schema alt-Attribut"
224
 
225
+ #: inc/settings.php:187 inc/settings.php:197
226
  msgid "default"
227
  msgstr "Standard"
228
 
229
+ #: inc/settings.php:193
230
  msgid "title scheme"
231
  msgstr "Schema title-Attribut"
232
 
233
+ #: inc/settings.php:213
234
+ msgid "Lazy Load settings"
235
+ msgstr "Lazy Load Einstellungen"
236
+
237
+ #: inc/settings.php:215
238
+ msgid ""
239
+ "This function is very useful and it boosts performance by delaying loading "
240
+ "of images in long web pages, because images outside of viewport (visible "
241
+ "part of web page) won't be loaded until the user scrolls to them."
242
+ msgstr ""
243
+ "Diese Funktion ist unglaublich hilfreich auf Seiten mit vielen Bildern. Die "
244
+ "Performance wird erheblich erhöht, dadurch das Bilder erst geladen werden, "
245
+ "wenn diese in den Viewport scrollen, nicht vorher. Damit wird die initiale "
246
+ "Datenlast beim Laden stark reduziert."
247
+
248
+ #: inc/settings.php:216
249
+ msgid ""
250
+ "The lazy load is powered by unveil.js, one of the fastest and thinnest lazy "
251
+ "loader in the web. The implementation is highly seo compatible with a no js "
252
+ "fallback."
253
+ msgstr ""
254
+ "Der Lazy Load basiert auf unveil.js, einer der schnellsten und kleinsten "
255
+ "Lazy Loader im Web. Die Umsetzung ist SEO kompatibel aufgebaut und verfügt "
256
+ "über einen JS Fallback."
257
+
258
+ #: inc/settings.php:217
259
+ msgid ""
260
+ "If enabled the lazy load will be added automatically to images in your post "
261
+ "or page content and also to post thumbnails."
262
+ msgstr ""
263
+ "Wenn der Lazy Load aktiviert ist, wird die Funktion automatisch in deinen "
264
+ "Beiträgen, Seite und Artikelbildern aktiviert."
265
+
266
+ #: inc/settings.php:222
267
+ #, php-format
268
+ msgid ""
269
+ "Please consider upgrading to <a href=\"%s\" target=\"_blank\">PB SEO "
270
+ "Friendly Images Pro</a> if you want to use this feature."
271
+ msgstr ""
272
+ "Bitte führe ein Upgrade auf <a href=\"%s\" target=\"_blank\">PB SEO Friendly "
273
+ "Images Pro</a> durch, um diese Funktion verwenden zu können."
274
+
275
+ #: inc/settings.php:227
276
+ msgid ""
277
+ "Want to add lazy load to images in your theme? You only need to do some "
278
+ "small modifications. Add class \"lazy\" and modify the \"src\" like this:"
279
+ msgstr ""
280
+ "Möchtest du den Lazy Load auch für Bilder in deinem Theme verwenden? Du "
281
+ "musst lediglich ein paar kleinere Modifikationen durchführen. Füge die "
282
+ "Klasse \"lazy\" hinzu und erweitere das \"src\" Attribut wie folgt:"
283
+
284
+ #: inc/settings.php:227
285
+ msgid "REAL SRC HERE"
286
+ msgstr "Echter SRC Pfad"
287
+
288
+ #: inc/settings.php:233
289
+ msgid "enable lazy load"
290
+ msgstr "Lazy Load aktivieren"
291
+
292
+ #: inc/settings.php:237
293
+ msgid "enable lazy load and boost up your site speed"
294
+ msgstr "Aktiviere Lazy Load und steigere die Performance deiner Webseite"
295
+
296
+ #: inc/settings.php:244
297
+ msgid "enable lazy load for acf"
298
+ msgstr "Lazy Load für ACF"
299
+
300
+ #: inc/settings.php:248
301
+ msgid "enable lazy load for AdvancedCustomFields"
302
+ msgstr "Lazy Load für AdvancedCustomFields aktivieren"
303
+
304
+ #: inc/settings.php:255
305
+ msgid "lazy load default styles"
306
+ msgstr "Lazy Load Standard-Styles laden"
307
+
308
+ #: inc/settings.php:259
309
+ msgid "enable lazy load default styles"
310
+ msgstr "Lazy Load Standard-Styles laden"
311
+
312
+ #: inc/settings.php:266
313
+ msgid "threshold"
314
+ msgstr "Grenzwert für Lazy Load"
315
+
316
+ #: inc/settings.php:270
317
+ msgid ""
318
+ "By default, images are only loaded when the user scrolls to them and they "
319
+ "became visible on the screen (default value for this field <code>0</code>). "
320
+ "If you want your images to load earlier than that, lets say 200px then you "
321
+ "need to type in <code>200</code>."
322
+ msgstr ""
323
+ "Standardmäßig werden die Bilder nur dann geladen, wenn der Besucher zu den "
324
+ "Bildern scrollt und diese in den sichtbaren Bereich rutschen (Standardwert "
325
+ "für dieses Feld <code>0</code>). Wenn du die Bilder früher laden möchtest, "
326
+ "sagen wir 200px vor dem Viewport, dann müssen <code>200</code> als Feldwert "
327
+ "gesetzt werden."
328
+
329
+ #: inc/settings.php:277
330
+ msgid "disable srcset"
331
+ msgstr "srcset ausschalten"
332
+
333
+ #: inc/settings.php:281
334
+ msgid ""
335
+ "disable srcset attribute and responsive images in WordPress if you don't "
336
+ "need them"
337
+ msgstr ""
338
+ "deaktiviere das srcset Attribut und Responsive Bilder in Wordpress, wenn du "
339
+ "diese nicht benötigst"
340
+
341
  #. Plugin Name of the plugin/theme
342
+ #: inc/settings.php:291
343
  msgid "PB SEO Friendly Images"
344
  msgstr "PB SEO Friendly Images"
345
 
346
+ #: inc/settings.php:292
347
  msgid "SEO Friendly Images"
348
  msgstr "SEO Friendly Images"
349
 
350
+ #: plugin-update-checker/github-checker.php:119
351
+ msgid "There is no changelog available."
352
+ msgstr "Es steht kein Änderungsprotokoll zur Verfügung."
353
+
354
+ #: plugin-update-checker/plugin-update-checker.php:776
355
+ msgid "Check for updates"
356
+ msgstr "Auf Aktualisierung prüfen"
357
+
358
+ #: plugin-update-checker/plugin-update-checker.php:820
359
+ msgid "This plugin is up to date."
360
+ msgstr "Dieses Plugin ist auf dem neuesten Stand."
361
+
362
+ #: plugin-update-checker/plugin-update-checker.php:822
363
+ msgid "A new version of this plugin is available."
364
+ msgstr "Eine neue Version dieses Plugins ist verfügbar."
365
+
366
+ #: plugin-update-checker/plugin-update-checker.php:824
367
+ #, php-format
368
+ msgid "Unknown update checker status \"%s\""
369
+ msgstr "Unbekannter Aktualisierungs-Status \"%s\""
370
+
371
  #. Plugin URI of the plugin/theme
372
  msgid "http://wordpress.org/extend/plugins/pb-seo-friendly-images/"
373
  msgstr "http://wordpress.org/extend/plugins/pb-seo-friendly-images/"
375
  #. Description of the plugin/theme
376
  msgid ""
377
  "This plugin is a full-featured solution for SEO friendly images. Optimize "
378
+ "\"alt\" and \"title\" attributes for all images and post thumbnails. This "
379
+ "plugin helps you to improve your traffic from search engines."
380
  msgstr ""
381
  "PB SEO Friendly Images: Einfach, schnell und automatisch "
382
  "suchmaschinenfreundliche Bilder für WordPress. Simple Optimierung von Alt- "
390
  msgid "https://www.pascal-bajorat.com"
391
  msgstr "https://www.pascal-bajorat.com"
392
 
393
+ #~ msgid "PB SEO Friendly Images Pro"
394
+ #~ msgstr "PB SEO Friendly Images Pro"
 
 
 
 
 
 
 
 
 
 
lang/pb-seo-friendly-images.pot ADDED
@@ -0,0 +1,334 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #, fuzzy
2
+ msgid ""
3
+ msgstr ""
4
+ "Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n"
5
+ "Project-Id-Version: PB SEO Friendly Images Pro\n"
6
+ "POT-Creation-Date: 2017-01-16 12:12+0100\n"
7
+ "PO-Revision-Date: 2016-12-23 22:36+0100\n"
8
+ "Last-Translator: Pascal Bajorat <pascal@pascal-bajorat.com>\n"
9
+ "Language-Team: Pascal Bajorat <pascal@pascal-bajorat.com>\n"
10
+ "MIME-Version: 1.0\n"
11
+ "Content-Type: text/plain; charset=UTF-8\n"
12
+ "Content-Transfer-Encoding: 8bit\n"
13
+ "X-Generator: Poedit 1.8.11\n"
14
+ "X-Poedit-Basepath: ..\n"
15
+ "X-Poedit-WPHeader: pb-seo-friendly-images.php\n"
16
+ "X-Poedit-SourceCharset: UTF-8\n"
17
+ "X-Poedit-KeywordsList: __;_e;_n:1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;esc_attr__;"
18
+ "esc_attr_e;esc_attr_x:1,2c;esc_html__;esc_html_e;esc_html_x:1,2c;_n_noop:1,2;"
19
+ "_nx_noop:3c,1,2;__ngettext_noop:1,2\n"
20
+ "X-Poedit-SearchPath-0: .\n"
21
+ "X-Poedit-SearchPathExcluded-0: *.js\n"
22
+
23
+ #: inc/settings.php:35
24
+ #, php-format
25
+ msgid ""
26
+ "<strong>Hey %s</strong>, we have updated <a href=\"%s\">PB SEO Friendly Images</"
27
+ "a>. Visit the <a href=\"%s\">plugin settings page</a> to get deeper insights "
28
+ "about the new features. This message will disappear automatically after you've "
29
+ "visited the plugin settings."
30
+ msgstr ""
31
+
32
+ #: inc/settings.php:59
33
+ msgid "Settings"
34
+ msgstr ""
35
+
36
+ #: inc/settings.php:71
37
+ msgid "Get Pro Version"
38
+ msgstr ""
39
+
40
+ #: inc/settings.php:94
41
+ msgid "Image \"alt\" and \"title\" Settings"
42
+ msgstr ""
43
+
44
+ #: inc/settings.php:96
45
+ msgid ""
46
+ "PB SEO Friendly Images automatically adds \"alt\" and \"title\" attributes to "
47
+ "all images and post thumbnails in your posts. The default options are a good "
48
+ "starting point for the optimization and basically fine for most websites."
49
+ msgstr ""
50
+
51
+ #: inc/settings.php:97
52
+ msgid "Override feature"
53
+ msgstr ""
54
+
55
+ #: inc/settings.php:97
56
+ msgid ""
57
+ "Enable the override means that a possible sync and also hand picked \"alt\" / "
58
+ "\"title\" attributes will be overwritten with the selected scheme. If you have "
59
+ "good hand picked \"alt\" or \"title\" attributes in your images, I can not "
60
+ "recommend to use the override. Automatic sync between \"alt\" and \"title\" will "
61
+ "do it's best for you."
62
+ msgstr ""
63
+
64
+ #: inc/settings.php:101
65
+ #, php-format
66
+ msgid ""
67
+ "PB SEO Friendly Images Pro is a WordPress Plugin by <a href=\"%s\" target="
68
+ "\"_blank\">Pascal Bajorat</a> and made with %s in Berlin, Germany."
69
+ msgstr ""
70
+
71
+ #: inc/settings.php:107
72
+ #, php-format
73
+ msgid ""
74
+ "PB SEO Friendly Images is a free WordPress Plugin by <a href=\"%s\" target="
75
+ "\"_blank\">Pascal Bajorat</a> and made with %s in Berlin, Germany.<br />If you "
76
+ "like it and maybe want to <a href=\"%s\" target=\"_blank\">buy me a cup of "
77
+ "coffee or a beer</a> I would appreciate that very much."
78
+ msgstr ""
79
+
80
+ #: inc/settings.php:114
81
+ #, php-format
82
+ msgid ""
83
+ "Please consider upgrading to <a href=\"%s\" target=\"_blank\">PB SEO Friendly "
84
+ "Images Pro</a> if you want to use more features and support the development of "
85
+ "this plugin."
86
+ msgstr ""
87
+
88
+ #: inc/settings.php:123
89
+ msgid "optimize images"
90
+ msgstr ""
91
+
92
+ #: inc/settings.php:128
93
+ msgid "post thumbnails and images in post content"
94
+ msgstr ""
95
+
96
+ #: inc/settings.php:128 inc/settings.php:143
97
+ msgid "recommended"
98
+ msgstr ""
99
+
100
+ #: inc/settings.php:129
101
+ msgid "only post thumbnails"
102
+ msgstr ""
103
+
104
+ #: inc/settings.php:130
105
+ msgid "only images in post content"
106
+ msgstr ""
107
+
108
+ #: inc/settings.php:132
109
+ msgid "which images should be optimized"
110
+ msgstr ""
111
+
112
+ #: inc/settings.php:138
113
+ msgid "sync method"
114
+ msgstr ""
115
+
116
+ #: inc/settings.php:143
117
+ msgid "alt <=> title"
118
+ msgstr ""
119
+
120
+ #: inc/settings.php:144
121
+ msgid "alt => title"
122
+ msgstr ""
123
+
124
+ #: inc/settings.php:145
125
+ msgid "alt <= title"
126
+ msgstr ""
127
+
128
+ #: inc/settings.php:147
129
+ msgid "select sync method for \"alt\" and \"title\" attribute."
130
+ msgstr ""
131
+
132
+ #: inc/settings.php:148
133
+ msgid ""
134
+ "<code>alt <=> title</code> - if one attribute is set use it also for the other "
135
+ "one"
136
+ msgstr ""
137
+
138
+ #: inc/settings.php:149
139
+ msgid ""
140
+ "<code>alt => title</code> - if \"alt\" is set use it for the title attribute"
141
+ msgstr ""
142
+
143
+ #: inc/settings.php:150
144
+ msgid ""
145
+ "<code>alt <= title</code> - if \"title\" is set use it for the alt attribute"
146
+ msgstr ""
147
+
148
+ #: inc/settings.php:156
149
+ msgid "override \"alt\""
150
+ msgstr ""
151
+
152
+ #: inc/settings.php:160
153
+ msgid "override existing image alt attributes"
154
+ msgstr ""
155
+
156
+ #: inc/settings.php:166
157
+ msgid "override \"title\""
158
+ msgstr ""
159
+
160
+ #: inc/settings.php:170
161
+ msgid "override existing image title attributes"
162
+ msgstr ""
163
+
164
+ #: inc/settings.php:174
165
+ msgid "possible variables:"
166
+ msgstr ""
167
+
168
+ #: inc/settings.php:175
169
+ msgid "replaces post title"
170
+ msgstr ""
171
+
172
+ #: inc/settings.php:176
173
+ msgid "replaces post excerpt"
174
+ msgstr ""
175
+
176
+ #: inc/settings.php:177
177
+ msgid "replaces image filename (without extension)"
178
+ msgstr ""
179
+
180
+ #: inc/settings.php:178
181
+ msgid "replaces post category"
182
+ msgstr ""
183
+
184
+ #: inc/settings.php:179
185
+ msgid "replaces post tags"
186
+ msgstr ""
187
+
188
+ #: inc/settings.php:183
189
+ msgid "alt scheme"
190
+ msgstr ""
191
+
192
+ #: inc/settings.php:187 inc/settings.php:197
193
+ msgid "default"
194
+ msgstr ""
195
+
196
+ #: inc/settings.php:193
197
+ msgid "title scheme"
198
+ msgstr ""
199
+
200
+ #: inc/settings.php:213
201
+ msgid "Lazy Load settings"
202
+ msgstr ""
203
+
204
+ #: inc/settings.php:215
205
+ msgid ""
206
+ "This function is very useful and it boosts performance by delaying loading of "
207
+ "images in long web pages, because images outside of viewport (visible part of "
208
+ "web page) won't be loaded until the user scrolls to them."
209
+ msgstr ""
210
+
211
+ #: inc/settings.php:216
212
+ msgid ""
213
+ "The lazy load is powered by unveil.js, one of the fastest and thinnest lazy "
214
+ "loader in the web. The implementation is highly seo compatible with a no js "
215
+ "fallback."
216
+ msgstr ""
217
+
218
+ #: inc/settings.php:217
219
+ msgid ""
220
+ "If enabled the lazy load will be added automatically to images in your post or "
221
+ "page content and also to post thumbnails."
222
+ msgstr ""
223
+
224
+ #: inc/settings.php:222
225
+ #, php-format
226
+ msgid ""
227
+ "Please consider upgrading to <a href=\"%s\" target=\"_blank\">PB SEO Friendly "
228
+ "Images Pro</a> if you want to use this feature."
229
+ msgstr ""
230
+
231
+ #: inc/settings.php:227
232
+ msgid ""
233
+ "Want to add lazy load to images in your theme? You only need to do some small "
234
+ "modifications. Add class \"lazy\" and modify the \"src\" like this:"
235
+ msgstr ""
236
+
237
+ #: inc/settings.php:227
238
+ msgid "REAL SRC HERE"
239
+ msgstr ""
240
+
241
+ #: inc/settings.php:233
242
+ msgid "enable lazy load"
243
+ msgstr ""
244
+
245
+ #: inc/settings.php:237
246
+ msgid "enable lazy load and boost up your site speed"
247
+ msgstr ""
248
+
249
+ #: inc/settings.php:244
250
+ msgid "enable lazy load for acf"
251
+ msgstr ""
252
+
253
+ #: inc/settings.php:248
254
+ msgid "enable lazy load for AdvancedCustomFields"
255
+ msgstr ""
256
+
257
+ #: inc/settings.php:255
258
+ msgid "lazy load default styles"
259
+ msgstr ""
260
+
261
+ #: inc/settings.php:259
262
+ msgid "enable lazy load default styles"
263
+ msgstr ""
264
+
265
+ #: inc/settings.php:266
266
+ msgid "threshold"
267
+ msgstr ""
268
+
269
+ #: inc/settings.php:270
270
+ msgid ""
271
+ "By default, images are only loaded when the user scrolls to them and they became "
272
+ "visible on the screen (default value for this field <code>0</code>). If you want "
273
+ "your images to load earlier than that, lets say 200px then you need to type in "
274
+ "<code>200</code>."
275
+ msgstr ""
276
+
277
+ #: inc/settings.php:277
278
+ msgid "disable srcset"
279
+ msgstr ""
280
+
281
+ #: inc/settings.php:281
282
+ msgid ""
283
+ "disable srcset attribute and responsive images in WordPress if you don't need "
284
+ "them"
285
+ msgstr ""
286
+
287
+ #. Plugin Name of the plugin/theme
288
+ #: inc/settings.php:291
289
+ msgid "PB SEO Friendly Images"
290
+ msgstr ""
291
+
292
+ #: inc/settings.php:292
293
+ msgid "SEO Friendly Images"
294
+ msgstr ""
295
+
296
+ #: plugin-update-checker/github-checker.php:119
297
+ msgid "There is no changelog available."
298
+ msgstr ""
299
+
300
+ #: plugin-update-checker/plugin-update-checker.php:776
301
+ msgid "Check for updates"
302
+ msgstr ""
303
+
304
+ #: plugin-update-checker/plugin-update-checker.php:820
305
+ msgid "This plugin is up to date."
306
+ msgstr ""
307
+
308
+ #: plugin-update-checker/plugin-update-checker.php:822
309
+ msgid "A new version of this plugin is available."
310
+ msgstr ""
311
+
312
+ #: plugin-update-checker/plugin-update-checker.php:824
313
+ #, php-format
314
+ msgid "Unknown update checker status \"%s\""
315
+ msgstr ""
316
+
317
+ #. Plugin URI of the plugin/theme
318
+ msgid "http://wordpress.org/extend/plugins/pb-seo-friendly-images/"
319
+ msgstr ""
320
+
321
+ #. Description of the plugin/theme
322
+ msgid ""
323
+ "This plugin is a full-featured solution for SEO friendly images. Optimize \"alt"
324
+ "\" and \"title\" attributes for all images and post thumbnails. This plugin "
325
+ "helps you to improve your traffic from search engines."
326
+ msgstr ""
327
+
328
+ #. Author of the plugin/theme
329
+ msgid "Pascal Bajorat"
330
+ msgstr ""
331
+
332
+ #. Author URI of the plugin/theme
333
+ msgid "https://www.pascal-bajorat.com"
334
+ msgstr ""
pb-seo-friendly-images.php CHANGED
@@ -2,8 +2,8 @@
2
  /*
3
  Plugin Name: PB SEO Friendly Images
4
  Plugin URI: http://wordpress.org/extend/plugins/pb-seo-friendly-images/
5
- Description: This plugin is a full-featured solution for SEO friendly images. Optimize »alt« and »title« attributes for all images and post thumbnails. This plugin helps you to improve your traffic from search engines.
6
- Version: 1.1.0
7
  Author: Pascal Bajorat
8
  Author URI: https://www.pascal-bajorat.com
9
  Text Domain: pb-seo-friendly-images
@@ -18,15 +18,31 @@ if ( !class_exists('WP') ) {
18
  die();
19
  }
20
 
21
- require_once 'inc/pbSettingsFramework.php';
 
 
 
 
 
 
 
 
 
 
22
 
23
  if( !class_exists('pbSEOFriendlyImages') ):
24
 
25
  class pbSEOFriendlyImages
26
  {
 
 
 
27
 
28
- static $basename = false;
29
- static $userSettings = array();
 
 
 
30
 
31
  /**
32
  * Init function
@@ -35,12 +51,17 @@ if( !class_exists('pbSEOFriendlyImages') ):
35
  {
36
  self::$basename = plugin_basename(__FILE__);
37
 
 
 
 
 
 
38
  /*
39
  * Language file
40
  */
41
- load_plugin_textdomain('pb-seo-friendly-images', false, dirname(self::$basename).'/lang/');
42
 
43
- /**
44
  * Get settings and defaults
45
  */
46
  if( ! is_admin() ) {
@@ -50,8 +71,18 @@ if( !class_exists('pbSEOFriendlyImages') ):
50
  'override_alt' => get_option('pbsfi_override_alt', false),
51
  'override_title' => get_option('pbsfi_override_title', false),
52
  'alt_scheme' => get_option('pbsfi_alt_scheme', '%name - %title'),
53
- 'title_scheme' => get_option('pbsfi_title_scheme', '%title')
 
 
 
 
 
54
  );
 
 
 
 
 
55
  }
56
 
57
  // process post thumbnails
@@ -66,17 +97,24 @@ if( !class_exists('pbSEOFriendlyImages') ):
66
  /*
67
  * Support for AdvancedCustomFields
68
  */
69
- //add_filter('acf/load_value/type=text', array(__CLASS__, 'encrypt_mails_in_content'), 20);
70
- add_filter('acf/load_value/type=textarea', array(__CLASS__, 'prepareContentImages'), 20);
71
- add_filter('acf/load_value/type=wysiwyg', array(__CLASS__, 'prepareContentImages'), 20);
72
 
73
- //add_filter('acf_load_value-text', array(__CLASS__, 'encrypt_mails_in_content'), 20);
74
- add_filter('acf_load_value-textarea', array(__CLASS__, 'prepareContentImages'), 20);
75
- add_filter('acf_load_value-wysiwyg', array(__CLASS__, 'prepareContentImages'), 20);
 
76
  }
77
 
78
- //add_filter( 'wp_calculate_image_srcset_meta', '__return_null' );
79
- //remove_filter( 'the_content','wp_make_content_images_responsive' );
 
 
 
 
 
 
80
  }
81
 
82
  /**
@@ -169,8 +207,13 @@ if( !class_exists('pbSEOFriendlyImages') ):
169
  return $content;
170
 
171
  foreach ($imgTags as $tag) {
 
172
  $src = trim($tag->getAttribute('src'));
173
 
 
 
 
 
174
  /**
175
  * Override Area
176
  */
@@ -294,7 +337,10 @@ if( !class_exists('pbSEOFriendlyImages') ):
294
 
295
  endif; // class_exists
296
 
297
- require_once 'inc/settings.php';
 
 
 
298
 
299
  add_action(
300
  'plugins_loaded',
@@ -312,6 +358,16 @@ add_action(
312
  )
313
  );
314
 
 
 
 
 
 
 
 
 
 
 
315
  register_uninstall_hook(
316
  __FILE__,
317
  array(
2
  /*
3
  Plugin Name: PB SEO Friendly Images
4
  Plugin URI: http://wordpress.org/extend/plugins/pb-seo-friendly-images/
5
+ Description: This plugin is a full-featured solution for SEO friendly images. Optimize "alt" and "title" attributes for all images and post thumbnails. This plugin helps you to improve your traffic from search engines.
6
+ Version: 1.2.0
7
  Author: Pascal Bajorat
8
  Author URI: https://www.pascal-bajorat.com
9
  Text Domain: pb-seo-friendly-images
18
  die();
19
  }
20
 
21
+ if( ! defined('pbsfi_plugin_path') ) {
22
+ define('pbsfi_plugin_path', plugin_dir_path(__FILE__));
23
+ }
24
+
25
+ if( ! defined('pbsfi_plugin_pro_path') ) {
26
+ define('pbsfi_plugin_pro_path', pbsfi_plugin_path.'inc'.DIRECTORY_SEPARATOR.'pro.php');
27
+ }
28
+
29
+
30
+
31
+ require_once 'inc'.DIRECTORY_SEPARATOR.'pbSettingsFramework.php';
32
 
33
  if( !class_exists('pbSEOFriendlyImages') ):
34
 
35
  class pbSEOFriendlyImages
36
  {
37
+ public static $verMajor = 1.2;
38
+ public static $verMinor = 0;
39
+
40
 
41
+ public static $basename = false;
42
+ public static $userSettings = array();
43
+ public static $proVersion = false;
44
+ public static $proURL = 'http://bit.ly/seo-friendly-images-pro';
45
+ public static $updateURL = 'https://pb-seo-friendly-images.s3-eu-west-1.amazonaws.com/pb-seo-friendly-images-pro.json';
46
 
47
  /**
48
  * Init function
51
  {
52
  self::$basename = plugin_basename(__FILE__);
53
 
54
+ // Pro Version file check
55
+ if( file_exists(pbsfi_plugin_pro_path) ) {
56
+ self::$proVersion = true;
57
+ }
58
+
59
  /*
60
  * Language file
61
  */
62
+ load_plugin_textdomain('pb-seo-friendly-images', false, dirname(self::$basename).DIRECTORY_SEPARATOR.'lang'.DIRECTORY_SEPARATOR);
63
 
64
+ /*
65
  * Get settings and defaults
66
  */
67
  if( ! is_admin() ) {
71
  'override_alt' => get_option('pbsfi_override_alt', false),
72
  'override_title' => get_option('pbsfi_override_title', false),
73
  'alt_scheme' => get_option('pbsfi_alt_scheme', '%name - %title'),
74
+ 'title_scheme' => get_option('pbsfi_title_scheme', '%title'),
75
+ 'enable_lazyload' => get_option('pbsfi_enable_lazyload', true),
76
+ 'enable_lazyload_acf' => get_option('pbsfi_enable_lazyload_acf', true),
77
+ 'enable_lazyload_styles' => get_option('pbsfi_enable_lazyload_styles', false),
78
+ 'lazyload_threshold' => get_option('pbsfi_lazyload_threshold', false),
79
+ 'disable_srcset' => get_option('pbsfi_disable_srcset', false)
80
  );
81
+ } else {
82
+ add_action( 'admin_enqueue_scripts', function(){
83
+ wp_register_style( 'pbsfi-admin-css', plugins_url(dirname(self::$basename)).'/css/admin.css', false, '1.0.0' );
84
+ wp_enqueue_style( 'pbsfi-admin-css' );
85
+ } );
86
  }
87
 
88
  // process post thumbnails
97
  /*
98
  * Support for AdvancedCustomFields
99
  */
100
+ if( ! is_admin() ) {
101
+ add_filter('acf/load_value/type=textarea', array(__CLASS__, 'prepareContentImages'), 20);
102
+ add_filter('acf/load_value/type=wysiwyg', array(__CLASS__, 'prepareContentImages'), 20);
103
 
104
+ //add_filter('acf_load_value-text', array(__CLASS__, 'encrypt_mails_in_content'), 20);
105
+ add_filter('acf_load_value-textarea', array(__CLASS__, 'prepareContentImages'), 20);
106
+ add_filter('acf_load_value-wysiwyg', array(__CLASS__, 'prepareContentImages'), 20);
107
+ }
108
  }
109
 
110
+ if( self::$proVersion && file_exists(pbsfi_plugin_path.'plugin-update-checker'.DIRECTORY_SEPARATOR.'plugin-update-checker.php') ) {
111
+ require pbsfi_plugin_path.'plugin-update-checker'.DIRECTORY_SEPARATOR.'plugin-update-checker.php';
112
+ $UpdateChecker = new PluginUpdateChecker_3_2 (
113
+ self::$updateURL,
114
+ __FILE__,
115
+ 'pb-seo-friendly-images-pro'
116
+ );
117
+ }
118
  }
119
 
120
  /**
207
  return $content;
208
 
209
  foreach ($imgTags as $tag) {
210
+ $data_src = trim($tag->getAttribute('data-src'));
211
  $src = trim($tag->getAttribute('src'));
212
 
213
+ if( !empty($data_src) ) {
214
+ $src = $data_src;
215
+ }
216
+
217
  /**
218
  * Override Area
219
  */
337
 
338
  endif; // class_exists
339
 
340
+ require_once 'inc'.DIRECTORY_SEPARATOR.'settings.php';
341
+ if( file_exists(pbsfi_plugin_pro_path) ) {
342
+ require_once pbsfi_plugin_pro_path;
343
+ }
344
 
345
  add_action(
346
  'plugins_loaded',
358
  )
359
  );
360
 
361
+ if( class_exists('pbSEOFriendlyImagesPro') ) {
362
+ add_action(
363
+ 'plugins_loaded',
364
+ array(
365
+ 'pbSEOFriendlyImagesPro',
366
+ 'init'
367
+ )
368
+ );
369
+ }
370
+
371
  register_uninstall_hook(
372
  __FILE__,
373
  array(
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: https://www.pascal-bajorat.com/spenden/
4
  Tags: seo, images, Post, admin, google, attachment, optimize, photo, picture, image, media, photos, pictures, alt, title
5
  Requires at least: 3.0
6
  Tested up to: 4.7
7
- Stable tag: 1.1.0
8
  License: GPLv3
9
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
10
 
@@ -25,6 +25,8 @@ PB SEO Friendly Images is a free WordPress plugin that helps you to automaticall
25
 
26
  The idea to this plugin based on a similar WordPress plugin "SEO Friendly Images" by Vladimir Prelovac. This plugin version has more settings, possibilities to configure your »alt« / »title« attributes and it’s actively maintained. There is also a sync function, that automatically use existing »alt« as »title« and vice versa if one of the values exist. This is really important, if you have already optimized some of your images.
27
 
 
 
28
  If you have any questions or problems, you can ask me: [Pascal Bajorat - Webdesigner and WordPress Developer from Berlin](https://www.pascal-bajorat.com/ "Pascal Bajorat - Webdesigner and WordPress Developer from Berlin")
29
 
30
  == Installation ==
@@ -42,9 +44,13 @@ If you have any questions or problems, you can ask me: [Pascal Bajorat - Webdesi
42
  = 1.0 =
43
  * Initial release.
44
 
45
- = 1.1 =
46
  * Added support for Advanced Custom Fields.
47
 
 
 
 
 
48
  == License ==
49
 
50
- GNU General Public License v.3 - http://www.gnu.org/licenses/gpl-3.0.html
4
  Tags: seo, images, Post, admin, google, attachment, optimize, photo, picture, image, media, photos, pictures, alt, title
5
  Requires at least: 3.0
6
  Tested up to: 4.7
7
+ Stable tag: 1.2.0
8
  License: GPLv3
9
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
10
 
25
 
26
  The idea to this plugin based on a similar WordPress plugin "SEO Friendly Images" by Vladimir Prelovac. This plugin version has more settings, possibilities to configure your »alt« / »title« attributes and it’s actively maintained. There is also a sync function, that automatically use existing »alt« as »title« and vice versa if one of the values exist. This is really important, if you have already optimized some of your images.
27
 
28
+ > **Need more features and extensive support? Check out our Pro-Version: [PB SEO Friendly Images Pro](http://bit.ly/seo-friendly-images-pro "PB SEO Friendly Images Pro")**
29
+
30
  If you have any questions or problems, you can ask me: [Pascal Bajorat - Webdesigner and WordPress Developer from Berlin](https://www.pascal-bajorat.com/ "Pascal Bajorat - Webdesigner and WordPress Developer from Berlin")
31
 
32
  == Installation ==
44
  = 1.0 =
45
  * Initial release.
46
 
47
+ = 1.1.0 =
48
  * Added support for Advanced Custom Fields.
49
 
50
+ = 1.2.0 =
51
+ * Added a pro version of this plugin: [PB SEO Friendly Images Pro](http://bit.ly/seo-friendly-images-pro "PB SEO Friendly Images Pro")
52
+ * Some smaller bugfixes and translation issues fixed
53
+
54
  == License ==
55
 
56
+ GNU General Public License v.3 - http://www.gnu.org/licenses/gpl-3.0.html