Featured Image From URL - Version 2.4.8

Version Description

  • New premium feature: replace broken image.
Download this release

Release Info

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

Code changes from version 2.4.7 to 2.4.8

admin/html/menu.html CHANGED
@@ -452,6 +452,22 @@
452
  </div>
453
  </div>
454
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
455
  <div class="box">
456
  <h2>Original Size</h2>
457
  <div class="greybox">
@@ -924,9 +940,7 @@
924
  <input type="submit" value="Submit" >
925
  </form>
926
  </div>
927
- </div>
928
-
929
- <a name="priority"></a>
930
 
931
  <div class="box">
932
  <h2>Priority</h2>
@@ -1496,6 +1510,17 @@
1496
  <input type="submit" value="Submit" disabled>
1497
  </div>
1498
 
 
 
 
 
 
 
 
 
 
 
 
1499
  <div class="box">
1500
  <h2>Video Auto Play</h2>
1501
  <div class="greybox" id="grad2">
@@ -1532,8 +1557,6 @@
1532
  </tr>
1533
  </table>
1534
  </div>
1535
-
1536
-
1537
  </div>
1538
  <div id="tabs-m">
1539
  <div class="box">
452
  </div>
453
  </div>
454
 
455
+ <div class="box">
456
+ <h2>Replace broken image</h2>
457
+ <div class="greybox" id="grad2">
458
+ <b>Premium feature</b><br><br>
459
+ Here you can define the URL of an image to be shown in case of error (image not found).
460
+ <br><br>
461
+ <input id="fifu_input_error_url"
462
+ type="text"
463
+ name="fifu_input_error_url"
464
+ style="width:675px"
465
+ value="">
466
+ <input type="submit"
467
+ value="Submit" disabled>
468
+ </div>
469
+ </div>
470
+
471
  <div class="box">
472
  <h2>Original Size</h2>
473
  <div class="greybox">
940
  <input type="submit" value="Submit" >
941
  </form>
942
  </div>
943
+ </div>
 
 
944
 
945
  <div class="box">
946
  <h2>Priority</h2>
1510
  <input type="submit" value="Submit" disabled>
1511
  </div>
1512
 
1513
+ <div class="box">
1514
+ <h2>Minimum Width</h2>
1515
+ <div class="greybox" id="grad2">
1516
+ <b>Premium feature</b><br><br>
1517
+ Minimum width that an available area should have to show a video. Otherwise the thumbnail will be shown.
1518
+ </div>
1519
+ <br>
1520
+ <input id="fifu_input_video_min_width" type="text" name="fifu_input_video_min_width" value="" size="4">
1521
+ <input type="submit" value="Submit" disabled>
1522
+ </div>
1523
+
1524
  <div class="box">
1525
  <h2>Video Auto Play</h2>
1526
  <div class="greybox" id="grad2">
1557
  </tr>
1558
  </table>
1559
  </div>
 
 
1560
  </div>
1561
  <div id="tabs-m">
1562
  <div class="box">
admin/html/meta-box.html CHANGED
@@ -38,8 +38,11 @@
38
  style="<?php echo $align, $margin, $show_button ?>" >Preview</a>
39
 
40
  <div id="fifu_news" style="top:10px; <?php echo $show_news ?>">
 
41
  <p style="font-size: 12px; padding: 10px; border-bottom: 2px solid red; border-top: 2px solid red; color: black; background: repeating-linear-gradient(-55deg,white,white 2px,whitesmoke 2px,white 5px);
42
- background-color: whitesmoke; border-radius: 15px 15px 15px 15px; position: relative; top: 10px; box-shadow: 2px 2px 2px #aaaaaa;">Please report any problem to <b>marcel@featuredimagefromurl.com</b><br>It should be fixed in 24 hours.</p>
43
  <p style="font-size: 12px; padding: 10px; border-bottom: 2px solid purple; border-top: 2px solid purple; color: black; background: repeating-linear-gradient(-55deg,white,white 2px,whitesmoke 2px,white 5px);
44
- background-color: whitesmoke; border-radius: 15px 15px 15px 15px; position: relative; top: 10px; box-shadow: 2px 2px 2px #aaaaaa;">Product Gallery, Video and Slider fields are only available in the <a href="wp-admin/admin.php?page=featured-image-from-url#tabs-a"><b>premium</b></a> version (<b>20%OFF</b> in May 2019).</p>
 
 
45
  </div>
