Featured Image From URL - Version 3.9.6

Version Description

  • Enhancement: CDN + Optimized Thumbnails (more precision).
Download this release

Release Info

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

Code changes from version 3.9.5 to 3.9.6

admin/html/troubleshooting.html CHANGED
@@ -9,6 +9,20 @@
9
  <div id="tabs-top" style="float:left">
10
  <ul>
11
  <div id="tabs-t" style="padding:1em 1.4em; position: relative; top: -25px;">
 
 
 
 
 
 
 
 
 
 
 
 
 
 
12
  <div class="box">
13
  <table>
14
  <tr>
9
  <div id="tabs-top" style="float:left">
10
  <ul>
11
  <div id="tabs-t" style="padding:1em 1.4em; position: relative; top: -25px;">
12
+ <div class="box">
13
+ <table>
14
+ <tr>
15
+ <td style="border-bottom:none">2022-05-16</td>
16
+ <td style="border-bottom:none"><h3>Rey</h3></td>
17
+ <td style="border-bottom:none">theme</td>
18
+ </tr>
19
+ </table>
20
+ <div class="greybox" style="position: relative; top: -10px">
21
+ "CDN + Optimized Thumbnails" not working properly. Two possible solutions:<br>
22
+ a) access "Appearance > Customize > WooCommerce > Product Images > EXTRA IMAGES > Extra Images Display" and select "Disabled"<br>
23
+ b) disable "FIFU Settings > Performance > Lazy Load"
24
+ </div>
25
+ </div>
26
  <div class="box">
27
  <table>
28
  <tr>
