Featured Image From URL - Version 3.2.1

Version Description

  • New: performance tips; bug fix: images from some addresses were not being shown.
Download this release

Release Info

Developer marceljm
Plugin Icon 128x128 Featured Image From URL
Version 3.2.1
Comparing to
See all releases

Code changes from version 3.2.0 to 3.2.1

admin/category.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
 
3
  function fifu_category_scripts() {
4
- wp_enqueue_style('fifu-category-css', plugins_url('/html/css/category.css', __FILE__));
5
 
6
  fifu_register_meta_box_script();
7
  }
1
  <?php
2
 
3
  function fifu_category_scripts() {
4
+ wp_enqueue_style('fifu-category-css', plugins_url('/html/css/category.css', __FILE__), array(), fifu_version_number());
5
 
6
  fifu_register_meta_box_script();
7
  }
admin/html/menu.html CHANGED
@@ -1753,21 +1753,7 @@
1753
  <th>
1754
  <?php esc_html_e('Featured Slider', 'featured-image-from-url'); ?>
1755
  </th>
1756
- </tr>
1757
- <tr>
1758
- <th>
1759
- <input
1760
- type="submit"
1761
- href="javascript:void(0)"
1762
- id="fifu_toggle_slider_fade"
1763
- name="fifu_toggle_slider_fade"
1764
- class="toggleoff"
1765
- value="" style="display:block;border:none">
1766
- </th>
1767
- <th>
1768
- <?php esc_html_e('fade effect', 'featured-image-from-url'); ?>
1769
- </th>
1770
- </tr>
1771
  <tr>
1772
  <th>
1773
  <input
@@ -2763,11 +2749,11 @@
2763
  </div>
2764
  <div id="tabs-d">
2765
  <div class="box">
2766
- <h2><?php esc_html_e('Fast Support', 'featured-image-from-url'); ?></h2>
2767
  <div class="greybox">
2768
  <?php esc_html_e('If you need help, you can refer to', 'featured-image-from-url'); ?> <a href="admin.php?page=featured-image-from-url#tabs-t" target="_blank"><?php esc_html_e('troubleshooting', 'featured-image-from-url'); ?></a> <?php esc_html_e('or send an email to', 'featured-image-from-url'); ?><b> marcel@featuredimagefromurl.com</b> (<?php esc_html_e('with this', 'featured-image-from-url'); ?> <a href="admin.php?page=fifu-support-data"><button id="opener" onclick="jQuery('#tabs-top').block({message: '<?php esc_html_e('Please wait some seconds...', 'featured-image-from-url'); ?>', css: {backgroundColor: 'none', border: 'none', color: 'white'}});"><?php esc_html_e('status', 'featured-image-from-url'); ?></button></a>).
2769
- <br>
2770
- <br>
2771
  <table style="background-color: #fff; border-radius: 13px;">
2772
  <tr>
2773
  <td style="width:33%;text-align:center;border-bottom: 1px solid #ddd !important">
@@ -2799,7 +2785,7 @@
2799
  <?php esc_html_e('3) enable Image Metadata.', 'featured-image-from-url'); ?>
2800
  </td>
2801
  <td style="vertical-align: top;">
2802
- <?php esc_html_e('Just send me an email. If you are available to discuss the details and the plugin is free and has more than 50,000 active installs, I should provide an integration very soon.', 'featured-image-from-url'); ?>
2803
  </td>
2804
  <td>
2805
  <?php esc_html_e('You can set Featured Images using custom fields. The main one is fifu_image_url and you can set that using REST API. For nonstandard automation, enable Schedule Metadata Generation, at Admin tab (no additional code required).', 'featured-image-from-url'); ?>
@@ -2807,6 +2793,49 @@
2807
  </tr>
2808
  </table>
2809
  </div>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2810
  </div>
2811
  <!--div class="box">
2812
  <h2><a class="dbox-donation-button" style="background: #2d81c5;color: #fff;text-decoration: none;display: inline-block;font-size: 16px;padding: 2px 17px;-webkit-border-radius: 2px;-moz-border-radius: 2px;border-radius: 2px;box-shadow: 0px 0px 0px 0px #1f5a89;text-shadow: 0 1px rgba(0, 0, 0, 0.3);" href="https://fifu.app/#price" target="_blank">Buy Premium</a> and help me to take this project to the next level <span class="dashicons dashicons-info" style="font-size: 25px;" title="Pay with a Card, Apple Pay, Google Pay, Stripe, PayPal and more. No account required."></span></h2>
@@ -2815,25 +2844,8 @@
2815
  <div style="position:relative;left:10px">Hi, I'm Marcel, Software Engineer and Featured Image from URL author. <br>During the last 4 years I did my best to develop all requested features, integrations, improvements and bug fixes. And thanks to FIFU you keep saving money on storage, processing and copyright. However, with so many users (100,000+ active installs), it's becoming increasingly difficult to help everyone. <b>Extraordinary performance and automation features aren't done yet</b> while updates are required to keep this plugin working with the most current WordPress components. So please become a Premium user and help me to take FIFU to the next level!</div>
2816
  </div>
2817
  </div-->
2818
- <div class="box">
2819
- <h2><?php esc_html_e('Integrate your plugin with FIFU', 'featured-image-from-url'); ?></h2>
2820
- <div class="greybox">
2821
- <table style="width:100%">
2822
- <tr>
2823
- <td style="width:14%;vertical-align:unset;">
2824
- <i class="fab fa-dev" style="font-size:110px"></i>
2825
- </td>
2826
- <td style="width:85%">
2827
- <?php esc_html_e('Are you a WordPress developer? So now you can easily integrate your code with FIFU using the function below.', 'featured-image-from-url'); ?><br>
2828
- <?php esc_html_e('All you need is to inform the post id and the image url. And FIFU will set the custom fields and create the metadata.', 'featured-image-from-url'); ?><br><br>
2829
- <div style="background-color:#966385;color:white;padding:15px;border-radius:5px;font-weight:bold;">fifu_dev_set_image($post_id, $image_url)</div><br>
2830
- </td>
2831
- </tr>
2832
- </table>
2833
- </div>
2834
- </div>
2835
  <div class="box">
2836
- <h2><?php esc_html_e('Getting Started', 'featured-image-from-url'); ?></h2>
2837
  <div class="greybox" style="min-height:375px;padding:0 !important">
2838
  <div style="width:100%">
2839
  <hgroup style="float:left;opacity:0.75;" class="speech-bubble">
@@ -2867,16 +2879,33 @@
2867
  <br>
2868
  </hgroup>
2869
  </div>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2870
  </div>
2871
  <div class="box">
