Featured Image From URL - Version 3.6.5

Version Description

  • New feature: WooCommerce > Fast Buy.
Download this release

Release Info

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

Code changes from version 3.6.4 to 3.6.5

admin/html/css/menu.css CHANGED
@@ -190,6 +190,7 @@ div.polaroid {
190
  width: 100%;
191
  background-color: white;
192
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
 
193
  }
194
 
195
  .fifu-pro {
190
  width: 100%;
191
  background-color: white;
192
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
193
+ text-align: center;
194
  }
195
 
196
  .fifu-pro {
admin/html/menu.html CHANGED
@@ -1859,7 +1859,22 @@
1859
  <th>
1860
  on, off
1861
  </th>
1862
- </tr>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1863
  </table>
1864
  </div>
1865
  <div id="tabs-2">
@@ -3757,8 +3772,8 @@
3757
  <h2><?php $fifu['title']['slider']() ?></h2>
3758
  <div class="greybox" id="grad2">
3759
  <?php $fifu['slider']['desc']() ?><br><br>
3760
- <div class="polaroid">
3761
- <img style="width:100%; border: 100px;" src="https://storage.googleapis.com/featuredimagefromurl/featured-slider.jpg">
3762
  </div>
3763
  <br>
3764
  <div id="tabsSlider">
@@ -4093,20 +4108,20 @@
4093
  <br>
4094
  <br>
4095
  <center>
4096
- <div class="polaroid">
4097
- <img src="https://storage.googleapis.com/featuredimagefromurl/bbpress01.jpg" style="width:100%">
4098
  </div>
4099
  </center>
4100
  <br>
4101
  <center>
4102
- <div class="polaroid">
4103
- <img src="https://storage.googleapis.com/featuredimagefromurl/bbpress03.jpg" style="width:100%">
4104
  </div>
4105
  </center>
4106
  <br>
4107
  <center>
4108
- <div class="polaroid">
4109
- <img src="https://storage.googleapis.com/featuredimagefromurl/bbpress02.jpg" style="width:100%">
4110
  </div>
4111
  </center>
4112
  </div>
@@ -4181,7 +4196,7 @@
4181
 
4182
  <?php $fifu['jetpack']['desc']() ?><br><br>
4183
 
4184
- <div class="polaroid">
4185
  <img src="https://storage.googleapis.com/featuredimagefromurl/jetpack-219.jpg">
4186
  </div>
4187
 
@@ -4687,8 +4702,8 @@
4687
  <br>
4688
  <br>
4689
  <center>
4690
- <div class="polaroid">
4691
- <img src="https://c1.staticflickr.com/1/216/31480097476_bf4915184b_o_d.jpg" style="width:90%">
4692
  </div>
4693
  </center>
4694
  </div>
@@ -4815,6 +4830,36 @@
4815
  </tr>
4816
  </table>
4817
  </div>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
4818
  </div>
4819
 
4820
  <div id="tabs-p">
@@ -4859,13 +4904,12 @@
4859
  <a href="<?php echo plugins_url() ?>/featured-image-from-url/admin/html/txt/csv.txt"><?php $fifu['addon']['import']['csv']() ?></a>
4860
  <br>
4861
  <br>
4862
- <div class="polaroid">
4863
- <img src="https://storage.googleapis.com/featuredimagefromurl/wp-all-import-addon.jpg" style="width:100%">
4864
  </div>
4865
  <br>
4866
  <br>
4867
- <h3><?php $fifu['detail']['result']() ?></h3>
4868
- <br>
4869
  <div class="polaroid">
4870
  <img src="https://storage.googleapis.com/featuredimagefromurl/wp-all-import-result.jpg">
4871
  </div>
@@ -4925,7 +4969,7 @@
4925
  <i class="fab fa-facebook" style="font-size:30px"></i>
4926
  </td>
4927
  <td style="width:33%;text-align:center;border-bottom: 1px solid #ddd !important">
4928
- <i class="fab fa-instagram-square" style="font-size:30px"></i>
4929
  </td>
4930
  <td style="width:33%;text-align:center;border-bottom: 1px solid #ddd !important">
4931
  <i class="fas fa-tachometer-alt" style="font-size:30px"></i>
@@ -5100,6 +5144,19 @@
5100
  </div>
5101
  </div>
5102
  <div id="tabs-t">
 
 
 
 
 
 
 
 
 
 
 
 
 
5103
  <div class="box">
5104
  <table>
5105
  <tr>
1859
  <th>
1860
  on, off
1861
  </th>
1862
+ </tr>
1863
+ <tr class="color">
1864
+ <th>
1865
+ <?php $fifu['tab']['woo']() ?>
1866
+ </th>
1867
+ <th>
1868
+ <?php $fifu['title']['buy']() ?>
1869
+ </th>
1870
+ <th></th>
1871
+ <th>
1872
+ wp fifu woo --buy &lt;toggle&gt;
1873
+ </th>
1874
+ <th>
1875
+ on, off
1876
+ </th>
1877
+ </tr>
1878
  </table>
1879
  </div>
1880
  <div id="tabs-2">
3772
  <h2><?php $fifu['title']['slider']() ?></h2>
3773
  <div class="greybox" id="grad2">
3774
  <?php $fifu['slider']['desc']() ?><br><br>
3775
+ <div class="polaroid" style="background-color: #ffffff;">
3776
+ <img src="https://storage.googleapis.com/featuredimagefromurl/featured-slider.jpg">
3777
  </div>
3778
  <br>
3779
  <div id="tabsSlider">
4108
  <br>
4109
  <br>
4110
  <center>
4111
+ <div class="polaroid" style="background-color: #f2f2f2;">
4112
+ <img src="https://storage.googleapis.com/featuredimagefromurl/bbpress01.jpg">
4113
  </div>
4114
  </center>
4115
  <br>
4116
  <center>
4117
+ <div class="polaroid" style="background-color: #f2f2f2;">
4118
+ <img src="https://storage.googleapis.com/featuredimagefromurl/bbpress03.jpg">
4119
  </div>
4120
  </center>
4121
  <br>
4122
  <center>
4123
+ <div class="polaroid" style="background-color: #f2f2f2;">
4124
+ <img src="https://storage.googleapis.com/featuredimagefromurl/bbpress02.jpg">
4125
  </div>
4126
  </center>
4127
  </div>
4196
 
4197
  <?php $fifu['jetpack']['desc']() ?><br><br>
4198
 
4199
+ <div class="polaroid" style="text-align: left;">
4200
  <img src="https://storage.googleapis.com/featuredimagefromurl/jetpack-219.jpg">
4201
  </div>
4202
 
4702
  <br>
4703
  <br>
4704
  <center>
4705
+ <div class="polaroid" style="background-color:#f0f0f0;">
4706
+ <img src="https://c1.staticflickr.com/1/216/31480097476_bf4915184b_o_d.jpg">
4707
  </div>
4708
  </center>
4709
  </div>
4830
  </tr>
4831
  </table>
4832
  </div>
4833
+
4834
+ <div class="box">
4835
+ <div class="fifu-pro"><div class="fifu-pro-out"><a class="fifu-pro-link" href="https://fifu.app/" target="_blank" title="Unlock all features"><h4 class="fifu-pro-text"><span class="dashicons dashicons-lock fifu-pro-icon"></span>PRO</h4></a></div></div>
4836
+ <h2><?php $fifu['title']['buy']() ?></h2>
4837
+ <div class="greybox" id="grad2">
4838
+ <?php $fifu['buy']['desc']() ?>
4839
+ <br>
4840
+ <br>
4841
+ <div class="polaroid">
4842
+ <img src="https://storage.googleapis.com/featuredimagefromurl/fast-buy-1.jpg" style="width:100%">
4843
+ </div>
4844
+ <br>
4845
+ <div class="polaroid" style="background-color:#373737">
4846
+ <img src="https://storage.googleapis.com/featuredimagefromurl/fast-buy-2.jpg">
4847
+ </div>
4848
+ </div>
4849
+ <br>
4850
+ <table style="text-align:left">
4851
+ <tr>
4852
+ <th>
4853
+ <input
4854
+ type="submit"
4855
+ href="javascript:void(0)"
4856
+ class="toggleoff"
4857
+ value=""
4858
+ style="display:block;border:none" >
4859
+ </th>
4860
+ </tr>
4861
+ </table>
4862
+ </div>
4863
  </div>
4864
 
4865
  <div id="tabs-p">
4904
  <a href="<?php echo plugins_url() ?>/featured-image-from-url/admin/html/txt/csv.txt"><?php $fifu['addon']['import']['csv']() ?></a>
4905
  <br>
4906
  <br>
4907
+ <div class="polaroid" style="background-color: #f1f1f1">
4908
+ <img src="https://storage.googleapis.com/featuredimagefromurl/wp-all-import-addon.jpg">
4909
  </div>
4910
  <br>
4911
  <br>
4912
+ <h3><?php $fifu['detail']['result']() ?></h3>
 
4913
  <div class="polaroid">
4914
  <img src="https://storage.googleapis.com/featuredimagefromurl/wp-all-import-result.jpg">
4915
  </div>
4969
  <i class="fab fa-facebook" style="font-size:30px"></i>
4970
  </td>
4971
  <td style="width:33%;text-align:center;border-bottom: 1px solid #ddd !important">
4972
+ <i class="fab fa-instagram" style="font-size:30px"></i>
4973
  </td>
4974
  <td style="width:33%;text-align:center;border-bottom: 1px solid #ddd !important">
4975
  <i class="fas fa-tachometer-alt" style="font-size:30px"></i>
5144
  </div>
5145
  </div>
5146
  <div id="tabs-t">
5147
+ <div class="box">
5148
+ <table>
5149
+ <tr>
5150
+ <td style="border-bottom:none">2021-07-05</td>
5151
+ <td style="border-bottom:none"><h3> Facebook</h3></td>
5152
+ <td style="border-bottom:none">social networking</td>
5153
+ </tr>
5154
+ </table>
5155
+ <div class="greybox" style="position: relative; top: -10px">
5156
+ Facebook doesn't share an INTERNAL featured image and the Sharing Debugger informs: "Provided og:image URL, ... could not be processed as an image because it has an invalid content type". <br>
5157
+ 1) make sure the image can be embedded externally. Because if your site tries to protect the image, for instance redirecting to another address, the image may not be accessed by the social media.<br>
5158
+ </div>
5159
+ </div>
5160
  <div class="box">