admin/menu.php CHANGED
@@ -234,7 +234,7 @@ function fifu_get_setting($type) {
234
  $arrOnNo = array('fifu_fake', 'fifu_social');
235
  $arrOffNo = array('fifu_data_clean', 'fifu_confirm_delete_all', 'fifu_run_delete_all', 'fifu_reset', 'fifu_social_image_only');
236
 
237
- if (!get_option($type)) {
238
  if (in_array($type, $arrEmpty))
239
  update_option($type, '');
240
  else if (in_array($type, $arr1))
234
  $arrOnNo = array('fifu_fake', 'fifu_social');
235
  $arrOffNo = array('fifu_data_clean', 'fifu_confirm_delete_all', 'fifu_run_delete_all', 'fifu_reset', 'fifu_social_image_only');
236
 
237
+ if (get_option($type) === false) {
238
  if (in_array($type, $arrEmpty))
239
  update_option($type, '');
240
  else if (in_array($type, $arr1))
featured-image-from-url.php CHANGED
@@ -4,7 +4,7 @@
4
  * Plugin Name: Featured Image from URL (FIFU)
5
  * Plugin URI: https://fifu.app/
6
  * Description: Use an external image/video as featured image/video of a post or WooCommerce product.
7
- * Version: 3.9.5
8
  * Author: fifu.app
9
  * Author URI: https://fifu.app/
10
  * WC requires at least: 4.0
4
  * Plugin Name: Featured Image from URL (FIFU)
5
  * Plugin URI: https://fifu.app/
6
  * Description: Use an external image/video as featured image/video of a post or WooCommerce product.
7
+ * Version: 3.9.6
8
  * Author: fifu.app
9
  * Author URI: https://fifu.app/
10
  * WC requires at least: 4.0
includes/html/css/lazyload.css CHANGED
@@ -15,7 +15,7 @@
15
  .lazyloading {
16
  opacity: 1;
17
  transition: opacity 300ms;
18
- background: #f7f7f7 url('https://cdnjs.cloudflare.com/ajax/libs/jquery.lazyloadxt/1.1.0/loading.gif') no-repeat center;
19
  }
20
 
21
  /* remove borders */
15
  .lazyloading {
16
  opacity: 1;
17
  transition: opacity 300ms;
18
+ /* background: #f7f7f7 url('https://cdnjs.cloudflare.com/ajax/libs/jquery.lazyloadxt/1.1.0/loading.gif') no-repeat center; */
19
  }
20
 
21
  /* remove borders */
includes/jetpack.php CHANGED
@@ -19,7 +19,7 @@ function fifu_resize_jetpack_image_size($size, $url) {
19
  }
20
 
21
  function fifu_jetpack_get_set($url, $is_slider) {
22
- $quality = $is_slider ? 1.25 : 1;
23
  $set = '';
24
  $count = 0;
25
  foreach (unserialize(FIFU_JETPACK_SIZES) as $i)
@@ -31,7 +31,7 @@ function fifu_jetpack_blocked($url) {
31
  if (fifu_is_photon_url($url))
32
  return true;
33
 
34
- $blocklist = array('amazon-adsystem.com', 'sapo.io', 'unsplash.com', 'i.guim.co.uk', 's.yimg.com', 's1.yimg.com', 'www.washingtonpost.com', 'pbs.twimg.com', 'www.aljazeera.com', 'image.influenster.com', 'api.screenshotmachine.com', 'rackcdn.com', 'googleusercontent.com', 'drive.google.com', 'cdn.fifu.app', 'cloud.fifu.app');
35
  foreach ($blocklist as $domain) {
36
  if (strpos($url, $domain) !== false)
37
  return true;
19
  }
20
 
21
  function fifu_jetpack_get_set($url, $is_slider) {
22
+ $quality = $is_slider ? 1.1 : 1;
23
  $set = '';
24
  $count = 0;
25
  foreach (unserialize(FIFU_JETPACK_SIZES) as $i)
31
  if (fifu_is_photon_url($url))
32
  return true;
33
 
34
+ $blocklist = array('amazon-adsystem.com', 'sapo.io', 'unsplash.com', 'i.guim.co.uk', 's.yimg.com', 's1.yimg.com', 'www.washingtonpost.com', 'pbs.twimg.com', 'www.aljazeera.com', 'image.influenster.com', 'api.screenshotmachine.com', 'rackcdn.com', 'googleusercontent.com', 'drive.google.com', 'img.brownsfashion.com', 'cdn.fifu.app', 'cloud.fifu.app');
35
  foreach ($blocklist as $domain) {
36
  if (strpos($url, $domain) !== false)
37
  return true;
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: https://donorbox.org/fifu
4
  Tags: featured, image, url, video, woocommerce
5
  Requires at least: 5.3
6
  Tested up to: 6.0
7
- Stable tag: 3.9.5
8
  License: GPLv3
9
  License URI: https://www.gnu.org/licenses/gpl-3.0.html
10
 
@@ -227,20 +227,20 @@ Featured Image, Figurë e Zgjedhur, Image mise en avant, Uitgelichte afbeelding,
227
 
228
  == Changelog ==
229
 
 
 
 
230
  = 3.9.5 =
231
  * New option: Autoplay > on home; fix: FIFU Column (no title on Screen Options).
232
 
233
  = 3.9.4 =
234
  * New feature: Video Controls; enhancement: CDN + Optimized Thumbnails (works on Product Categories page now); deprecated: Black Background; fix: Quick Edit Column (style issues).
235
 
236
- = 3.9.3 =
237
- * Enhancement: Featured Video (supports VideoPress now); fix: Social Tags (were being added to the front page); fix: conflict with Rank Math SEO plugin.
238
-
239
  = others =
240
  * [more](https://fifu.app/changelog)
241
 
242
 
243
  == Upgrade Notice ==
244
 
245
- = 3.9.5 =
246
- * New option: Autoplay > on home; fix: FIFU Column (no title on Screen Options).
4
  Tags: featured, image, url, video, woocommerce
5
  Requires at least: 5.3
6
  Tested up to: 6.0
7
+ Stable tag: 3.9.6
8
  License: GPLv3
9
  License URI: https://www.gnu.org/licenses/gpl-3.0.html
10
 
227
 
228
  == Changelog ==
229
 
230
+ = 3.9.6 =
231
+ * Enhancement: CDN + Optimized Thumbnails (more precision).
232
+
233
  = 3.9.5 =
234
  * New option: Autoplay > on home; fix: FIFU Column (no title on Screen Options).
235
 
236
  = 3.9.4 =
237
  * New feature: Video Controls; enhancement: CDN + Optimized Thumbnails (works on Product Categories page now); deprecated: Black Background; fix: Quick Edit Column (style issues).
238
 
 
 
 
239
  = others =
240
  * [more](https://fifu.app/changelog)
241
 
242
 
243
  == Upgrade Notice ==
244
 
245
+ = 3.9.6 =
246
+ * Enhancement: CDN + Optimized Thumbnails (more precision).