2872
  <h2>How to become a FIFU translator</h2>
2873
  <div class="greybox">
2874
  <table>
2875
  <tr>
2876
- <td style="width:17%;vertical-align:unset;">
2877
  <span class="dashicons dashicons-translation" style="font-size:110px"></span>
2878
  </td>
2879
- <td style="width:83%">
2880
  1) please check if your NATIVE language is still available <a href="https://fifu.app/translate/" target="_blank">here</a> and get the language code (e.g. de_DE);<br>
2881
  2) send an email to support@featuredimagefromurl.com with the subject <i>I'd like to translate FIFU to [language code]</i>;<br>
2882
  3) please wait for an answer. Once you are accepted as an official translator, you will be responsible for:<br>
@@ -2891,6 +2920,26 @@
2891
  </div>
2892
  </div>
2893
  <div id="tabs-t">
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2894
  <div class="box">
2895
  <table>
2896
  <tr>
1753
  <th>
1754
  <?php esc_html_e('Featured Slider', 'featured-image-from-url'); ?>
1755
  </th>
1756
+ </tr>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1757
  <tr>
1758
  <th>
1759
  <input
2749
  </div>
2750
  <div id="tabs-d">
2751
  <div class="box">
2752
+ <h2><?php esc_html_e('Fast support', 'featured-image-from-url'); ?></h2>
2753
  <div class="greybox">
2754
  <?php esc_html_e('If you need help, you can refer to', 'featured-image-from-url'); ?> <a href="admin.php?page=featured-image-from-url#tabs-t" target="_blank"><?php esc_html_e('troubleshooting', 'featured-image-from-url'); ?></a> <?php esc_html_e('or send an email to', 'featured-image-from-url'); ?><b> marcel@featuredimagefromurl.com</b> (<?php esc_html_e('with this', 'featured-image-from-url'); ?> <a href="admin.php?page=fifu-support-data"><button id="opener" onclick="jQuery('#tabs-top').block({message: '<?php esc_html_e('Please wait some seconds...', 'featured-image-from-url'); ?>', css: {backgroundColor: 'none', border: 'none', color: 'white'}});"><?php esc_html_e('status', 'featured-image-from-url'); ?></button></a>).
2755
+ </div>
2756
+ <div class="greybox">
2757
  <table style="background-color: #fff; border-radius: 13px;">
2758
  <tr>
2759
  <td style="width:33%;text-align:center;border-bottom: 1px solid #ddd !important">
2785
  <?php esc_html_e('3) enable Image Metadata.', 'featured-image-from-url'); ?>
2786
  </td>
2787
  <td style="vertical-align: top;">
2788
+ <?php esc_html_e('Just send me an email. If you are available to discuss the details and the plugin is free and has more than 25,000 active installs, I should provide an integration very soon.', 'featured-image-from-url'); ?>
2789
  </td>
2790
  <td>
2791
  <?php esc_html_e('You can set Featured Images using custom fields. The main one is fifu_image_url and you can set that using REST API. For nonstandard automation, enable Schedule Metadata Generation, at Admin tab (no additional code required).', 'featured-image-from-url'); ?>
2793
  </tr>
2794
  </table>
2795
  </div>
2796
+
2797
+ <div class="greybox">
2798
+ <table style="background-color: #fff; border-radius: 13px;">
2799
+ <tr>
2800
+ <td style="width:33%;text-align:center;border-bottom: 1px solid #ddd !important">
2801
+ <i class="fab fa-facebook" style="font-size:30px"></i>
2802
+ </td>
2803
+ <td style="width:33%;text-align:center;border-bottom: 1px solid #ddd !important">
2804
+ <i class="fas fa-spinner" style="font-size:30px"></i>
2805
+ </td>
2806
+ <td style="width:33%;text-align:center;border-bottom: 1px solid #ddd !important">
2807
+ <i class="fas fa-tachometer-alt" style="font-size:30px"></i>
2808
+ </td>
2809
+ </tr>
2810
+ <tr>
2811
+ <td style="width:33%;text-align:center;border-bottom: 1px solid #ddd !important">
2812
+ <i><?php esc_html_e('Facebook doesn\'t share my images', 'featured-image-from-url'); ?></i>
2813
+ </td>
2814
+ <td style="width:33%;text-align:center;border-bottom: 1px solid #ddd !important">
2815
+ <i><?php esc_html_e('My home page is slow', 'featured-image-from-url'); ?></i>
2816
+ </td>
2817
+ <td style="width:33%;text-align:center;border-bottom: 1px solid #ddd !important">
2818
+ <i><?php esc_html_e('PageSpeed Insights and GTmetrix issues', 'featured-image-from-url'); ?></i>
2819
+ </td>
2820
+ </tr>
2821
+ <tr>
2822
+ <td style="vertical-align: top;">
2823
+ <?php esc_html_e('You probably have a plugin or theme that sets a default image as the Facebook image (og:image tag). Just find and disable the option.', 'featured-image-from-url'); ?>
2824
+ </td>
2825
+ <td style="vertical-align: top;">
2826
+ <?php esc_html_e('1) access Performance tab;', 'featured-image-from-url'); ?>
2827
+ <?php esc_html_e('2) enable Lazy Load.', 'featured-image-from-url'); ?>
2828
+ <?php esc_html_e('Important: if you have another lazy load component running, you should disable that to avoid conficts.', 'featured-image-from-url'); ?>
2829
+ </td>
2830
+ <td>
2831
+ <?php esc_html_e('You may mitigate the problem installing Jetpack plugin. After that:', 'featured-image-from-url'); ?>
2832
+ <?php esc_html_e('1) access Settings, Performance;', 'featured-image-from-url'); ?>
2833
+ <?php esc_html_e('2) enable "Speed up image load times".', 'featured-image-from-url'); ?>
2834
+ <?php esc_html_e('A better solution will be available soon.', 'featured-image-from-url'); ?>
2835
+ </td>
2836
+ </tr>
2837
+ </table>
2838
+ </div>
2839
  </div>
2840
  <!--div class="box">
2841
  <h2><a class="dbox-donation-button" style="background: #2d81c5;color: #fff;text-decoration: none;display: inline-block;font-size: 16px;padding: 2px 17px;-webkit-border-radius: 2px;-moz-border-radius: 2px;border-radius: 2px;box-shadow: 0px 0px 0px 0px #1f5a89;text-shadow: 0 1px rgba(0, 0, 0, 0.3);" href="https://fifu.app/#price" target="_blank">Buy Premium</a> and help me to take this project to the next level <span class="dashicons dashicons-info" style="font-size: 25px;" title="Pay with a Card, Apple Pay, Google Pay, Stripe, PayPal and more. No account required."></span></h2>