38
  style="<?php echo $align, $margin, $show_button ?>" >Preview</a>
39
 
40
  <div id="fifu_news" style="top:10px; <?php echo $show_news ?>">
41
+ <br/>
42
  <p style="font-size: 12px; padding: 10px; border-bottom: 2px solid red; border-top: 2px solid red; color: black; background: repeating-linear-gradient(-55deg,white,white 2px,whitesmoke 2px,white 5px);
43
+ background-color: whitesmoke; border-radius: 15px 5px 15px 5px; position: relative; top: 5px;">Please report any problem to <b>marcel@featuredimagefromurl.com</b></p>
44
  <p style="font-size: 12px; padding: 10px; border-bottom: 2px solid purple; border-top: 2px solid purple; color: black; background: repeating-linear-gradient(-55deg,white,white 2px,whitesmoke 2px,white 5px);
45
+ background-color: whitesmoke; border-radius: 15px 5px 15px 5px; position: relative; top: 5px;">Product Gallery, Video and Slider fields are only available in <a href="wp-admin/admin.php?page=featured-image-from-url#tabs-a"><b>premium</b></a> version.</p>
46
+ <p style="font-size: 12px; padding: 10px; border-bottom: 2px solid orange; border-top: 2px solid orange; color: black; background: repeating-linear-gradient(-55deg,white,white 2px,whitesmoke 2px,white 5px);
47
+ background-color: whitesmoke; border-radius: 15px 5px 15px 5px; position: relative; top: 5px;">New feature: replace broken image.</p>
48
  </div>
featured-image-from-url.php CHANGED
@@ -4,7 +4,7 @@
4
  * Plugin Name: Featured Image from URL
5
  * Plugin URI: https://featuredimagefromurl.com/
6
  * Description: Use an external image as Featured Image of your post/page/custom post type (WooCommerce). Includes Auto Set (External Post), Product Gallery, Social Tags and more.
7
- * Version: 2.4.7
8
  * Author: Marcel Jacques Machado
9
  * Author URI: https://www.linkedin.com/in/marceljm/
10
  */
4
  * Plugin Name: Featured Image from URL
5
  * Plugin URI: https://featuredimagefromurl.com/
6
  * Description: Use an external image as Featured Image of your post/page/custom post type (WooCommerce). Includes Auto Set (External Post), Product Gallery, Social Tags and more.
7
+ * Version: 2.4.8
8
  * Author: Marcel Jacques Machado
9
  * Author URI: https://www.linkedin.com/in/marceljm/
10
  */
includes/util.php CHANGED
@@ -35,6 +35,7 @@ function fifu_get_post_types() {
35
 
36
  function fifu_maximum($dimension) {
37
  $dimension = 'fifu_image_' . $dimension . '_';
 
38
 
39
  if (is_home()) {
40
  $size = get_option($dimension . 'home');
35
 
36
  function fifu_maximum($dimension) {
37
  $dimension = 'fifu_image_' . $dimension . '_';
38
+ $size = null;
39
 
40
  if (is_home()) {
41
  $size = get_option($dimension . 'home');
readme.txt CHANGED
@@ -157,6 +157,9 @@ Features:
157
 
158
  == Changelog ==
159
 
 
 
 
160
  = 2.4.7 =
161
  * New feature: Maximum Sizes; Deprecated: Default Width.
162
 
@@ -568,6 +571,9 @@ was removed. To finish, a Premium version is now been presented.
568
 
569
  == Upgrade Notice ==
570
 
 
 
 
571
  = 2.4.7 =
572
  * New feature: Maximum Sizes; Deprecated: Default Width.
573
 
157
 
158
  == Changelog ==
159
 
160
+ = 2.4.8 =
161
+ * New premium feature: replace broken image.
162
+
163
  = 2.4.7 =
164
  * New feature: Maximum Sizes; Deprecated: Default Width.
165
 
571
 
572
  == Upgrade Notice ==
573
 
574
+ = 2.4.8 =
575
+ * New premium feature: replace broken image.
576
+
577
  = 2.4.7 =
578
  * New feature: Maximum Sizes; Deprecated: Default Width.
579