Featured Image From URL - Version 4.0.2

Version Description

  • New option: FIFU Product Gallery > videos before images; fix: Default Featured Image > Post types; FIFU Cloud: more details about how it can improve or replace other plugin features.
Download this release

Release Info

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

Code changes from version 4.0.1 to 4.0.2

admin/html/css/menu.css CHANGED
@@ -211,8 +211,23 @@ div.polaroid {
211
  text-align: center;
212
  }
213
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
214
  .fifu-pro {
215
  color:grey;
216
- padding:5px;
217
  float:right;
218
  }
211
  text-align: center;
212
  }
213
 
214
+ .fifu-cloud-details {
215
+ float:right;
216
+ background-color: #fcfcfc;
217
+ }
218
+
219
+ div.fifu-cloud-details-out {
220
+ width: 54px;
221
+ }
222
+
223
+ .fifu-cloud-details-icon {
224
+ font-size:40px;
225
+ color: #0073aa;
226
+ cursor: help;
227
+ filter: drop-shadow(5px 5px 5px #888888);
228
+ }
229
+
230
  .fifu-pro {
231
  color:grey;
 
232
  float:right;
233
  }
admin/html/css/pro.css CHANGED
@@ -13,6 +13,8 @@ a.fifu-pro-link {
13
  border-radius:4px;
14
  padding-top:2px;
15
  padding-left:2px;
 
 
16
  }
17
 
18
  span.fifu-pro-icon {
13
  border-radius:4px;
14
  padding-top:2px;
15
  padding-left:2px;
16
+ position: relative;
17
+ top: -7px;
18
  }
19
 
20
  span.fifu-pro-icon {
admin/html/js/menu.js CHANGED
@@ -56,7 +56,6 @@ jQuery(function () {
56
  jQuery("#tabsScreenshot").tabs();
57
  jQuery("#tabsFinder").tabs();
58
  jQuery("#tabsVideo").tabs();
59
- jQuery("#tabsSlider").tabs();
60
  jQuery("#tabsContent").tabs();
61
  jQuery("#tabsContentAll").tabs();
62
  jQuery("#tabsCli").tabs();
56
  jQuery("#tabsScreenshot").tabs();
57
  jQuery("#tabsFinder").tabs();
58
  jQuery("#tabsVideo").tabs();
 
59
  jQuery("#tabsContent").tabs();
60
  jQuery("#tabsContentAll").tabs();
61
  jQuery("#tabsCli").tabs();
admin/html/menu.html CHANGED
@@ -2178,6 +2178,23 @@
2178
  on, off
2179
  </th>
2180
  </tr>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2181
  <tr class="color">
2182
  <th>
2183
  <?php $fifu['tab']['woo']() ?>
@@ -3051,7 +3068,8 @@
3051
  value="<?php echo $default_cpt; ?>">
3052
  <input
3053
  type="submit"
3054
- value="<?php $fifu['button']['submit']() ?>">
 
3055
 
3056
  <span class="dashicons dashicons-editor-help" style="font-size: 25px; position: relative; top: 3px;" title="<?php printf($fifu['default']['cpt']['info'](), 'ol.flex-control-thumbs'); ?>"></span>
3057
  </form>
@@ -3184,7 +3202,7 @@
3184
 
3185
  <div class="box">
3186
  <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>
3187
-
3188
  <h2><?php $fifu['title']['block']() ?></h2>
3189
 
3190
  <div class="greybox" id="grad2">
@@ -3211,7 +3229,7 @@
3211
 
3212
  <div class="box">
3213
  <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>
3214
-
3215
  <h2><?php $fifu['title']['media']() ?></h2>
3216
 
3217
  <div class="greybox" id="grad2">
@@ -3313,6 +3331,7 @@
3313
 
3314
  <div class="box">
3315
  <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>
 
3316
  <h2><?php $fifu['title']['height']() ?></h2>
3317
  <div class="greybox" id="grad2">
3318
  <?php $fifu['height']['desc']() ?>
@@ -3493,6 +3512,7 @@
3493
 
3494
  <div class="box">
3495
  <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>
 
3496
  <h2><?php $fifu['title']['replace']() ?></h2>
3497
  <div class="greybox" id="grad2">
3498
  <?php $fifu['replace']['desc']() ?>
@@ -3686,7 +3706,7 @@
3686
  </div>
3687
 
3688
  <div class="box">
3689
-
3690
  <h2><?php $fifu['title']['dimensions']() ?></h2>
3691
 
3692
  <div class="greybox">
@@ -4070,6 +4090,7 @@
4070
 
4071
  <div class="box">
4072
  <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>
 
4073
  <h2><?php $fifu['title']['play']() ?></h2>
4074
  <div class="greybox" id="grad2">
4075
  <?php $fifu['play']['desc']() ?>
@@ -4348,6 +4369,7 @@
4348
 
4349
  <div class="box">
4350
  <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>
 
4351
  <h2><?php $fifu['title']['icon']() ?></h2>
4352
  <div class="greybox" id="grad2">
4353
  <?php $fifu['icon']['desc']() ?>
@@ -4389,228 +4411,216 @@
4389
  <div class="polaroid" style="background-color: #ffffff;">
4390
  <img src="https://storage.googleapis.com/featuredimagefromurl/featured-slider.jpg">
4391
  </div>
4392
- <br>
4393
- <div id="tabsSlider">
4394
- <ul>
4395
- <li><a href="#tabsSlider-a"><?php $fifu['slider']['tab']['configuration']() ?></a></li>
4396
- <li><a href="#tabsSlider-b"><?php $fifu['slider']['tab']['tips']() ?></a></li>
4397
- <br>
4398
- <br>
4399
- <div id="tabsSlider-a">
4400
- <table style="text-align:left">
4401
- <tr>
4402
- <th>
4403
- <input
4404
- type="submit"
4405
- href="javascript:void(0)"
4406
- id="fifu_toggle_slider"
4407
- name="fifu_toggle_slider"
4408
- class="toggleoff"
4409
- value="" style="display:block;border:none">
4410
- </th>
4411
- <th>
4412
- <?php $fifu['slider']['featured']() ?>
4413
- </th>
4414
- </tr>
4415
- <tr>
4416
- <th>
4417
- <input
4418
- type="submit"
4419
- href="javascript:void(0)"
4420
- id="fifu_toggle_slider_stop"
4421
- name="fifu_toggle_slider_stop"
4422
- class="toggleoff"
4423
- value="" style="display:block;border:none">
4424
- </th>
4425
- <th>
4426
- <?php $fifu['slider']['pause']() ?>
4427
- </th>
4428
- </tr>
4429
- <tr>
4430
- <th>
4431
- <input
4432
- type="submit"
4433
- href="javascript:void(0)"
4434
- id="fifu_toggle_slider_ctrl"
4435
- name="fifu_toggle_slider_ctrl"
4436
- class="toggleoff"
4437
- value="" style="display:block;border:none">
4438
- </th>
4439
- <th>
4440
- <?php $fifu['slider']['buttons']() ?>
4441
- </th>
4442
- </tr>
4443
- <tr>
4444
- <th>
4445
- <input
4446
- type="submit"
4447
- href="javascript:void(0)"
4448
- id="fifu_toggle_slider_auto"
4449
- name="fifu_toggle_slider_auto"
4450
- class="toggleoff"
4451
- value="" style="display:block;border:none">
4452
- </th>
4453
- <th>
4454
- <?php $fifu['slider']['start']() ?>
4455
- </th>
4456
- </tr>
4457
- <tr>
4458
- <th>
4459
- <input
4460
- type="submit"
4461
- href="javascript:void(0)"
4462
- id="fifu_toggle_slider_gallery"
4463
- name="fifu_toggle_slider_gallery"
4464
- class="toggleoff"
4465
- value=""
4466
- style="display:block;border:none">
4467
- </th>
4468
- <th>
4469
- <?php $fifu['slider']['click']() ?>
4470
- </th>
4471
- </tr>
4472
- <tr>
4473
- <th>
4474
- <input
4475
- type="submit"
4476
- href="javascript:void(0)"
4477
- id="fifu_toggle_slider_thumb"
4478
- name="fifu_toggle_slider_thumb"
4479
- class="toggleoff"
4480
- value=""
4481
- style="display:block;border:none">
4482
- </th>
4483
- <th>
4484
- <?php $fifu['slider']['thumb']() ?>
4485
- </th>
4486
- </tr>
4487
- <tr>
4488
- <th>
4489
- <input
4490
- type="submit"
4491
- href="javascript:void(0)"
4492
- id="fifu_toggle_slider_counter"
4493
- name="fifu_toggle_slider_counter"
4494
- class="toggleoff"
4495
- value=""
4496
- style="display:block;border:none">
4497
- </th>
4498
- <th>
4499
- <?php $fifu['slider']['counter']() ?>
4500
- </th>
4501
- </tr>
4502
- <tr>
4503
- <th>
4504
- <input
4505
- type="submit"
4506
- href="javascript:void(0)"
4507
- id="fifu_toggle_slider_crop"
4508
- name="fifu_toggle_slider_crop"
4509
- class="toggleoff"
4510
- value=""
4511
- style="display:block;border:none">
4512
- </th>
4513
- <th>
4514
- <?php $fifu['slider']['crop']() ?>
4515
- </th>
4516
- </tr>
4517
- <tr>
4518
- <th>
4519
- <input
4520
- type="submit"
4521
- href="javascript:void(0)"
4522
- id="fifu_toggle_slider_vertical"
4523
- name="fifu_toggle_slider_vertical"
4524
- class="toggleoff"
4525
- value=""
4526
- style="display:block;border:none">
4527
- </th>
4528
- <th>
4529
- <?php $fifu['slider']['vertical']() ?>
4530
- </th>
4531
- </tr>
4532
- </table>
4533
 
4534
- <br>
4535
 
4536
- <table style="text-align:left">
4537
- <tr>
4538
- <th>
4539
- <input id="fifu_input_spinner_slider"
4540
- name="fifu_input_spinner_slider"
4541
- step="1"
4542
- size="4">
4543
- </th>
4544
- <th>
4545
- <?php $fifu['fields']['slider']() ?>
4546
- </th>
4547
- </tr>
4548
- <tr>
4549
- <th>
4550
- <input id="fifu_input_slider_pause"
4551
- name="fifu_input_slider_pause"
4552
- step="500"
4553
- size="4">
4554
- </th>
4555
- <th>
4556
- <?php $fifu['slider']['time']() ?>
4557
- </th>
4558
- </tr>
4559
- <tr>
4560
- <th>
4561
- <input id="fifu_input_slider_speed"
4562
- name="fifu_input_slider_speed"
4563
- step="500"
4564
- max="2000"
4565
- size="4">
4566
- </th>
4567
- <th>
4568
- <?php $fifu['slider']['duration']() ?>
4569
- </th>
4570
- </tr>
4571
- <tr>
4572
- <th>
4573
- <?php $fifu['slider']['left']() ?>
4574
- </th>
4575
- <th>
4576
- <input id="fifu_input_slider_left"
4577
- type="text"
4578
- name="fifu_input_slider_left"
4579
- style="width:250px"
4580
- placeholder="<?php $fifu['slider']['optional']() ?>"
4581
- value="">
4582
- </th>
4583
- </tr>
4584
- <tr>
4585
- <th>
4586
- <?php $fifu['slider']['right']() ?>
4587
- </th>
4588
- <th>
4589
- <input id="fifu_input_slider_right"
4590
- type="text"
4591
- name="fifu_input_slider_right"
4592
- style="width:250px"
4593
- placeholder="<?php $fifu['slider']['optional']() ?>"
4594
- value="">
4595
- </th>
4596
- </tr>
4597
- <tr>
4598
- <th>
4599
- <input type="submit" disabled value="<?php $fifu['button']['ok']() ?>" style="width:72px">
4600
- </th>
4601
- </tr>
4602
- </table>
4603
- </div>
4604
- <div id="tabsSlider-b">
4605
- 1) <?php $fifu['slider']['jetpack']() ?><br>
4606
- </div>
4607
- </ul>
4608
- </div>
4609
- </div>
4610
  </div>
4611
  </div>
4612
  <div id="tabs-n">
4613
  <div class="box">
 
4614
  <h2><?php $fifu['title']['social']() ?></h2>
4615
  <div class="greybox">
4616
  <?php $fifu['social']['desc']() ?>
@@ -4677,6 +4687,7 @@
4677
  </div>
4678
  <div class="box">
4679
  <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>
 
4680
  <h2><?php $fifu['title']['rss']() ?></h2>
4681
  <div class="greybox" id="grad2">
4682
  <?php $fifu['rss']['desc']() ?>
@@ -4812,7 +4823,7 @@
4812
  </div>
4813
  <div id="tabs-i">
4814
  <div class="box">
4815
-
4816
  <h2><?php $fifu['title']['jetpack']() ?></h2>
4817
 
4818
  <div class="greybox">
@@ -5603,6 +5614,19 @@
5603
  <?php $fifu['gallery']['adaptive']() ?>
5604
  </td>
5605
  </tr>
 
 
 
 
 
 
 
 
 
 
 
 
 
5606
  </table>
5607
  </div>
5608
 
@@ -5744,7 +5768,7 @@
5744
  <i class="fab fa-facebook" style="font-size:30px"></i>
5745
  </td>
5746
  <td style="width:33%;text-align:center;border-bottom: 1px solid #ddd !important">
5747
- <i class="fab fa-instagram" style="font-size:30px"></i>
5748
  </td>
5749
  <td style="width:33%;text-align:center;border-bottom: 1px solid #ddd !important">
5750
  <i class="fas fa-tachometer-alt" style="font-size:30px"></i>
2178
  on, off
2179
  </th>
2180
  </tr>
2181
+ <tr class="color">
2182
+ <th>
2183
+ <?php $fifu['tab']['woo']() ?>
2184
+ </th>
2185
+ <th>
2186
+ <?php $fifu['title']['gallery']() ?>
2187
+ </th>
2188
+ <th>
2189
+ <?php $fifu['gallery']['videos']() ?>
2190
+ </th>
2191
+ <th>
2192
+ wp fifu woo --videos-before &lt;toggle&gt;
2193
+ </th>
2194
+ <th>
2195
+ on, off
2196
+ </th>
2197
+ </tr>
2198
  <tr class="color">
2199
  <th>
2200
  <?php $fifu['tab']['woo']() ?>
3068
  value="<?php echo $default_cpt; ?>">
3069
  <input
3070
  type="submit"
3071
+ value="<?php $fifu['button']['submit']() ?>"
3072
+ onclick="fifu_default_js();fifu_default_js();">
3073
 
3074
  <span class="dashicons dashicons-editor-help" style="font-size: 25px; position: relative; top: 3px;" title="<?php printf($fifu['default']['cpt']['info'](), 'ol.flex-control-thumbs'); ?>"></span>
3075
  </form>
3202
 
3203
  <div class="box">
3204
  <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>
3205
+ <div class="fifu-cloud-details"><div class="fifu-cloud-details-out"><span class="dashicons dashicons-cloud fifu-cloud-details-icon" title="<?php $fifu['cloud']['details']['click']() ?>"></span></div></div>
3206
  <h2><?php $fifu['title']['block']() ?></h2>
3207
 
3208
  <div class="greybox" id="grad2">
3229
 
3230
  <div class="box">
3231
  <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>
3232
+ <div class="fifu-cloud-details"><div class="fifu-cloud-details-out"><span class="dashicons dashicons-cloud fifu-cloud-details-icon" title="<?php $fifu['cloud']['details']['library']() ?>"></span></div></div>
3233
  <h2><?php $fifu['title']['media']() ?></h2>
3234
 
3235
  <div class="greybox" id="grad2">
3331
 
3332
  <div class="box">
3333
  <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>
3334
+ <div class="fifu-cloud-details"><div class="fifu-cloud-details-out"><span class="dashicons dashicons-cloud fifu-cloud-details-icon" title="<?php $fifu['cloud']['details']['crop']() ?>"></span></div></div>
3335
  <h2><?php $fifu['title']['height']() ?></h2>
3336
  <div class="greybox" id="grad2">
3337
  <?php $fifu['height']['desc']() ?>
3512
 
3513
  <div class="box">
3514
  <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>
3515
+ <div class="fifu-cloud-details"><div class="fifu-cloud-details-out"><span class="dashicons dashicons-cloud fifu-cloud-details-icon" title="<?php $fifu['cloud']['details']['replace']() ?>"></span></div></div>
3516
  <h2><?php $fifu['title']['replace']() ?></h2>
3517
  <div class="greybox" id="grad2">
3518
  <?php $fifu['replace']['desc']() ?>
3706
  </div>
3707
 
3708
  <div class="box">
3709
+ <div class="fifu-cloud-details"><div class="fifu-cloud-details-out"><span class="dashicons dashicons-cloud fifu-cloud-details-icon" title="<?php $fifu['cloud']['details']['dimensions']() ?>"></span></div></div>
3710
  <h2><?php $fifu['title']['dimensions']() ?></h2>
3711
 
3712
  <div class="greybox">
4090
 
4091
  <div class="box">
4092
  <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>
4093
+ <div class="fifu-cloud-details"><div class="fifu-cloud-details-out"><span class="dashicons dashicons-cloud fifu-cloud-details-icon" title="<?php $fifu['cloud']['details']['play']() ?>"></span></div></div>
4094
  <h2><?php $fifu['title']['play']() ?></h2>
4095
  <div class="greybox" id="grad2">
4096
  <?php $fifu['play']['desc']() ?>
4369
 
4370
  <div class="box">
4371
  <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>
4372
+ <div class="fifu-cloud-details"><div class="fifu-cloud-details-out"><span class="dashicons dashicons-cloud fifu-cloud-details-icon" title="<?php $fifu['cloud']['details']['play']() ?>"></span></div></div>
4373
  <h2><?php $fifu['title']['icon']() ?></h2>
4374
  <div class="greybox" id="grad2">
4375
  <?php $fifu['icon']['desc']() ?>
4411
  <div class="polaroid" style="background-color: #ffffff;">
4412
  <img src="https://storage.googleapis.com/featuredimagefromurl/featured-slider.jpg">
4413
  </div>
4414
+ </div>
4415
+ <br>
4416
+ <table style="text-align:left">
4417
+ <tr>
4418
+ <th>
4419
+ <input
4420
+ type="submit"
4421
+ href="javascript:void(0)"
4422
+ id="fifu_toggle_slider"
4423
+ name="fifu_toggle_slider"
4424
+ class="toggleoff"
4425
+ value="" style="display:block;border:none">
4426
+ </th>
4427
+ <th>
4428
+ <?php $fifu['slider']['featured']() ?>
4429
+ </th>
4430
+ </tr>
4431
+ <tr>
4432
+ <th>
4433
+ <input
4434
+ type="submit"
4435
+ href="javascript:void(0)"
4436
+ id="fifu_toggle_slider_stop"
4437
+ name="fifu_toggle_slider_stop"
4438
+ class="toggleoff"
4439
+ value="" style="display:block;border:none">
4440
+ </th>
4441
+ <th>
4442
+ <?php $fifu['slider']['pause']() ?>
4443
+ </th>
4444
+ </tr>
4445
+ <tr>
4446
+ <th>
4447
+ <input
4448
+ type="submit"
4449
+ href="javascript:void(0)"
4450
+ id="fifu_toggle_slider_ctrl"
4451
+ name="fifu_toggle_slider_ctrl"
4452
+ class="toggleoff"
4453
+ value="" style="display:block;border:none">
4454
+ </th>
4455
+ <th>
4456
+ <?php $fifu['slider']['buttons']() ?>
4457
+ </th>
4458
+ </tr>
4459
+ <tr>
4460
+ <th>
4461
+ <input
4462
+ type="submit"
4463
+ href="javascript:void(0)"
4464
+ id="fifu_toggle_slider_auto"
4465
+ name="fifu_toggle_slider_auto"
4466
+ class="toggleoff"
4467
+ value="" style="display:block;border:none">
4468
+ </th>
4469
+ <th>
4470
+ <?php $fifu['slider']['start']() ?>
4471
+ </th>
4472
+ </tr>
4473
+ <tr>
4474
+ <th>
4475
+ <input
4476
+ type="submit"
4477
+ href="javascript:void(0)"
4478
+ id="fifu_toggle_slider_gallery"
4479
+ name="fifu_toggle_slider_gallery"
4480
+ class="toggleoff"
4481
+ value=""
4482
+ style="display:block;border:none">
4483
+ </th>
4484
+ <th>
4485
+ <?php $fifu['slider']['click']() ?>
4486
+ </th>
4487
+ </tr>
4488
+ <tr>
4489
+ <th>
4490
+ <input
4491
+ type="submit"
4492
+ href="javascript:void(0)"
4493
+ id="fifu_toggle_slider_thumb"
4494
+ name="fifu_toggle_slider_thumb"
4495
+ class="toggleoff"
4496
+ value=""
4497
+ style="display:block;border:none">
4498
+ </th>
4499
+ <th>
4500
+ <?php $fifu['slider']['thumb']() ?>
4501
+ </th>
4502
+ </tr>
4503
+ <tr>
4504
+ <th>
4505
+ <input
4506
+ type="submit"
4507
+ href="javascript:void(0)"
4508
+ id="fifu_toggle_slider_counter"
4509
+ name="fifu_toggle_slider_counter"
4510
+ class="toggleoff"
4511
+ value=""
4512
+ style="display:block;border:none">
4513
+ </th>
4514
+ <th>
4515
+ <?php $fifu['slider']['counter']() ?>
4516
+ </th>
4517
+ </tr>
4518
+ <tr>
4519
+ <th>
4520
+ <input
4521
+ type="submit"
4522
+ href="javascript:void(0)"
4523
+ id="fifu_toggle_slider_crop"
4524
+ name="fifu_toggle_slider_crop"
4525
+ class="toggleoff"
4526
+ value=""
4527
+ style="display:block;border:none">
4528
+ </th>
4529
+ <th>
4530
+ <?php $fifu['slider']['crop']() ?>
4531
+ </th>
4532
+ </tr>
4533
+ <tr>
4534
+ <th>
4535
+ <input
4536
+ type="submit"
4537
+ href="javascript:void(0)"
4538
+ id="fifu_toggle_slider_vertical"
4539
+ name="fifu_toggle_slider_vertical"
4540
+ class="toggleoff"
4541
+ value=""
4542
+ style="display:block;border:none">
4543
+ </th>
4544
+ <th>
4545
+ <?php $fifu['slider']['vertical']() ?>
4546
+ </th>
4547
+ </tr>
4548
+ </table>
 
 
 
 
 
 
4549
 
4550
+ <br>
4551
 
4552
+ <table style="text-align:left">
4553
+ <tr>
4554
+ <th>
4555
+ <input id="fifu_input_spinner_slider"
4556
+ name="fifu_input_spinner_slider"
4557
+ step="1"
4558
+ size="4">
4559
+ </th>
4560
+ <th>
4561
+ <?php $fifu['fields']['slider']() ?>
4562
+ </th>
4563
+ </tr>
4564
+ <tr>
4565
+ <th>
4566
+ <input id="fifu_input_slider_pause"
4567
+ name="fifu_input_slider_pause"
4568
+ step="500"
4569
+ size="4">
4570
+ </th>
4571
+ <th>
4572
+ <?php $fifu['slider']['time']() ?>
4573
+ </th>
4574
+ </tr>
4575
+ <tr>
4576
+ <th>
4577
+ <input id="fifu_input_slider_speed"
4578
+ name="fifu_input_slider_speed"
4579
+ step="500"
4580
+ max="2000"
4581
+ size="4">
4582
+ </th>
4583
+ <th>
4584
+ <?php $fifu['slider']['duration']() ?>
4585
+ </th>
4586
+ </tr>
4587
+ <tr>
4588
+ <th>
4589
+ <?php $fifu['slider']['left']() ?>
4590
+ </th>
4591
+ <th>
4592
+ <input id="fifu_input_slider_left"
4593
+ type="text"
4594
+ name="fifu_input_slider_left"
4595
+ style="width:250px"
4596
+ placeholder="<?php $fifu['slider']['optional']() ?>"
4597
+ value="">
4598
+ </th>
4599
+ </tr>
4600
+ <tr>
4601
+ <th>
4602
+ <?php $fifu['slider']['right']() ?>
4603
+ </th>
4604
+ <th>
4605
+ <input id="fifu_input_slider_right"
4606
+ type="text"
4607
+ name="fifu_input_slider_right"
4608
+ style="width:250px"
4609
+ placeholder="<?php $fifu['slider']['optional']() ?>"
4610
+ value="">
4611
+ </th>
4612
+ </tr>
4613
+ <tr>
4614
+ <th>
4615
+ <input type="submit" disabled value="<?php $fifu['button']['ok']() ?>" style="width:72px">
4616
+ </th>
4617
+ </tr>
4618
+ </table>
 
 
 
 
 
 
 
4619
  </div>
4620
  </div>
4621
  <div id="tabs-n">
4622
  <div class="box">
4623
+ <div class="fifu-cloud-details"><div class="fifu-cloud-details-out"><span class="dashicons dashicons-cloud fifu-cloud-details-icon" title="<?php $fifu['cloud']['details']['social']() ?>"></span></div></div>
4624
  <h2><?php $fifu['title']['social']() ?></h2>
4625
  <div class="greybox">
4626
  <?php $fifu['social']['desc']() ?>
4687
  </div>
4688
  <div class="box">
4689
  <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>
4690
+ <div class="fifu-cloud-details"><div class="fifu-cloud-details-out"><span class="dashicons dashicons-cloud fifu-cloud-details-icon" title="<?php $fifu['cloud']['details']['rss']() ?>"></span></div></div>
4691
  <h2><?php $fifu['title']['rss']() ?></h2>
4692
  <div class="greybox" id="grad2">
4693
  <?php $fifu['rss']['desc']() ?>
4823
  </div>
4824
  <div id="tabs-i">
4825
  <div class="box">
4826
+ <div class="fifu-cloud-details"><div class="fifu-cloud-details-out"><span class="dashicons dashicons-cloud fifu-cloud-details-icon" title="<?php $fifu['cloud']['details']['photon']() ?>"></span></div></div>
4827
  <h2><?php $fifu['title']['jetpack']() ?></h2>
4828
 
4829
  <div class="greybox">
5614
  <?php $fifu['gallery']['adaptive']() ?>
5615
  </td>
5616
  </tr>
5617
+ <tr>
5618
+ <td>
5619
+ <input
5620
+ type="submit"
5621
+ href="javascript:void(0)"
5622
+ class="toggleoff"
5623
+ value=""
5624
+ style="display:block;border:none" >
5625
+ </td>
5626
+ <td>
5627
+ <?php $fifu['gallery']['videos']() ?>
5628
+ </td>
5629
+ </tr>
5630
  </table>
5631
  </div>
5632
 
5768
  <i class="fab fa-facebook" style="font-size:30px"></i>
5769
  </td>
5770
  <td style="width:33%;text-align:center;border-bottom: 1px solid #ddd !important">
5771
+ <i class="fa-solid fa-file-circle-xmark" style="font-size:30px"></i>
5772
  </td>
5773
  <td style="width:33%;text-align:center;border-bottom: 1px solid #ddd !important">
5774
  <i class="fas fa-tachometer-alt" style="font-size:30px"></i>
admin/strings.php CHANGED
@@ -405,7 +405,7 @@ function fifu_get_strings_settings() {
405
  _e("\"Nulled\" Premium doesn't work", FIFU_SLUG);
406
  };
407
  $fifu['support']['money'] = function() {
408
- _e("Instagram images don't work", FIFU_SLUG);
409
  };
410
  $fifu['support']['speed'] = function() {
411
  _e("PageSpeed and GTmetrix issues", FIFU_SLUG);
@@ -417,19 +417,19 @@ function fifu_get_strings_settings() {
417
  _e("Contact us. If you are available to discuss the details and the plugin is free, we should provide an integration. Or contact its developer and ask him to use the FIFU integration functions below.", FIFU_SLUG);
418
  };
419
  $fifu['support']['style-desc'] = function() {
420
- _e("Some themes and plugins aren't responsive enough to work with external images. You may solve that running Metadata > Save Image Dimensions (~150 URLs/min).", FIFU_SLUG);
421
  };
422
  $fifu['support']['facebook-desc'] = function() {
423
- _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.", FIFU_SLUG);
424
  };
425
  $fifu['support']['null-desc'] = function() {
426
  _e("This plugin has no nulled versions, but modified versions. Don't install that. It's illegal and may ruin your site. Moreover, sales of the original premium version keep this project alive.", FIFU_SLUG);
427
  };
428
  $fifu['support']['money-desc'] = function() {
429
- _e("Instagram is making it impossible for its images to be displayed on other websites, except when additional elements are embedded. So FIFU doesn't support Instagram images anymore.", FIFU_SLUG);
430
  };
431
  $fifu['support']['speed-desc'] = function() {
432
- _e("You can solve that activating Performance > CDN + Optimized Thumbnails. Even large images hosted on slow servers should load quickly on your website.", FIFU_SLUG);
433
  };
434
 
435
  // start
@@ -569,7 +569,7 @@ function fifu_get_strings_settings() {
569
 
570
  // media library
571
  $fifu['media']['desc'] = function() {
572
- _e("It's possible to save the external images in the media library. Make a backup before running the cron job, because after making an image local it can't be external again.", FIFU_SLUG);
573
  };
574
  $fifu['media']['upload'] = function() {
575
  _e("show upload button on post editor", FIFU_SLUG);
@@ -1199,15 +1199,9 @@ function fifu_get_strings_settings() {
1199
  $fifu['slider']['desc'] = function() {
1200
  _e("This feature allows you to have a slider of images instead of a regular featured image. It's often quite useful on some types of websites, such as real estate. It can run fast even with a huge amount of big images (just follow the performance tips below).", FIFU_SLUG);
1201
  };
1202
- $fifu['slider']['jetpack'] = function() {
1203
- _e("enable Performance > CDN + Optimized Thumbnails", FIFU_SLUG);
1204
- };
1205
  $fifu['slider']['tab']['configuration'] = function() {
1206
  _e("Configuration", FIFU_SLUG);
1207
  };
1208
- $fifu['slider']['tab']['tips'] = function() {
1209
- _e("Performance tips", FIFU_SLUG);
1210
- };
1211
  $fifu['slider']['featured'] = function() {
1212
  _e("featured slider", FIFU_SLUG);
1213
  };
@@ -1395,6 +1389,9 @@ function fifu_get_strings_settings() {
1395
  $fifu['gallery']['adaptive'] = function() {
1396
  _e("adaptive height", FIFU_SLUG);
1397
  };
 
 
 
1398
 
1399
  // buy
1400
  $fifu['buy']['desc'] = function() {
@@ -1520,6 +1517,36 @@ function fifu_get_strings_settings() {
1520
  _e("even though with 1 license you could use FIFU on unlimited sites from the same domain, the technical support is still limited to 1 site.", FIFU_SLUG);
1521
  };
1522
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1523
  return $fifu;
1524
  }
1525
 
@@ -1575,27 +1602,9 @@ function fifu_get_strings_meta_box() {
1575
  };
1576
 
1577
  // image
1578
- $fifu['image']['show']['center'] = function() {
1579
- _e("center", FIFU_SLUG);
1580
- };
1581
- $fifu['image']['show']['top'] = function() {
1582
- _e("top", FIFU_SLUG);
1583
- };
1584
- $fifu['image']['show']['bottom'] = function() {
1585
- _e("bottom", FIFU_SLUG);
1586
- };
1587
- $fifu['image']['show']['left'] = function() {
1588
- _e("left", FIFU_SLUG);
1589
- };
1590
- $fifu['image']['show']['right'] = function() {
1591
- _e("right", FIFU_SLUG);
1592
- };
1593
  $fifu['image']['ignore'] = function() {
1594
  _e("don't get URL from post content", FIFU_SLUG);
1595
  };
1596
- $fifu['image']['height'] = function() {
1597
- _e("You've enabled Same Height feature, that works by cropping the image. Here you can define which part of the image should be shown.", FIFU_SLUG);
1598
- };
1599
  $fifu['image']['keywords'] = function() {
1600
  _e("Image URL or Keywords", FIFU_SLUG);
1601
  };
405
  _e("\"Nulled\" Premium doesn't work", FIFU_SLUG);
406
  };
407
  $fifu['support']['money'] = function() {
408
+ _e("Broken image icon is being displayed", FIFU_SLUG);
409
  };
410
  $fifu['support']['speed'] = function() {
411
  _e("PageSpeed and GTmetrix issues", FIFU_SLUG);
417
  _e("Contact us. If you are available to discuss the details and the plugin is free, we should provide an integration. Or contact its developer and ask him to use the FIFU integration functions below.", FIFU_SLUG);
418
  };
419
  $fifu['support']['style-desc'] = function() {
420
+ _e("Some themes and plugins aren't responsive enough to work with external images. You may solve that by using <b>FIFU Cloud</b> (fast) or running Metadata > Save Image Dimensions (slow).", FIFU_SLUG);
421
  };
422
  $fifu['support']['facebook-desc'] = function() {
423
+ _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. And make sure Social > Social Tags is enabled.", FIFU_SLUG);
424
  };
425
  $fifu['support']['null-desc'] = function() {
426
  _e("This plugin has no nulled versions, but modified versions. Don't install that. It's illegal and may ruin your site. Moreover, sales of the original premium version keep this project alive.", FIFU_SLUG);
427
  };
428
  $fifu['support']['money-desc'] = function() {
429
+ _e("Possibilities: a) image file deleted by owner; b) URL has changed; c) hotlink protection; d) URL is wrong. Use <b>FIFU Cloud</b> to prevent image loss or bypass hotlink protection.", FIFU_SLUG);
430
  };
431
  $fifu['support']['speed-desc'] = function() {
432
+ _e("Solve that by activating Performance > CDN + Optimized Thumbnails or <b>FIFU Cloud</b> (much better). Even large images hosted on slow servers should load quickly on your website.", FIFU_SLUG);
433
  };
434
 
435
  // start
569
 
570
  // media library
571
  $fifu['media']['desc'] = function() {
572
+ _e("It's possible to save the external images in the media library and set those new local images as standard WordPress/WooCommerce featured/gallery images automatically. Make a backup before running the cron job, because after making an image local it can't be external again, so FIFU will have no more control over that.", FIFU_SLUG);
573
  };
574
  $fifu['media']['upload'] = function() {
575
  _e("show upload button on post editor", FIFU_SLUG);
1199
  $fifu['slider']['desc'] = function() {
1200
  _e("This feature allows you to have a slider of images instead of a regular featured image. It's often quite useful on some types of websites, such as real estate. It can run fast even with a huge amount of big images (just follow the performance tips below).", FIFU_SLUG);
1201
  };
 
 
 
1202
  $fifu['slider']['tab']['configuration'] = function() {
1203
  _e("Configuration", FIFU_SLUG);
1204
  };
 
 
 
1205
  $fifu['slider']['featured'] = function() {
1206
  _e("featured slider", FIFU_SLUG);
1207
  };
1389
  $fifu['gallery']['adaptive'] = function() {
1390
  _e("adaptive height", FIFU_SLUG);
1391
  };
1392
+ $fifu['gallery']['videos'] = function() {
1393
+ _e("videos before images", FIFU_SLUG);
1394
+ };
1395
 
1396
  // buy
1397
  $fifu['buy']['desc'] = function() {
1517
  _e("even though with 1 license you could use FIFU on unlimited sites from the same domain, the technical support is still limited to 1 site.", FIFU_SLUG);
1518
  };
1519
 
1520
+ // cloud
1521
+
1522
+ $fifu['cloud']['details']['social'] = function() {
1523
+ _e("FIFU Cloud improves the social sharing by smart cropping the images in the size defined by the main social medias (~1200x630). The smart crop is specially useful when you're sharing a portrait image, because a standard central crop may lead to a picture where the main object is not shown or people appears without their heads.", FIFU_SLUG);
1524
+ };
1525
+ $fifu['cloud']['details']['rss'] = function() {
1526
+ _e("FIFU Cloud improves the RSS feed by smart cropping the images in the size defined by Google News (~1200x800). The smart crop is specially useful when you're sharing a portrait image, because a standard central crop may lead to a picture where the main object is not shown or people appears without their heads.", FIFU_SLUG);
1527
+ };
1528
+ $fifu['cloud']['details']['photon'] = function() {
1529
+ _e("FIFU Cloud can also serve optimized thumbnails from a global CDN, but with many advantages: image storage (not only cache), supports any image source, technical support, smart crop, hotlink protection and more.", FIFU_SLUG);
1530
+ };
1531
+ $fifu['cloud']['details']['click'] = function() {
1532
+ _e("FIFU Clouds improves the security of your images by offering hotlink protection. With that, even if a bot or someone else gets image URLs from the source code of your website, it won't be possible to embed them on other websites. An error message is displayed instead of the images.", FIFU_SLUG);
1533
+ };
1534
+ $fifu['cloud']['details']['dimensions'] = function() {
1535
+ _e("FIFU Cloud eliminates the need for this feature by writing the image dimensions in the image URL. So there are no waiting or style issues anymore.", FIFU_SLUG);
1536
+ };
1537
+ $fifu['cloud']['details']['library'] = function() {
1538
+ _e("FIFU Cloud can work as an alternative to the WordPress media library. Both store images, but FIFU Cloud process them in the cloud, while WordPress core consumes a lot of your website resources. Also, FIFU Cloud is able to process and store thousands of images simultaneously in a few seconds while the media library will work with one image at a time.", FIFU_SLUG);
1539
+ };
1540
+ $fifu['cloud']['details']['crop'] = function() {
1541
+ _e("FIFU Cloud overcomes this feature by serving real cropped thumbnails in the exact size requested by your theme. FIFU Cloud doesn't require any configuration or CSS knowledge and will load your images much faster. Moreover, its smart crop makes use of AI to make your cropped images more attractive.", FIFU_SLUG);
1542
+ };
1543
+ $fifu['cloud']['details']['replace'] = function() {
1544
+ _e("FIFU Cloud prevents image loss by saving your local or external images in the cloud.", FIFU_SLUG);
1545
+ };
1546
+ $fifu['cloud']['details']['play'] = function() {
1547
+ _e("FIFU Cloud overcomes this feature by drawing a play icon on the video image thumbnails. With that, the plugin doesn't need to add any additional HTML or CSS, what might conflict with the theme.", FIFU_SLUG);
1548
+ };
1549
+
1550
  return $fifu;
1551
  }
1552
 
1602
  };
1603
 
1604
  // image
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1605
  $fifu['image']['ignore'] = function() {
1606
  _e("don't get URL from post content", FIFU_SLUG);
1607
  };
 
 
 
1608
  $fifu['image']['keywords'] = function() {
1609
  _e("Image URL or Keywords", FIFU_SLUG);
1610
  };
featured-image-from-url.php CHANGED
@@ -4,11 +4,11 @@
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: 4.0.1
8
  * Author: fifu.app
9
  * Author URI: https://fifu.app/
10
  * WC requires at least: 4.0
11
- * WC tested up to: 6.6.1
12
  * Text Domain: featured-image-from-url
13
  * License: GPLv3
14
  * License URI: https://www.gnu.org/licenses/gpl-3.0.html
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: 4.0.2
8
  * Author: fifu.app
9
  * Author URI: https://fifu.app/
10
  * WC requires at least: 4.0
11
+ * WC tested up to: 6.7.0
12
  * Text Domain: featured-image-from-url
13
  * License: GPLv3
14
  * License URI: https://www.gnu.org/licenses/gpl-3.0.html
includes/thumbnail.php CHANGED
@@ -300,11 +300,6 @@ function fifu_is_main_page() {
300
  return is_home() || (class_exists('WooCommerce') && is_shop());
301
  }
302
 
303
- function fifu_has_internal_image($post_id) {
304
- $featured_image = get_post_meta($post_id, '_thumbnail_id', true);
305
- return $featured_image && $featured_image != -1 && $featured_image != get_option('fifu_fake_attach_id');
306
- }
307
-
308
  function fifu_is_in_editor() {
309
  return !is_admin() || get_current_screen() == null ? false : get_current_screen()->parent_base == 'edit' || get_current_screen()->is_block_editor;
310
  }
300
  return is_home() || (class_exists('WooCommerce') && is_shop());
301
  }
302
 
 
 
 
 
 
303
  function fifu_is_in_editor() {
304
  return !is_admin() || get_current_screen() == null ? false : get_current_screen()->parent_base == 'edit' || get_current_screen()->is_block_editor;
305
  }
readme.txt CHANGED
@@ -3,8 +3,8 @@ Contributors: marceljm
3
  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: 4.0.1
8
  License: GPLv3
9
  License URI: https://www.gnu.org/licenses/gpl-3.0.html
10
 
@@ -159,10 +159,6 @@ Featured Image, Figurë e Zgjedhur, Image mise en avant, Uitgelichte afbeelding,
159
 
160
  == Frequently Asked Questions ==
161
 
162
- = Where is the external featured image box? =
163
-
164
- * Next to the regular featured image box, in the post editor.
165
-
166
  = Why isn't preview button working? =
167
 
168
  * Your image URL is invalid. Take a look at FIFU Settings > Getting started.
@@ -255,20 +251,20 @@ Featured Image, Figurë e Zgjedhur, Image mise en avant, Uitgelichte afbeelding,
255
 
256
  == Changelog ==
257
 
 
 
 
258
  = 4.0.1 =
259
  * Enhancement: security (validation, sanitization and escaping of option values).
260
 
261
  = 4.0.0 =
262
  * FIFU Cloud: available for beta testers; enhancement: security (prevents CSRF attack); enhancement: Play Button > hide from grid (WordPress/WooCommerce); enhancement: Mute (desktop/mobile); deprecated: Related Videos.
263
 
264
- = 3.9.9 =
265
- * Fix: URLs with apostrophe character not working; fix: Lazy Load (conflict with Flickr Album Gallery plugin); deprecated: Giphy Search.
266
-
267
  = others =
268
  * [more](https://fifu.app/changelog)
269
 
270
 
271
  == Upgrade Notice ==
272
 
273
- = 4.0.1 =
274
- * Enhancement: security (validation, sanitization and escaping of option values).
3
  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.1
7
+ Stable tag: 4.0.2
8
  License: GPLv3
9
  License URI: https://www.gnu.org/licenses/gpl-3.0.html
10
 
159
 
160
  == Frequently Asked Questions ==
161
 
 
 
 
 
162
  = Why isn't preview button working? =
163
 
164
  * Your image URL is invalid. Take a look at FIFU Settings > Getting started.
251
 
252
  == Changelog ==
253
 
254
+ = 4.0.2 =
255
+ * New option: FIFU Product Gallery > videos before images; fix: Default Featured Image > Post types; FIFU Cloud: more details about how it can improve or replace other plugin features.
256
+
257
  = 4.0.1 =
258
  * Enhancement: security (validation, sanitization and escaping of option values).
259
 
260
  = 4.0.0 =
261
  * FIFU Cloud: available for beta testers; enhancement: security (prevents CSRF attack); enhancement: Play Button > hide from grid (WordPress/WooCommerce); enhancement: Mute (desktop/mobile); deprecated: Related Videos.
262
 
 
 
 
263
  = others =
264
  * [more](https://fifu.app/changelog)
265
 
266
 
267
  == Upgrade Notice ==
268
 
269
+ = 4.0.2 =
270
+ * New option: FIFU Product Gallery > videos before images; fix: Default Featured Image > Post types; FIFU Cloud: more details about how it can improve or replace other plugin features.