2844
  <div style="position:relative;left:10px">Hi, I'm Marcel, Software Engineer and Featured Image from URL author. <br>During the last 4 years I did my best to develop all requested features, integrations, improvements and bug fixes. And thanks to FIFU you keep saving money on storage, processing and copyright. However, with so many users (100,000+ active installs), it's becoming increasingly difficult to help everyone. <b>Extraordinary performance and automation features aren't done yet</b> while updates are required to keep this plugin working with the most current WordPress components. So please become a Premium user and help me to take FIFU to the next level!</div>
2845
  </div>
2846
  </div-->
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2847
  <div class="box">
2848
+ <h2><?php esc_html_e('Getting started', 'featured-image-from-url'); ?></h2>
2849
  <div class="greybox" style="min-height:375px;padding:0 !important">
2850
  <div style="width:100%">
2851
  <hgroup style="float:left;opacity:0.75;" class="speech-bubble">
2879
  <br>
2880
  </hgroup>
2881
  </div>
2882
+ </div>
2883
+ <div class="box">
2884
+ <h2><?php esc_html_e('Integrate your plugin with FIFU', 'featured-image-from-url'); ?></h2>
2885
+ <div class="greybox">
2886
+ <table style="width:100%">
2887
+ <tr>
2888
+ <td style="width:14%;vertical-align:unset;">
2889
+ <i class="fab fa-dev" style="font-size:110px"></i>
2890
+ </td>
2891
+ <td style="width:85%">
2892
+ <?php esc_html_e('Are you a WordPress developer? So now you can easily integrate your code with FIFU using the function below.', 'featured-image-from-url'); ?><br>
2893
+ <?php esc_html_e('All you need is to inform the post id and the image url. And FIFU will set the custom fields and create the metadata.', 'featured-image-from-url'); ?><br><br>
2894
+ <div style="background-color:#966385;color:white;padding:15px;border-radius:5px;font-weight:bold;">fifu_dev_set_image($post_id, $image_url)</div><br>
2895
+ </td>
2896
+ </tr>
2897
+ </table>
2898
+ </div>
2899
  </div>
2900
  <div class="box">
2901
  <h2>How to become a FIFU translator</h2>
2902
  <div class="greybox">
2903
  <table>
2904
  <tr>
2905
+ <td style="width:16%;vertical-align:unset;">
2906
  <span class="dashicons dashicons-translation" style="font-size:110px"></span>
2907
  </td>
2908
+ <td style="width:84%">
2909
  1) please check if your NATIVE language is still available <a href="https://fifu.app/translate/" target="_blank">here</a> and get the language code (e.g. de_DE);<br>
2910
  2) send an email to support@featuredimagefromurl.com with the subject <i>I'd like to translate FIFU to [language code]</i>;<br>
2911
  3) please wait for an answer. Once you are accepted as an official translator, you will be responsible for:<br>
2920
  </div>
2921
  </div>
2922
  <div id="tabs-t">
2923
+ <div class="box">
2924
+ <table>
2925
+ <tr>
2926
+ <td style="border-bottom:none">2020-07-26</td>
2927
+ <td style="border-bottom:none"><h3> Gema Lite</h3></td>
2928
+ <td style="border-bottom:none">theme</td>
2929
+ </tr>
2930
+ </table>
2931
+ <div class="greybox" style="position: relative; top: -10px">
2932
+ Style issue with featured videos:<br>
2933
+ 1) enable "FIFU Settings > Lazy Load";<br>
2934
+ 2) disable "FIFU Settings > Video > Video Thumbnail";<br>
2935
+ 3) access "Appearance > Gema Lite > Customize > Additional CSS";<br>
2936
+ 4) add:<br>
2937
+ &nbsp;&nbsp;&nbsp;&nbsp;div.entry-featured > img.fifu-video {width:100%;}<br>
2938
+ &nbsp;&nbsp;&nbsp;&nbsp;div.card__image-wrap div {position:absolute;top:0;height:100%;}<br>
2939
+ &nbsp;&nbsp;&nbsp;&nbsp;div.fifu_wrapper + img {display:none;};<br>
2940
+ 5) publish.<br>
2941
+ </div>
2942
+ </div>
2943
  <div class="box">
2944
  <table>
2945
  <tr>
admin/menu.php CHANGED
@@ -12,7 +12,7 @@ function fifu_insert_menu() {
12
  wp_enqueue_script('jquery', 'https://cdnjs.cloudflare.com/ajax/libs/jquery/1.11.3/jquery.min.js');
13
  wp_enqueue_script('jquery-block-ui', 'https://cdnjs.cloudflare.com/ajax/libs/jquery.blockUI/2.70/jquery.blockUI.min.js');
14
 
15
- wp_enqueue_script('fifu-rest-route-js', plugins_url('/html/js/rest-route.js', __FILE__));
16
  }
17
 
18
  add_menu_page('Featured Image from URL', 'Featured Image from URL', 'manage_options', 'featured-image-from-url', 'fifu_get_menu_html', 'dashicons-camera', 57);