5161
  <table>
5162
  <tr>
admin/strings.php CHANGED
@@ -364,6 +364,9 @@ function fifu_get_strings_settings() {
364
  $fifu['title']['gallery'] = function() {
365
  _e("FIFU Product Gallery", FIFU_SLUG);
366
  };
 
 
 
367
 
368
  // support
369
  $fifu['support']['email'] = function() {
@@ -697,7 +700,7 @@ function fifu_get_strings_settings() {
697
 
698
  // unsplash
699
  $fifu['unsplash']['desc'] = function() {
700
- _e("Choose the size of the Unsplash images (loaded randomly or via keywords search). Examples of valid sizes: 500x500, 300x400, 1920x1080... Or leave this field empty to get the original size.", FIFU_SLUG);
701
  };
702
 
703
  // replace
@@ -1262,7 +1265,12 @@ function fifu_get_strings_settings() {
1262
 
1263
  // gallery
1264
  $fifu['gallery']['desc'] = function() {
1265
- _e("It is known that some galleries provided by some themes work only when the dimensions of the images are saved in the database, which is often impracticable due to the slowness of this process. So FIFU offers a product gallery that does not depend on the dimensions of the external images to work correctly. You can configure the behavior of this gallery in the \"Featured slider\" tab. You should enable at least \"show gallery on click\" and \"show thumbnails gallery\". To change the aspect ratio, access \"Featured image > Same Height > Size ratio\".", FIFU_SLUG);
 
 
 
 
 
1266
  };
1267
 
1268
  // variable
@@ -1302,13 +1310,13 @@ function fifu_get_strings_settings() {
1302
  _e("Featured video URL", FIFU_SLUG);
1303
  };
1304
  $fifu['import']['custom']['images'] = function() {
1305
- _e("Featured image URL + gallery URLs (delimited by \"|\")", FIFU_SLUG);
1306
  };
1307
  $fifu['import']['custom']['titles'] = function() {
1308
- _e("Featured image title + gallery titles (delimited by \"|\")", FIFU_SLUG);
1309
  };
1310
  $fifu['import']['custom']['videos'] = function() {
1311
- _e("Featured video URL + gallery URLs (delimited by \"|\")", FIFU_SLUG);
1312
  };
1313
  $fifu['import']['custom']['slider'] = function() {
1314
  _e("Featured slider URLs (delimited by \"|\")", FIFU_SLUG);
@@ -1486,6 +1494,12 @@ function fifu_get_strings_meta_box_php() {
1486
  $fifu['common']['wait'] = function() {
1487
  return __("Please wait a few seconds...", FIFU_SLUG);
1488
  };
 
 
 
 
 
 
1489
 
1490
  // wait
1491
  $fifu['title']['product']['image'] = function() {
@@ -1559,13 +1573,13 @@ function fifu_get_strings_wai() {
1559
  return __("Featured video (URL)", FIFU_SLUG);
1560
  };
1561
  $fifu['title']['images'] = function() {
1562
- return __("Featured image URL + gallery URLs", FIFU_SLUG);
1563
  };
1564
  $fifu['title']['titles'] = function() {
1565
- return __("Featured image title + gallery titles", FIFU_SLUG);
1566
  };
1567
  $fifu['title']['videos'] = function() {
1568
- return __("Featured video URL + gallery URLs", FIFU_SLUG);
1569
  };
1570
  $fifu['title']['slider'] = function() {
1571
  return __("Featured slider (URLs)", FIFU_SLUG);
364
  $fifu['title']['gallery'] = function() {
365
  _e("FIFU Product Gallery", FIFU_SLUG);
366
  };
367
+ $fifu['title']['buy'] = function() {
368
+ _e("Fast Buy", FIFU_SLUG);
369
+ };
370
 
371
  // support
372
  $fifu['support']['email'] = function() {
700
 
701
  // unsplash
702
  $fifu['unsplash']['desc'] = function() {
703
+ _e("Choose the size of the Unsplash images (loaded randomly or via keywords/tags search). Examples of valid sizes: 500x500, 300x400, 1920x1080... Or leave this field empty to get the original size.", FIFU_SLUG);
704
  };
705
 
706
  // replace
1265
 
1266
  // gallery
1267
  $fifu['gallery']['desc'] = function() {
1268
+ _e("It is known that some galleries provided by some themes work only when the dimensions of the images are saved in the database, which is often impracticable due to the slowness of this process. So FIFU offers a product gallery that does not depend on the dimensions of the external images to work correctly. You can configure the behavior of this gallery in the \"Featured slider\" tab. To change the aspect ratio, access \"Featured image > Same Height > Size ratio\".", FIFU_SLUG);
1269
+ };
1270
+
1271
+ // buy
1272
+ $fifu['buy']['desc'] = function() {
1273
+ _e("That's a faster alternative to the WooCommerce single product page. Click on a product image from the shop page to have the main product information in a lightbox. The \"Buy Now\" button adds the product to the cart and redirects to the checkout page.", FIFU_SLUG);
1274
  };
1275
 
1276
  // variable
1310
  _e("Featured video URL", FIFU_SLUG);
1311
  };
1312
  $fifu['import']['custom']['images'] = function() {
1313
+ _e("Product image URL + gallery URLs (delimited by \"|\")", FIFU_SLUG);
1314
  };
1315
  $fifu['import']['custom']['titles'] = function() {
1316
+ _e("Product image title + gallery titles (delimited by \"|\")", FIFU_SLUG);
1317
  };
1318
  $fifu['import']['custom']['videos'] = function() {
1319
+ _e("Product video URL + gallery URLs (delimited by \"|\")", FIFU_SLUG);
1320
  };
1321
  $fifu['import']['custom']['slider'] = function() {
1322
  _e("Featured slider URLs (delimited by \"|\")", FIFU_SLUG);
1494
  $fifu['common']['wait'] = function() {
1495
  return __("Please wait a few seconds...", FIFU_SLUG);
1496
  };
1497
+ $fifu['common']['image'] = function() {
1498
+ return __("Image URL", FIFU_SLUG);
1499
+ };
1500
+ $fifu['common']['video'] = function() {
1501
+ return __("Video URL", FIFU_SLUG);
1502
+ };
1503
 
1504
  // wait
1505
  $fifu['title']['product']['image'] = function() {
1573
  return __("Featured video (URL)", FIFU_SLUG);
1574
  };
1575
  $fifu['title']['images'] = function() {
1576
+ return __("Product image URL + gallery URLs", FIFU_SLUG);
1577
  };
1578
  $fifu['title']['titles'] = function() {
1579
+ return __("Product image title + gallery titles", FIFU_SLUG);
1580
  };
1581
  $fifu['title']['videos'] = function() {
1582
+ return __("Product video URL + gallery URLs", FIFU_SLUG);
1583
  };
1584
  $fifu['title']['slider'] = function() {
1585
  return __("Featured slider (URLs)", FIFU_SLUG);
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 as featured image of a post or WooCommerce product. Includes Image Search, Video, Social Tags, SEO, Lazy Load, Gallery, Automation etc.
7
- * Version: 3.6.4
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 as featured image of a post or WooCommerce product. Includes Image Search, Video, Social Tags, SEO, Lazy Load, Gallery, Automation etc.
7
+ * Version: 3.6.5
8
  * Author: fifu.app
9
  * Author URI: https://fifu.app/
10
  * WC requires at least: 4.0
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: 5.7
7
- Stable tag: 3.6.4
8
  License: GPLv3
9
  License URI: https://www.gnu.org/licenses/gpl-3.0.html
10
 
@@ -81,6 +81,7 @@ Use an external image as featured image of your post, page or custom post type.
81
  * **[PRO]** Variation image gallery
82
  * **[PRO]** Save images in the media library
83
  * **[PRO]** FIFU product gallery
 
84
 
85
  #### FEATURED VIDEO
86
  Supports videos from YouTube, Vimeo, Imgur, 9GAG, Cloudinary, Tumblr, Publitio, JW Player, WordPress.com (Jetpack Video Hosting) and Sprout.
@@ -171,7 +172,7 @@ Supports videos from YouTube, Vimeo, Imgur, 9GAG, Cloudinary, Tumblr, Publitio,
171
 
172
  = Is it legal to embed images without permission?
173
 
174
- * Yes, it is. Click here to know [more](https://www.globalbankingandfinance.com/embedding-images-the-legal-way-to-steal/).
175
 
176
 
177
  == Screenshots ==
@@ -219,20 +220,20 @@ Supports videos from YouTube, Vimeo, Imgur, 9GAG, Cloudinary, Tumblr, Publitio,
219
 
220
  == Changelog ==
221
 
 
 
 
222
  = 3.6.4 =
223
  * New feature: Auto set featured image from Unsplash using tags; new option: Auto set screenshot as featured image > Scale; new option: bbPress > copy the featured image/video to the forum/topic content.
224
 
225
  = 3.6.3 =
226
  * New feature: Quick Edit (for featured images and videos); new feature: FIFU Shortcodes; new widget: Product gallery; new integration functions: fifu_dev_set_video(), fifu_dev_set_category_image() and fifu_dev_set_category_video(); new option: Auto set featured image using post title and search engine > Post types.
227
 
228
- = 3.6.2 =
229
- * Improvement: query optimizations (for sites with hundreds of thousands of URLs); improvement: CDN + Optimized Thumbnails (perfect image croppig for less style issues); improvement: Save Image Dimensions (150% faster, CLI integration); deprecated: CDN + Optimized Thumbnails > Shortpixel; fix: Lazy Load (conflict with AMP plugin).
230
-
231
  = others =
232
  * [more](https://fifu.app/changelog)
233
 
234
 
235
  == Upgrade Notice ==
236
 
237
- = 3.6.4 =
238
- * New feature: Auto set featured image from Unsplash using tags; new option: Auto set screenshot as featured image > Scale; new option: bbPress > copy the featured image/video to the forum/topic content.
4
  Tags: featured, image, url, video, woocommerce
5
  Requires at least: 5.3
6
  Tested up to: 5.7
7
+ Stable tag: 3.6.5
8
  License: GPLv3
9
  License URI: https://www.gnu.org/licenses/gpl-3.0.html
10
 
81
  * **[PRO]** Variation image gallery
82
  * **[PRO]** Save images in the media library
83
  * **[PRO]** FIFU product gallery
84
+ * **[PRO]** Fast Buy
85
 
86
  #### FEATURED VIDEO
87
  Supports videos from YouTube, Vimeo, Imgur, 9GAG, Cloudinary, Tumblr, Publitio, JW Player, WordPress.com (Jetpack Video Hosting) and Sprout.
172
 
173
  = Is it legal to embed images without permission?
174
 
175
+ * Yes, it is. Click [here](https://www.globalbankingandfinance.com/embedding-images-the-legal-way-to-steal/) to know more.
176
 
177
 
178
  == Screenshots ==
220
 
221
  == Changelog ==
222
 
223
+ = 3.6.5 =
224
+ * New feature: WooCommerce > Fast Buy.
225
+
226
  = 3.6.4 =
227
  * New feature: Auto set featured image from Unsplash using tags; new option: Auto set screenshot as featured image > Scale; new option: bbPress > copy the featured image/video to the forum/topic content.
228
 
229
  = 3.6.3 =
230
  * New feature: Quick Edit (for featured images and videos); new feature: FIFU Shortcodes; new widget: Product gallery; new integration functions: fifu_dev_set_video(), fifu_dev_set_category_image() and fifu_dev_set_category_video(); new option: Auto set featured image using post title and search engine > Post types.
231
 
 
 
 
232
  = others =
233
  * [more](https://fifu.app/changelog)
234
 
235
 
236
  == Upgrade Notice ==
237
 
238
+ = 3.6.5 =
239
+ * New feature: WooCommerce > Fast Buy.