@@ -24,8 +24,8 @@ function fifu_insert_menu() {
24
 
25
  function fifu_support_data() {
26
  // css
27
- wp_enqueue_style('fifu-menu-css', plugins_url('/html/css/menu.css?' . fifu_version_number(), __FILE__));
28
- wp_enqueue_script('fifu-rest-route-js', plugins_url('/html/js/rest-route.js', __FILE__));
29
 
30
  // register custom variables for the AJAX script
31
  wp_localize_script('fifu-rest-route-js', 'fifuScriptVars', [
@@ -79,8 +79,8 @@ function fifu_get_menu_html() {
79
  flush();
80
 
81
  // css and js
82
- wp_enqueue_style('fifu-menu-css', plugins_url('/html/css/menu.css?' . fifu_version_number(), __FILE__));
83
- wp_enqueue_script('fifu-menu-js', plugins_url('/html/js/menu.js', __FILE__));
84
 
85
  // register custom variables for the AJAX script
86
  wp_localize_script('fifu-menu-js', 'fifuScriptVars', [
12
  wp_enqueue_script('jquery', 'https://cdnjs.cloudflare.com/ajax/libs/jquery/1.11.3/jquery.min.js');
13
  wp_enqueue_script('jquery-block-ui', 'https://cdnjs.cloudflare.com/ajax/libs/jquery.blockUI/2.70/jquery.blockUI.min.js');
14
 
15
+ wp_enqueue_script('fifu-rest-route-js', plugins_url('/html/js/rest-route.js', __FILE__), array(), fifu_version_number());
16
  }
17
 
18
  add_menu_page('Featured Image from URL', 'Featured Image from URL', 'manage_options', 'featured-image-from-url', 'fifu_get_menu_html', 'dashicons-camera', 57);
24
 
25
  function fifu_support_data() {
26
  // css
27
+ wp_enqueue_style('fifu-menu-css', plugins_url('/html/css/menu.css', __FILE__), array(), fifu_version_number());
28
+ wp_enqueue_script('fifu-rest-route-js', plugins_url('/html/js/rest-route.js', __FILE__), array(), fifu_version_number());
29
 
30
  // register custom variables for the AJAX script
31
  wp_localize_script('fifu-rest-route-js', 'fifuScriptVars', [
79
  flush();
80
 
81
  // css and js
82
+ wp_enqueue_style('fifu-menu-css', plugins_url('/html/css/menu.css', __FILE__), array(), fifu_version_number());
83
+ wp_enqueue_script('fifu-menu-js', plugins_url('/html/js/menu.js', __FILE__), array(), fifu_version_number());
84
 
85
  // register custom variables for the AJAX script
86
  wp_localize_script('fifu-menu-js', 'fifuScriptVars', [
admin/meta-box.php CHANGED
@@ -29,8 +29,8 @@ function fifu_register_meta_box_script() {
29
  wp_enqueue_style('fancy-box-css', 'https://cdnjs.cloudflare.com/ajax/libs/fancybox/3.5.7/jquery.fancybox.css');
30
  wp_enqueue_script('fancy-box-js', 'https://cdnjs.cloudflare.com/ajax/libs/fancybox/3.5.7/jquery.fancybox.min.js');
31
 
32
- wp_enqueue_script('fifu-meta-box-js', plugins_url('/html/js/meta-box.js', __FILE__));
33
- wp_enqueue_script('fifu-convert-url-js', plugins_url('/html/js/convert-url.js', __FILE__));
34
 
35
  if (fifu_is_sirv_active())
36
  wp_enqueue_script('fifu-sirv-js', 'https://scripts.sirv.com/sirv.js');
@@ -45,7 +45,7 @@ function fifu_register_meta_box_script() {
45
  add_action('add_meta_boxes', 'fifu_add_css');
46
 
47
  function fifu_add_css() {
48
- wp_register_style('featured-image-from-url', plugins_url('/html/css/editor.css', __FILE__));
49
  wp_enqueue_style('featured-image-from-url');
50
  }
51
 
@@ -90,7 +90,7 @@ function fifu_wc_show_elements($post) {
90
  $width = 'width:100%;';
91
  $height = 'height:150px;';
92
  $align = 'text-align:left;';
93
- for ($i = 0; $i < 3; $i ++)
94
  include 'html/woo-meta-box.html';
95
  }
96
 
@@ -99,7 +99,7 @@ function fifu_video_wc_show_elements($post) {
99
  $width = 'width:100%;';
100
  $height = 'height:150px;';
101
  $align = 'text-align:left;';
102
- for ($i = 0; $i < 3; $i ++)
103
  include 'html/woo-meta-box-video.html';
104
  }
105
 
@@ -108,7 +108,7 @@ function fifu_slider_show_elements($post) {
108
  $width = 'width:100%;';
109
  $height = 'height:150px;';
110
  $align = 'text-align:left;';
111
- for ($i = 0; $i < 3; $i ++)
112
  include 'html/meta-box-slider.html';
113
  }
114
 
@@ -272,7 +272,7 @@ function fifu_variation_settings_fields($loop, $variation_data, $variation) {
272
  )
273
  );
274
  // variation gallery
275
- for ($i = 0; $i < 3; $i ++) {
276
  woocommerce_wp_text_input(
277
  array(
278
  'id' => "fifu_image_url_" . $i . "{$loop}",
29
  wp_enqueue_style('fancy-box-css', 'https://cdnjs.cloudflare.com/ajax/libs/fancybox/3.5.7/jquery.fancybox.css');
30
  wp_enqueue_script('fancy-box-js', 'https://cdnjs.cloudflare.com/ajax/libs/fancybox/3.5.7/jquery.fancybox.min.js');
31
 
32
+ wp_enqueue_script('fifu-meta-box-js', plugins_url('/html/js/meta-box.js', __FILE__), array(), fifu_version_number());
33
+ wp_enqueue_script('fifu-convert-url-js', plugins_url('/html/js/convert-url.js', __FILE__), array(), fifu_version_number());
34
 
35
  if (fifu_is_sirv_active())
36
  wp_enqueue_script('fifu-sirv-js', 'https://scripts.sirv.com/sirv.js');
45
  add_action('add_meta_boxes', 'fifu_add_css');
46
 
47
  function fifu_add_css() {
48
+ wp_register_style('featured-image-from-url', plugins_url('/html/css/editor.css', __FILE__), array(), fifu_version_number());
49
  wp_enqueue_style('featured-image-from-url');
50
  }
51
 
90
  $width = 'width:100%;';
91
  $height = 'height:150px;';
92
  $align = 'text-align:left;';
93
+ for ($i = 0; $i < 3; $i++)
94
  include 'html/woo-meta-box.html';
95
  }
96
 
99
  $width = 'width:100%;';
100
  $height = 'height:150px;';
101
  $align = 'text-align:left;';
102
+ for ($i = 0; $i < 3; $i++)
103
  include 'html/woo-meta-box-video.html';
104
  }
105
 
108
  $width = 'width:100%;';
109
  $height = 'height:150px;';
110
  $align = 'text-align:left;';
111
+ for ($i = 0; $i < 3; $i++)
112
  include 'html/meta-box-slider.html';
113
  }
114
 
272
  )
273
  );
274
  // variation gallery
275
+ for ($i = 0; $i < 3; $i++) {
276
  woocommerce_wp_text_input(
277
  array(
278
  'id' => "fifu_image_url_" . $i . "{$loop}",
featured-image-from-url.php CHANGED
@@ -4,7 +4,7 @@
4
  * Plugin Name: Featured Image from URL
5
  * Plugin URI: https://fifu.app/
6
  * Description: Use an external image as Featured Image of a post or WooCommerce product. Includes Image Search, Video, Social Tags, SEO, Lazy Load, Gallery, Automation etc.
7
- * Version: 3.2.0
8
  * Author: fifu.app
9
  * Author URI: https://fifu.app/
10
  * WC requires at least: 3.0
4
  * Plugin Name: Featured Image from URL
5
  * Plugin URI: https://fifu.app/
6
  * Description: Use an external image as Featured Image of a post or WooCommerce product. Includes Image Search, Video, Social Tags, SEO, Lazy Load, Gallery, Automation etc.
7
+ * Version: 3.2.1
8
  * Author: fifu.app
9
  * Author URI: https://fifu.app/
10
  * WC requires at least: 3.0
includes/attachment.php CHANGED
@@ -135,6 +135,8 @@ function fifu_callback($buffer) {
135
  if (empty($buffer))
136
  return;
137
 
 
 
138
  $srcType = "src";
139
  $imgList = array();
140
  preg_match_all('/<img[^>]*>/', $buffer, $imgList);
@@ -144,31 +146,55 @@ function fifu_callback($buffer) {
144
  if (!$src)
145
  continue;
146
  $del = substr($src[0], - 1);
147
- $url = explode($del, $src[0])[1];
148
  $post_id = null;
149
 
150
- if (strpos($url, 'fifu-post-id') === false)
 
 
 
 
 
 
151
  continue;
152
 
153
- $post_id = explode('&', explode('fifu-post-id=', $url)[1])[0];
 
 
 
 
 
 
 
 
154
 
155
- // featured media
156
- if (strpos($url, 'fifu-featured=1') !== false && $post_id)
157
- $buffer = str_replace($imgItem, fifu_replace($imgItem, $post_id, null, null), $buffer);
158
  }
159
 
160
- if (fifu_is_on('fifu_lazy')) {
161
- // lazy load for background-image
162
- $imgList = array();
163
- preg_match_all('/<[^>]*background-image[^>]*>/', $buffer, $imgList);
164
- foreach ($imgList[0] as $imgItem) {
165
- $mainDelimiter = substr(explode('style=', $imgItem)[1], 0, 1);
166
- $subDelimiter = substr(explode('url(', $imgItem)[1], 0, 1);
167
- if (in_array($subDelimiter, array('"', "'", ' ')))
168
- $url = preg_split('/[\'\" ]{1}\)/', preg_split('/url\([\'\" ]{1}/', $imgItem, -1)[1], -1)[0];
169
- else
170
- $url = preg_split('/\)/', preg_split('/url\(/', $imgItem, -1)[1], -1)[0];
 
 
 
 
 
 
 
 
 
 
171
 
 
 
172
  $class = 'lazyload ';
173
 
174
  $newImgItem = str_replace('class=' . $mainDelimiter, 'class=' . $mainDelimiter . $class, $imgItem);
@@ -179,14 +205,13 @@ function fifu_callback($buffer) {
179
  $pattern = '/background-image.*url\(' . $subDelimiter . '.*' . $subDelimiter . '\)/';
180
  $newImgItem = preg_replace($pattern, '', $newImgItem);
181
 
182
- $buffer = str_replace($imgItem, fifu_remove_parameters($newImgItem), $buffer);
183
- }
184
- } else {
185
- $imgList = array();
186
- preg_match_all('/<[^>]*background-image[^>]*>/', $buffer, $imgList);
187
- foreach ($imgList[0] as $imgItem) {
188
- $buffer = str_replace($imgItem, fifu_remove_parameters($imgItem), $buffer);
189
  }
 
 
 
 
 
190
  }
191
 
192
  return $buffer;
@@ -221,36 +246,30 @@ function fifu_get_width_height($dimension) {
221
 
222
  // for themes that dont call post_thumbnail_html
223
 
224
- function fifu_dashboard() {
225
- return !is_home() &&
226
- !is_singular('post') &&
227
- !is_author() &&
228
- !is_search() &&
229
- !is_singular('page') &&
230
- !is_singular('product') &&
231
- !is_archive() &&
232
- (!class_exists('WooCommerce') || (class_exists('WooCommerce') && (!is_shop() && !is_product_category() && !is_cart())));
233
- }
234
-
235
  function fifu_add_url_parameters($url, $att_id) {
236
- if (fifu_dashboard())
237
- return $url;
238
-
239
  $post_id = get_post($att_id)->post_parent;
 
240
  if (!$post_id)
241
  return $url;
242
 
243
- $symbol = strpos($url, '?') !== false ? '&' : '?';
244
  $post_thumbnail_id = get_post_thumbnail_id($post_id);
245
  $post_thumbnail_id = $post_thumbnail_id ? $post_thumbnail_id : get_term_meta($post_id, 'thumbnail_id', true);
246
  $featured = $post_thumbnail_id == $att_id ? 1 : 0;
247
 
248
- // only the main image will have parameters
249
  if (!$featured)
250
  return $url;
251
 
252
- $url .= $symbol . 'fifu-post-id=' . $post_id . '&fifu-featured=' . $featured;
 
 
 
 
 
 
 
 
253
 
 
254
  return $url;
255
  }
256
 
135
  if (empty($buffer))
136
  return;
137
 
138
+ /* img */
139
+
140
  $srcType = "src";
141
  $imgList = array();
142
  preg_match_all('/<img[^>]*>/', $buffer, $imgList);
146
  if (!$src)
147
  continue;
148
  $del = substr($src[0], - 1);
149
+ $url = fifu_normalize(explode($del, $src[0])[1]);
150
  $post_id = null;
151
 
152
+ // get parameters
153
+ if (isset($_POST[$url]))
154
+ $data = $_POST[$url];
155
+ else
156
+ continue;
157
+
158
+ if ($data['done'] && strpos($imgItem, 'fifu-replaced') !== false)
159
  continue;
160
 
161
+ $post_id = $data['post_id'];
162
+ $featured = $data['featured'];
163
+
164
+ if ($featured) {
165
+ // add featured
166
+ $newImgItem = str_replace('<img ', '<img fifu-featured="1" ', $imgItem);
167
+
168
+ $buffer = str_replace($imgItem, fifu_replace($newImgItem, $post_id, null, null), $buffer);
169
+ }
170
 
171
+ $_POST[$url]['done'] = 1;
 
 
172
  }
173
 
174
+ /* background-image */
175
+
176
+ $imgList = array();
177
+ preg_match_all('/<[^>]*background-image[^>]*>/', $buffer, $imgList);
178
+ foreach ($imgList[0] as $imgItem) {
179
+ $mainDelimiter = substr(explode('style=', $imgItem)[1], 0, 1);
180
+ $subDelimiter = substr(explode('url(', $imgItem)[1], 0, 1);
181
+ if (in_array($subDelimiter, array('"', "'", ' ')))
182
+ $url = preg_split('/[\'\" ]{1}\)/', preg_split('/url\([\'\" ]{1}/', $imgItem, -1)[1], -1)[0];
183
+ else
184
+ $url = preg_split('/\)/', preg_split('/url\(/', $imgItem, -1)[1], -1)[0];
185
+
186
+ $newImgItem = $imgItem;
187
+
188
+ $url = fifu_normalize($url);
189
+ if (isset($_POST[$url])) {
190
+ $data = $_POST[$url];
191
+
192
+ if ($data['done'])
193
+ continue;
194
+ }
195
 
196
+ if (fifu_is_on('fifu_lazy')) {
197
+ // lazy load for background-image
198
  $class = 'lazyload ';
199
 
200
  $newImgItem = str_replace('class=' . $mainDelimiter, 'class=' . $mainDelimiter . $class, $imgItem);
205
  $pattern = '/background-image.*url\(' . $subDelimiter . '.*' . $subDelimiter . '\)/';
206
  $newImgItem = preg_replace($pattern, '', $newImgItem);
207
 
208
+ $buffer = str_replace($imgItem, $newImgItem, $buffer);
 
 
 
 
 
 
209
  }
210
+
211
+ if ($newImgItem != $imgItem)
212
+ $buffer = str_replace($imgItem, $newImgItem, $buffer);
213
+
214
+ $_POST[$url]['done'] = 1;
215
  }
216
 
217
  return $buffer;
246
 
247
  // for themes that dont call post_thumbnail_html
248
 
 
 
 
 
 
 
 
 
 
 
 
249
  function fifu_add_url_parameters($url, $att_id) {
 
 
 
250
  $post_id = get_post($att_id)->post_parent;
251
+
252
  if (!$post_id)
253
  return $url;
254
 
 
255
  $post_thumbnail_id = get_post_thumbnail_id($post_id);
256
  $post_thumbnail_id = $post_thumbnail_id ? $post_thumbnail_id : get_term_meta($post_id, 'thumbnail_id', true);
257
  $featured = $post_thumbnail_id == $att_id ? 1 : 0;
258
 
 
259
  if (!$featured)
260
  return $url;
261
 
262
+ // avoid duplicated call
263
+ if (isset($_POST[$url]))
264
+ return $url;
265
+
266
+ $parameters = array();
267
+ $parameters['att_id'] = $att_id;
268
+ $parameters['post_id'] = $post_id;
269
+ $parameters['featured'] = $featured;
270
+ $parameters['done'] = 0;
271
 
272
+ $_POST[$url] = $parameters;
273
  return $url;
274
  }
275
 
includes/html/js/image.js CHANGED
@@ -20,10 +20,8 @@ jQuery(document).ready(function ($) {
20
  });
21
 
22
  jQuery(window).on('ajaxComplete', function () {
23
- setTimeout(function () {
24
- if (fifuImageVars.fifu_lazy)
25
- fifu_lazy();
26
- }, 300);
27
  });
28
 
29
  // fix space between product image and gallery caused by lazy load
20
  });
21
 
22
  jQuery(window).on('ajaxComplete', function () {
23
+ if (fifuImageVars.fifu_lazy)
24
+ fifu_lazy();
 
 
25
  });
26
 
27
  // fix space between product image and gallery caused by lazy load
includes/thumbnail.php CHANGED
@@ -22,20 +22,21 @@ function fifu_add_js() {
22
  echo '<link rel="preconnect" href="https://cdnjs.cloudflare.com">';
23
 
24
  if (fifu_is_on('fifu_lazy')) {
25
- wp_enqueue_style('lazyload-spinner', plugins_url('/html/css/lazyload.css?' . fifu_version_number(), __FILE__));
26
- wp_enqueue_script('lazysizes-config', plugins_url('/html/js/lazySizesConfig.js?' . fifu_version_number(), __FILE__));
27
  wp_enqueue_script('unveilhooks', 'https://cdnjs.cloudflare.com/ajax/libs/lazysizes/5.2.2/plugins/unveilhooks/ls.unveilhooks.min.js');
28
  wp_enqueue_script('lazysizes', 'https://cdnjs.cloudflare.com/ajax/libs/lazysizes/5.2.2/lazysizes.min.js');
29
  // wp_enqueue_script('bgset', 'https://cdnjs.cloudflare.com/ajax/libs/lazysizes/5.2.2/plugins/bgset/ls.bgset.min.js');
30
  }
31
 
32
- // css
33
- wp_register_style('fifu-woo-css', plugins_url('/html/css/woo.css?' . fifu_version_number(), __FILE__));
34
- wp_enqueue_style('fifu-woo-css');
35
- wp_add_inline_style('fifu-woo-css', 'img.zoomImg {display:' . fifu_woo_zoom() . ' !important}');
 
36
 
37
  // js
38
- wp_enqueue_script('fifu-image-js', plugins_url('/html/js/image.js?' . fifu_version_number(), __FILE__));
39
  wp_localize_script('fifu-image-js', 'fifuImageVars', [
40
  'fifu_lazy' => fifu_is_on("fifu_lazy"),
41
  'fifu_woo_lbox_enabled' => fifu_woo_lbox(),
@@ -96,7 +97,14 @@ function fifu_replace($html, $post_id, $post_thumbnail_id, $size) {
96
  if (!$html)
97
  return $html;
98
 
99
- $html = fifu_remove_parameters($html);
 
 
 
 
 
 
 
100
 
101
  $url = get_post_meta($post_id, 'fifu_image_url', true);
102
 
22
  echo '<link rel="preconnect" href="https://cdnjs.cloudflare.com">';
23
 
24
  if (fifu_is_on('fifu_lazy')) {
25
+ wp_enqueue_style('lazyload-spinner', plugins_url('/html/css/lazyload.css', __FILE__), array(), fifu_version_number());
26
+ wp_enqueue_script('lazysizes-config', plugins_url('/html/js/lazySizesConfig.js', __FILE__), array(), fifu_version_number());
27
  wp_enqueue_script('unveilhooks', 'https://cdnjs.cloudflare.com/ajax/libs/lazysizes/5.2.2/plugins/unveilhooks/ls.unveilhooks.min.js');
28
  wp_enqueue_script('lazysizes', 'https://cdnjs.cloudflare.com/ajax/libs/lazysizes/5.2.2/lazysizes.min.js');
29
  // wp_enqueue_script('bgset', 'https://cdnjs.cloudflare.com/ajax/libs/lazysizes/5.2.2/plugins/bgset/ls.bgset.min.js');
30
  }
31
 
32
+ if (class_exists('WooCommerce')) {
33
+ wp_register_style('fifu-woo', plugins_url('/html/css/woo.css', __FILE__), array(), fifu_version_number());
34
+ wp_enqueue_style('fifu-woo');
35
+ wp_add_inline_style('fifu-woo', 'img.zoomImg {display:' . fifu_woo_zoom() . ' !important}');
36
+ }
37
 
38
  // js
39
+ wp_enqueue_script('fifu-image-js', plugins_url('/html/js/image.js', __FILE__), array(), fifu_version_number());
40
  wp_localize_script('fifu-image-js', 'fifuImageVars', [
41
  'fifu_lazy' => fifu_is_on("fifu_lazy"),
42
  'fifu_woo_lbox_enabled' => fifu_woo_lbox(),
97
  if (!$html)
98
  return $html;
99
 
100
+ $datasrc = fifu_get_attribute('data-src', $html);
101
+ $src = $datasrc ? $datasrc : fifu_get_attribute('src', $html);
102
+ if (isset($_POST[$src])) {
103
+ $data = $_POST[$src];
104
+ if ($data['done'] && strpos($html, 'fifu-replaced') !== false)
105
+ return $html;
106
+ $_POST[$src]['done'] = 1;
107
+ }
108
 
109
  $url = get_post_meta($post_id, 'fifu_image_url', true);
110
 
includes/util.php CHANGED
@@ -66,19 +66,9 @@ function fifu_is_ajax_call() {
66
  return (isset($_SERVER['HTTP_X_REQUESTED_WITH']) && $_SERVER['HTTP_X_REQUESTED_WITH'] == 'XMLHttpRequest') || wp_doing_ajax();
67
  }
68
 
69
- function fifu_remove_parameters($tag) {
70
- // move parameters
71
- if (strpos($tag, 'fifu-featured=1') !== false)
72
- $tag = str_replace('<img ', '<img fifu-featured="1" ', $tag);
73
-
74
- // remove parameters
75
- $tag = str_replace('amp;fifu-', 'fifu-', $tag);
76
- $tag = str_replace('#038;fifu-', 'fifu-', $tag);
77
- $tag = preg_replace('/[\&]fifu-[^\&\"\']+/', '', $tag);
78
- $tag = preg_replace('/[\?]fifu-[^\&\"\']+/', '?', $tag);
79
- $tag = str_replace('?"', '"', $tag);
80
- $tag = str_replace("?'", "'", $tag);
81
-
82
  return $tag;
83
  }
84
 
@@ -105,6 +95,17 @@ function fifu_get_dimension_backend($url) {
105
  return ($width && $height) ? $width . ";" . $height : null;
106
  }
107
 
 
 
 
 
 
 
 
 
 
 
 
108
  // developers
109
 
110
  function fifu_dev_set_image($post_id, $image_url) {
66
  return (isset($_SERVER['HTTP_X_REQUESTED_WITH']) && $_SERVER['HTTP_X_REQUESTED_WITH'] == 'XMLHttpRequest') || wp_doing_ajax();
67
  }
68
 
69
+ function fifu_normalize($tag) {
70
+ $tag = str_replace('amp;', '', $tag);
71
+ $tag = str_replace('#038;', '', $tag);
 
 
 
 
 
 
 
 
 
 
72
  return $tag;
73
  }
74
 
95
  return ($width && $height) ? $width . ";" . $height : null;
96
  }
97
 
98
+ function fifu_dashboard() {
99
+ return !is_home() &&
100
+ !is_singular('post') &&
101
+ !is_author() &&
102
+ !is_search() &&
103
+ !is_singular('page') &&
104
+ !is_singular('product') &&
105
+ !is_archive() &&
106
+ (!class_exists('WooCommerce') || (class_exists('WooCommerce') && (!is_shop() && !is_product_category() && !is_cart())));
107
+ }
108
+
109
  // developers
110
 
111
  function fifu_dev_set_image($post_id, $image_url) {
includes/woo.php CHANGED
@@ -13,13 +13,7 @@ function fifu_woo_theme() {
13
  }
14
 
15
  function fifu_woocommerce_gallery_image_html_attachment_image_params($params, $attachment_id, $image_size, $main_image) {
16
- $attrList = array('src', 'data-src', 'data-large_image');
17
- foreach ($attrList as $attr) {
18
- if (isset($params[$attr]))
19
- $params[$attr] = fifu_remove_parameters($params[$attr]);
20
- }
21
  return $params;
22
  }
23
 
24
  add_filter('woocommerce_gallery_image_html_attachment_image_params', 'fifu_woocommerce_gallery_image_html_attachment_image_params', 10, 4);
25
-
13
  }
14
 
15
  function fifu_woocommerce_gallery_image_html_attachment_image_params($params, $attachment_id, $image_size, $main_image) {
 
 
 
 
 
16
  return $params;
17
  }
18
 
19
  add_filter('woocommerce_gallery_image_html_attachment_image_params', 'fifu_woocommerce_gallery_image_html_attachment_image_params', 10, 4);
 
languages/featured-image-from-url-pt_BR.po CHANGED
@@ -349,13 +349,10 @@ msgstr "Exemplos de seletores ..."
349
  msgid "Examples of valid size ratios: 3:2, 16:9, 1:1..."
350
  msgstr "Exemplos de proporções de tamanho válidos: 3:2, 16:9, 1:1 ..."
351
 
352
- msgid "fade effect"
353
- msgstr "efeito de transição"
354
-
355
  msgid "FAQ"
356
  msgstr "Perguntas Frequentes"
357
 
358
- msgid "Fast Support"
359
  msgstr "Suporte Rápido"
360
 
361
  msgid "Featured Image"
@@ -450,7 +447,7 @@ msgstr "Ícone da Galeria"
450
  msgid "Getting Flickr URL"
451
  msgstr "Obtendo o URL do Flickr"
452
 
453
- msgid "Getting Started"
454
  msgstr "Começando"
455
 
456
  msgid "Giphy search"
@@ -640,7 +637,7 @@ msgstr "jQuery"
640
 
641
  msgid ""
642
  "Just send me an email. If you are available to discuss the details and the "
643
- "plugin is free and has more than 50,000 active installs, I should provide an "
644
  "integration very soon."
645
  msgstr ""
646
  "Apenas me envie um email. Se você estiver disponível para discutir os "
@@ -1450,7 +1447,7 @@ msgid "Never."
1450
  msgstr "Nunca."
1451
 
1452
  msgid ""
1453
- "Your image URL is invalid. Take a look at Settings &gt; Getting Started."
1454
  msgstr ""
1455
  "Seu URL de imagem é inválido. Dê uma olhada em Configurações &gt; Começando."
1456
 
349
  msgid "Examples of valid size ratios: 3:2, 16:9, 1:1..."
350
  msgstr "Exemplos de proporções de tamanho válidos: 3:2, 16:9, 1:1 ..."
351
 
 
 
 
352
  msgid "FAQ"
353
  msgstr "Perguntas Frequentes"
354
 
355
+ msgid "Fast support"
356
  msgstr "Suporte Rápido"
357
 
358
  msgid "Featured Image"
447
  msgid "Getting Flickr URL"
448
  msgstr "Obtendo o URL do Flickr"
449
 
450
+ msgid "Getting started"
451
  msgstr "Começando"
452
 
453
  msgid "Giphy search"
637
 
638
  msgid ""
639
  "Just send me an email. If you are available to discuss the details and the "
640
+ "plugin is free and has more than 25,000 active installs, I should provide an "
641
  "integration very soon."
642
  msgstr ""
643
  "Apenas me envie um email. Se você estiver disponível para discutir os "
1447
  msgstr "Nunca."
1448
 
1449
  msgid ""
1450
+ "Your image URL is invalid. Take a look at Settings &gt; Getting started."
1451
  msgstr ""
1452
  "Seu URL de imagem é inválido. Dê uma olhada em Configurações &gt; Começando."
1453
 
languages/featured-image-from-url.pot CHANGED
@@ -279,13 +279,10 @@ msgstr ""
279
  msgid "Examples of valid size ratios: 3:2, 16:9, 1:1..."
280
  msgstr ""
281
 
282
- msgid "fade effect"
283
- msgstr ""
284
-
285
  msgid "FAQ"
286
  msgstr ""
287
 
288
- msgid "Fast Support"
289
  msgstr ""
290
 
291
  msgid "Featured Image"
@@ -375,7 +372,7 @@ msgstr ""
375
  msgid "Getting Flickr URL"
376
  msgstr ""
377
 
378
- msgid "Getting Started"
379
  msgstr ""
380
 
381
  msgid "Giphy search"
@@ -510,7 +507,7 @@ msgstr ""
510
  msgid "jQuery"
511
  msgstr ""
512
 
513
- msgid "Just send me an email. If you are available to discuss the details and the plugin is free and has more than 50,000 active installs, I should provide an integration very soon."
514
  msgstr ""
515
 
516
  msgid "Key"
@@ -1128,7 +1125,7 @@ msgstr ""
1128
  msgid "Never."
1129
  msgstr ""
1130
 
1131
- msgid "Your image URL is invalid. Take a look at Settings &gt; Getting Started."
1132
  msgstr ""
1133
 
1134
  msgid "Next to the regular featured image box, in the post editor."
279
  msgid "Examples of valid size ratios: 3:2, 16:9, 1:1..."
280
  msgstr ""
281
 
 
 
 
282
  msgid "FAQ"
283
  msgstr ""
284
 
285
+ msgid "Fast support"
286
  msgstr ""
287
 
288
  msgid "Featured Image"
372
  msgid "Getting Flickr URL"
373
  msgstr ""
374
 
375
+ msgid "Getting started"
376
  msgstr ""
377
 
378
  msgid "Giphy search"
507
  msgid "jQuery"
508
  msgstr ""
509
 
510
+ msgid "Just send me an email. If you are available to discuss the details and the plugin is free and has more than 25,000 active installs, I should provide an integration very soon."
511
  msgstr ""
512
 
513
  msgid "Key"
1125
  msgid "Never."
1126
  msgstr ""
1127
 
1128
+ msgid "Your image URL is invalid. Take a look at Settings &gt; Getting started."
1129
  msgstr ""
1130
 
1131
  msgid "Next to the regular featured image box, in the post editor."
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: https://donorbox.org/fifu
4
  Tags: featured image, featured, image, url, link, woocommerce, product, gallery, video, slider, external, thumbnail
5
  Requires at least: 5.0
6
  Tested up to: 5.4
7
- Stable tag: 3.2.0
8
  License: GPLv3
9
  License URI: https://www.gnu.org/licenses/gpl-3.0.html
10
 
@@ -125,7 +125,7 @@ Supports videos from YouTube, Vimeo, Imgur, 9GAG, Cloudinary, Tumblr and Publiti
125
 
126
  = Why isn't preview button working? =
127
 
128
- * Your image URL is invalid. Take a look at FIFU Settings > Getting Started.
129
 
130
  = Does FIFU save the images in the media library? =
131
 
@@ -193,20 +193,20 @@ Supports videos from YouTube, Vimeo, Imgur, 9GAG, Cloudinary, Tumblr and Publiti
193
 
194
  == Changelog ==
195
 
 
 
 
196
  = 3.2.0 =
197
  * Bug fix: images from some addresses were not being shown; bug fix: URL from Post Content (hide option not working for IFTTT posts).
198
 
199
  = 3.1.9 =
200
  * Improvement: Lazy Load (performance and compatibility); deprecated: URL Parameters; bug fix: Default Featured Image not working for IFTTT posts.
201
 
202
- = 3.1.8 =
203
- * New language: Greek; improvement: readme strings added to the pot file; bug fix: conflict between lazy load and background-image.
204
-
205
  = others =
206
  * [more](https://fifu.app/changelog/)
207
 
208
 
209
  == Upgrade Notice ==
210
 
211
- = 3.2.0 =
212
- * Bug fix: images from some addresses were not being shown; bug fix: URL from Post Content (hide option not working for IFTTT posts).
4
  Tags: featured image, featured, image, url, link, woocommerce, product, gallery, video, slider, external, thumbnail
5
  Requires at least: 5.0
6
  Tested up to: 5.4
7
+ Stable tag: 3.2.1
8
  License: GPLv3
9
  License URI: https://www.gnu.org/licenses/gpl-3.0.html
10
 
125
 
126
  = Why isn't preview button working? =
127
 
128
+ * Your image URL is invalid. Take a look at FIFU Settings > Getting started.
129
 
130
  = Does FIFU save the images in the media library? =
131
 
193
 
194
  == Changelog ==
195
 
196
+ = 3.2.1 =
197
+ * New: performance tips; bug fix: images from some addresses were not being shown.
198
+
199
  = 3.2.0 =
200
  * Bug fix: images from some addresses were not being shown; bug fix: URL from Post Content (hide option not working for IFTTT posts).
201
 
202
  = 3.1.9 =
203
  * Improvement: Lazy Load (performance and compatibility); deprecated: URL Parameters; bug fix: Default Featured Image not working for IFTTT posts.
204
 
 
 
 
205
  = others =
206
  * [more](https://fifu.app/changelog/)
207
 
208
 
209
  == Upgrade Notice ==
210
 
211
+ = 3.2.1 =
212
+ * New: performance tips; bug fix: images from some addresses were not being shown.