Featured Image From URL - Version 1.4.9

Version Description

  • Add information about theme compatibility.

=

Download this release

Release Info

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

Code changes from version 1.4.8 to 1.4.9

Files changed (3) hide show
  1. admin/html/menu.html +216 -292
  2. featured-image-from-url.php +1 -1
  3. readme.txt +6 -0
admin/html/menu.html CHANGED
@@ -1,69 +1,164 @@
1
  <style><?php include 'css/menu.css' ?></style>
2
-
3
  <script><?php include 'js/menu.js' ?></script>
4
-
5
  <link rel="stylesheet" href="//code.jquery.com/ui/1.12.1/themes/base/jquery-ui.css">
6
  <script src="https://code.jquery.com/ui/1.12.1/jquery-ui.js"></script>
7
-
8
  <div class="wrap">
9
-
10
  <div class="box">
11
-
12
  <h1>Featured Image From URL</h1>
13
-
14
- <div class="fifubox" style="background:#e3ffe2">Free</div>
15
- <div class="fifubox" style="background:#ffe2e2">Premium</div>
16
  <div class="fifubox" style="background:#ffffbc">Depends on WooCommerce Version</div>
17
-
18
  </div>
 
 
 
 
 
 
 
19
 
 
 
 
 
 
 
 
 
 
 
 
 
20
  <div class="box">
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
21
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
22
  <h2><a href="https://www.flickr.com/"><font color="#007ee5">flick</font><font color="#ff0084">r</font></a> Integration: Your Website Faster Than Ever</h2>
23
-
24
  <div class="greybox" style="background:#ffe2e2">
25
-
26
- <p><b>Premium feature</b><p/>
27
-
28
  <div id="accordion">
29
-
30
  <h3>Do you know Flickr?</h3>
31
  <div>
32
  <ol>
33
- <li><p>It's free;</p></li>
34
- <li><p>Offers 1000 GB of space;<p></li>
35
- <li><p>It's dedicated to store and provide images, probably faster than the most of servers;<p></li>
36
- <li><p>Creates automatic copies of your images in <b>many different sizes.</b><p></li>
37
  </ol>
38
  </div>
39
-
40
  <h3>How does Featured Image From URL take advantage of Flickr?</h3>
41
  <div>
42
- <p>Smaller the images, faster your site. So the plugin will load the images from Flickr in the exactly size your site needs.<p/>
43
- <p>And the result is...</p>
44
- <p><b>The images will be shown with the best quality and the shortest time possible.</b><p/>
45
  </div>
46
-
47
  </div>
48
 
49
- <p/>
50
-
51
  </br>
52
  <h3>Getting Flickr URL</h3>
53
  <div>
54
- <p>You just need to get one URL (Square 75). Use that to fill the External Featured Image field of your post, page or product. The plugin will handle this URL to provide the image in different sizes.</p>
55
  <img src="https://c1.staticflickr.com/1/745/31593837206_8e081be749_z_d.jpg"/>
56
  <img src="https://c1.staticflickr.com/1/223/30820834393_f869fcff49_z_d.jpg"/>
57
  </div>
58
-
59
- </br>
60
  <h3>Choose the maximum image size for each screen</h3>
61
-
62
  <table style="text-align:left">
63
  <tr>
64
  <th>Cart:&nbsp;</th>
65
  <th>
66
-
67
  <select id="select_flickr_cart" style="font-family:courier;font-size:12px">
68
  <option value=""></option>
69
  <option value="s">&nbsp; 75 x 75</option>
@@ -76,13 +171,11 @@
76
  <option value="c">&nbsp;800&nbsp;on longest side</option>
77
  <option value="b">1024&nbsp;on longest side</option>
78
  </select>
79
-
80
  </th>
81
  </tr>
82
  <tr>
83
  <th>Category:&nbsp;</th>
84
  <th>
85
-
86
  <select id="select_flickr_ctgr" style="font-family:courier;font-size:12px">
87
  <option value=""></option>
88
  <option value="s">&nbsp; 75 x 75</option>
@@ -95,13 +188,11 @@
95
  <option value="c">&nbsp;800&nbsp;on longest side</option>
96
  <option value="b">1024&nbsp;on longest side</option>
97
  </select>
98
-
99
  </th>
100
  </tr>
101
  <tr>
102
  <th>Home:&nbsp;</th>
103
  <th>
104
-
105
  <select id="select_flickr_home" style="font-family:courier;font-size:12px">
106
  <option value=""></option>
107
  <option value="s">&nbsp; 75 x 75</option>
@@ -114,13 +205,11 @@
114
  <option value="c">&nbsp;800&nbsp;on longest side</option>
115
  <option value="b">1024&nbsp;on longest side</option>
116
  </select>
117
-
118
  </th>
119
  </tr>
120
  <tr>
121
  <th>Lightbox:&nbsp;</th>
122
  <th>
123
-
124
  <select id="select_flickr_lbox" style="font-family:courier;font-size:12px">
125
  <option value=""></option>
126
  <option value="s">&nbsp; 75 x 75</option>
@@ -133,13 +222,11 @@
133
  <option value="c">&nbsp;800&nbsp;on longest side</option>
134
  <option value="b">1024&nbsp;on longest side</option>
135
  </select>
136
-
137
  </th>
138
  </tr>
139
  <tr>
140
  <th>Page:&nbsp;</th>
141
  <th>
142
-
143
  <select id="select_flickr_page" style="font-family:courier;font-size:12px">
144
  <option value=""></option>
145
  <option value="s">&nbsp; 75 x 75</option>
@@ -152,13 +239,11 @@
152
  <option value="c">&nbsp;800&nbsp;on longest side</option>
153
  <option value="b">1024&nbsp;on longest side</option>
154
  </select>
155
-
156
  </th>
157
  </tr>
158
  <tr>
159
  <th>Post:&nbsp;</th>
160
  <th>
161
-
162
  <select id="select_flickr_post" style="font-family:courier;font-size:12px">
163
  <option value=""></option>
164
  <option value="s">&nbsp; 75 x 75</option>
@@ -171,13 +256,11 @@
171
  <option value="c">&nbsp;800&nbsp;on longest side</option>
172
  <option value="b">1024&nbsp;on longest side</option>
173
  </select>
174
-
175
  </th>
176
  </tr>
177
  <tr>
178
  <th>Product:&nbsp;</th>
179
  <th>
180
-
181
  <select id="select_flickr_prod" style="font-family:courier;font-size:12px">
182
  <option value=""></option>
183
  <option value="s">&nbsp; 75 x 75</option>
@@ -190,13 +273,11 @@
190
  <option value="c">&nbsp;800&nbsp;on longest side</option>
191
  <option value="b">1024&nbsp;on longest side</option>
192
  </select>
193
-
194
  </th>
195
  </tr>
196
  <tr>
197
  <th>Shop:&nbsp;</th>
198
  <th>
199
-
200
  <select id="select_flickr_shop" style="font-family:courier;font-size:12px">
201
  <option value=""></option>
202
  <option value="s">&nbsp; 75 x 75</option>
@@ -209,243 +290,47 @@
209
  <option value="c">&nbsp;800&nbsp;on longest side</option>
210
  <option value="b">1024&nbsp;on longest side</option>
211
  </select>
212
-
213
  </th>
214
  </tr>
215
  </table>
216
-
217
- </div>
218
-
219
- <p/>
220
-
221
- </div>
222
-
223
- <div class="box">
224
-
225
- <h2>WooCommerce Full Integration</h2>
226
-
227
- <div class="greybox" style="background:#ffffbc">
228
-
229
- <div id="tabs">
230
-
231
- <ul>
232
- <li><a href="#tabs-1">Full Integration</a></li>
233
- <li><a href="#tabs-2">Compatible Versions</a></li>
234
- </ul>
235
-
236
- <div id="tabs-1">
237
- <p>Would you like to integrate WooCommerce to Featured Image From URL? For that, a script will be executed to overwrite some lines of code from WooCommerce plugin. It's safe and reversible but it will only work if your site is hosted on a Linux server. So let me check...</p>
238
- <p/>
239
- <b><?php echo $compatible; ?></b>
240
- </div>
241
-
242
- <div id="tabs-2">
243
- <p><b>Free</b>: supports WooCommerce 2.4.X and 2.5.X.</p>
244
- <p><b>Premium</b>: supports WooCommerce 2.6.X and later.</p>
245
- </div>
246
-
247
- </div>
248
-
249
- <p/>
250
-
251
- </div>
252
-
253
- <p/>
254
-
255
- <form
256
- id="fifu_form_woocommerce"
257
- action="javascript:void(0)"
258
- method="post">
259
-
260
- <input
261
- type="image"
262
- href="javascript:void(0)"
263
- id="fifu_toggle_woocommerce"
264
- onclick="invert('woocommerce')"
265
- name="fifu_toggle_woocommerce"
266
- class="<?php echo $enable_woocommerce; ?>"
267
- value=" "
268
- style="<?php echo $show_woocommerce_button; ?>">
269
-
270
- <input
271
- type="hidden"
272
- id="fifu_input_woocommerce"
273
- name="fifu_input_woocommerce"
274
- value="" >
275
- </form>
276
-
277
- </div>
278
-
279
- <div class="box">
280
-
281
- <h2>Custom Post Types</h2>
282
-
283
- <div class="greybox" style="background:#e3ffe2">
284
-
285
- <p>Featured Image from URL is preconfigured to work with only one Custom Post Type (WooCommerce Product). But you also can use this plugin with other ones. For that, you just need to know the correct Custom Post Type names and fill the fields below. Please, let me know if you need more than 5 inputs here.</p>
286
-
287
  </div>
288
 
289
- <p/>
290
-
291
- <form
292
- id="fifu_form_cpt"
293
- action="javascript:void(0)"
294
- method="post">
295
-
296
- <input id="fifu_input_cpt0" type="text" name="fifu_input_cpt0" style="width:130px" value="<?php echo $array_cpt[0]; ?>">
297
- <input id="fifu_input_cpt1" type="text" name="fifu_input_cpt1" style="width:130px" value="<?php echo $array_cpt[1]; ?>">
298
- <input id="fifu_input_cpt2" type="text" name="fifu_input_cpt2" style="width:130px" value="<?php echo $array_cpt[2]; ?>">
299
- <input id="fifu_input_cpt3" type="text" name="fifu_input_cpt3" style="width:130px" value="<?php echo $array_cpt[3]; ?>">
300
- <input id="fifu_input_cpt4" type="text" name="fifu_input_cpt4" style="width:130px" value="<?php echo $array_cpt[4]; ?>">
301
-
302
- <input type="submit" value="Submit" >
303
- </form>
304
-
305
  </div>
306
-
307
  <div class="box">
308
-
309
- <h2>Featured Image in Content</h2>
310
-
311
- <div class="greybox" style="background:#e3ffe2">
312
-
313
- <p>It will sound crazy, but some themes don't show the Featured Image on the posts or pages. If it is your case and you would like to show the Featured Image there, just enable the toggle. The Featured Image will appear at the beginning of the content, before the text.</p>
314
-
315
- </div>
316
-
317
- <p/>
318
-
319
- <form
320
- id="fifu_form_content"
321
- action="javascript:void(0)"
322
- method="post">
323
-
324
- <input
325
- type="image"
326
- href="javascript:void(0)"
327
- id="fifu_toggle_content"
328
- onclick="invert('content')"
329
- name="fifu_toggle_content"
330
- class="<?php echo $enable_content; ?>"
331
- value=" "
332
- style="<?php echo $show_content_button; ?>">
333
-
334
- <input
335
- type="hidden"
336
- id="fifu_input_content"
337
- name="fifu_input_content"
338
- value="" >
339
- </form>
340
-
341
- </div>
342
-
343
- <div class="box">
344
-
345
- <h2>"This Plugin Doesn't Work, Man!"</h2>
346
-
347
- <div class="greybox" style="background:#e3ffe2">
348
-
349
- <p>If the external featured images of your posts or pages aren't being shown, congratulations: you're using a nonstandard theme! But there is a last hope. Enabling the toggle below, your external featured images will be associated to a symbolic file in your Media Library. It's a desperate attempt to cheat your theme that will think that there is an internal image there. Then when the theme tries to show the image, that doesn't exist, a function will replace the symbolic file by your URL on execution time. It should allow you to use the main feature of this plugin, but secondary ones, such as "External Featured Image Slider" may not work.</p>
350
-
351
- </div>
352
-
353
- <p/>
354
-
355
- <form
356
- id="fifu_form_hope"
357
- action="javascript:void(0)"
358
- method="post">
359
-
360
- <input
361
- type="image"
362
- href="javascript:void(0)"
363
- id="fifu_toggle_hope"
364
- onclick="invert('hope')"
365
- name="fifu_toggle_hope"
366
- class="<?php echo $enable_hope; ?>"
367
- value=" "
368
- style="display:block" >
369
-
370
- <input
371
- type="hidden"
372
- id="fifu_input_hope"
373
- name="fifu_input_hope"
374
- value="" >
375
- </form>
376
-
377
- </div>
378
-
379
- <div class="box">
380
-
381
  <h2>External Featured Videos</h2>
382
-
383
  <div class="greybox" style="background:#ffe2e2">
384
-
385
- <p><b>Premium feature</b><p/>
386
-
387
- <p>Allows you to use an external video from YouTube instead of a featured image.<p/>
388
-
389
- <p><a href="http://fifu.marceljm.com/" targe="_blank">Live preview</a><p/>
390
-
391
  </div>
392
-
393
  </div>
394
-
395
  <div class="box">
396
-
397
  <h2>Slider</h2>
398
-
399
  <div class="greybox" style="background:#ffe2e2">
400
-
401
- <p><b>Premium feature</b><p/>
402
-
403
- <p>You can use a slider of external images as featured image.</p>
404
-
405
- <p><a href="http://fifu.marceljm.com/" targe="_blank">Live preview</a><p/>
406
-
407
  </div>
408
-
409
  </div>
410
-
411
  <div class="box">
412
-
413
  <h2>CSS Style</h2>
414
-
415
  <div class="greybox" style="background:#ffe2e2">
416
-
417
- <p><b>Premium feature</b><p/>
418
-
419
- <p>Here you can define a CSS style to be applied to all external featured images. Usage example:</p>
420
-
421
- <p>width: 100%; border-radius: 8px; border: 1px solid #ddd; padding: 5px;</p>
422
-
423
  </div>
424
-
425
- <p/>
426
-
427
  <input id="fifu_input_css" type="text" name="fifu_input_css" style="width:675px">
428
-
429
  <input type="submit" value="Submit" disabled>
430
-
431
  </div>
432
-
433
  <div class="box">
434
-
435
  <h2>Hover Effects</h2>
436
-
437
  <div class="greybox" style="background:#ffe2e2">
438
-
439
- <p><b>Premium feature</b><p/>
440
-
441
- <p>Choose one among 18 hover effects to be applied to all external featured images of your posts on your main page.<p/>
442
-
443
- <p><a href="http://marceljm.com/wordpress/featured-image-from-url-premium#hover" targe="_blank">Live preview</a><p/>
444
-
445
  </div>
446
-
447
- <p/>
448
-
449
  <select id="select_hover" style="width:90%">
450
  <option value=""></option>
451
  <option value="hover17">315 Degrees</option>
@@ -467,52 +352,100 @@
467
  <option value="hover01">Zoom In</option>
468
  <option value="hover03">Zoom Out</option>
469
  </select>
470
-
471
  <input type="submit" value="Submit" disabled>
472
-
473
  </div>
474
-
475
  <div class="box">
476
-
477
  <h2>Help</h2>
478
-
479
  <div class="greybox">
480
-
481
- <p>Featured Image From URL plugin allows you to use an external image (from anywhere) as Featured Image of your Post, Page or Custom Post Type, such as WooCommerce Product. For WooCommerce users, it's also possible to use external images in the Product Category and Product Gallery. All included content still has social tags to facilitate sharing on social networks. And it's compatible with WP All Import and Sirv plugins. For more information, refer to <a href="https://wordpress.org/plugins/featured-image-from-url/faq/" target="_blank">FAQ</a> and <a href="https://wordpress.org/plugins/featured-image-from-url/screenshots/" target="_blank">screenshots</a>. </p>
482
-
483
  </div>
484
-
485
  </div>
486
-
487
  <div class="box">
488
-
489
  <h2>Give This Plugin a 5-Star Rating</h2>
490
-
491
  <div class="greybox">
492
-
493
- <p>Do you really love Featured Image From URL? So give this plugin a 5-star <a href="https://wordpress.org/support/view/plugin-reviews/featured-image-from-url?filter=5" target="_blank">rating</a>.
494
-
495
  </div>
496
-
497
  </div>
498
-
499
  <div class="box">
500
-
501
  <h2>Report a Bug or Suggest an Improvement</h2>
502
-
503
  <div class="greybox">
504
-
505
- <p>Bug reports and suggestions for improvement are always welcome. Just send an email to <a href="mailto:marceljmachado@gmail.com">marceljmachado@gmail.com</a> and your request can be available in the next release.</p>
506
-
507
  </div>
508
-
509
  </div>
510
-
511
  <div class="box">
512
-
513
- <h2>Make a Donation and Receive the Premium Version</h2>
514
-
515
  <div class="greybox">
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
516
  <div style="display:inline-block;">
517
  <form action="https://www.paypal.com/cgi-bin/webscr" method="post" target="_top">
518
  <input type="hidden" name="cmd" value="_s-xclick">
@@ -521,25 +454,16 @@
521
  <img alt="" border="0" src="https://www.paypalobjects.com/en_US/i/scr/pixel.gif" width="1" height="1">
522
  </form>
523
  </div>
524
-
525
  <div style="display:inline-block;top:-20px;position:relative">
526
- <p>(US$ 25 or more, please) and receive the Premium Version by email within 12 hours.<p/>
527
  </div>
528
  </div>
529
-
530
  </div>
531
-
532
  <div class="box">
533
-
534
  <h2>About The Author</h2>
535
-
536
  <div class="greybox">
537
-
538
- <p>Hi! I'm Marcel Jacques Machado. Graduated in Computer Science, I work as a Software Engineer for almost a decade. I already worked with C, Python, Delphi, Shell Script and other programming languages and technologies. Nowadays, I develop web applications for Telefonica in Brazil using Java. About PHP, this plugin, Featured Image From URL, is my first pratical experience. I also have a <a href="http://marceljm.com/" target="_blank">blog</a> in WordPress and I expect to post some useful content very soon.
539
-
540
  </div>
541
-
542
  </div>
543
-
544
  </div>
545
 
1
  <style><?php include 'css/menu.css' ?></style>
 
2
  <script><?php include 'js/menu.js' ?></script>
 
3
  <link rel="stylesheet" href="//code.jquery.com/ui/1.12.1/themes/base/jquery-ui.css">
4
  <script src="https://code.jquery.com/ui/1.12.1/jquery-ui.js"></script>
 
5
  <div class="wrap">
 
6
  <div class="box">
 
7
  <h1>Featured Image From URL</h1>
8
+ <div class="fifubox" style="background:#e3ffe2">Free feature</div>
9
+ <div class="fifubox" style="background:#ffe2e2">Premium feature</div>
 
10
  <div class="fifubox" style="background:#ffffbc">Depends on WooCommerce Version</div>
 
11
  </div>
12
+ <div class="box">
13
+ <h2>Custom Post Types</h2>
14
+ <div class="greybox" style="background:#e3ffe2">
15
+ <b>Free feature</b><br><br>
16
+ Featured Image from URL is preconfigured to work with only one Custom Post Type (WooCommerce Product). But you also can use this plugin with other ones. For that, you just need to know the correct Custom Post Type names and fill the fields below. Please, let me know if you need more than 5 inputs here.
17
+ </div>
18
+ <br>
19
 
20
+ <form
21
+ id="fifu_form_cpt"
22
+ action="javascript:void(0)"
23
+ method="post">
24
+ <input id="fifu_input_cpt0" type="text" name="fifu_input_cpt0" style="width:130px" value="<?php echo $array_cpt[0]; ?>">
25
+ <input id="fifu_input_cpt1" type="text" name="fifu_input_cpt1" style="width:130px" value="<?php echo $array_cpt[1]; ?>">
26
+ <input id="fifu_input_cpt2" type="text" name="fifu_input_cpt2" style="width:130px" value="<?php echo $array_cpt[2]; ?>">
27
+ <input id="fifu_input_cpt3" type="text" name="fifu_input_cpt3" style="width:130px" value="<?php echo $array_cpt[3]; ?>">
28
+ <input id="fifu_input_cpt4" type="text" name="fifu_input_cpt4" style="width:130px" value="<?php echo $array_cpt[4]; ?>">
29
+ <input type="submit" value="Submit" >
30
+ </form>
31
+ </div>
32
  <div class="box">
33
+ <h2>Featured Image in Content</h2>
34
+ <div class="greybox" style="background:#e3ffe2">
35
+ <b>Free feature</b><br><br>
36
+ It will sound crazy, but some themes don't show the Featured Image on the posts or pages. If it is your case and you would like to show the Featured Image there, just enable the toggle. The Featured Image will appear at the beginning of the content, before the text.
37
+ </div>
38
+ <br>
39
+ <form
40
+ id="fifu_form_content"
41
+ action="javascript:void(0)"
42
+ method="post">
43
+ <input
44
+ type="image"
45
+ href="javascript:void(0)"
46
+ id="fifu_toggle_content"
47
+ onclick="invert('content')"
48
+ name="fifu_toggle_content"
49
+ class="<?php echo $enable_content; ?>"
50
+ value=" "
51
+ style="<?php echo $show_content_button; ?>">
52
+ <input
53
+ type="hidden"
54
+ id="fifu_input_content"
55
+ name="fifu_input_content"
56
+ value="" >
57
+ </form>
58
+ </div>
59
+ <div class="box">
60
+ <h2>"This Plugin Doesn't Work, Man!"</h2>
61
+ <div class="greybox" style="background:#e3ffe2">
62
+ <b>Free feature</b><br><br>
63
+ If the external featured images of your posts or pages aren't being shown, congratulations: you're using a nonstandard theme! But there is a last hope. Enabling the toggle below, your external featured images will be associated to a symbolic file in your Media Library. It's a desperate attempt to cheat your theme that will think that there is an internal image there. Then when the theme tries to show the image, that doesn't exist, a function will replace the symbolic file by your URL on execution time. It should allow you to use the main feature of this plugin, but secondary ones, such as "External Featured Image Slider" may not work.
64
+ </div>
65
+ <br>
66
+ <form
67
+ id="fifu_form_hope"
68
+ action="javascript:void(0)"
69
+ method="post">
70
+ <input
71
+ type="image"
72
+ href="javascript:void(0)"
73
+ id="fifu_toggle_hope"
74
+ onclick="invert('hope')"
75
+ name="fifu_toggle_hope"
76
+ class="<?php echo $enable_hope; ?>"
77
+ value=" "
78
+ style="display:block" >
79
+ <input
80
+ type="hidden"
81
+ id="fifu_input_hope"
82
+ name="fifu_input_hope"
83
+ value="" >
84
+ </form>
85
+ </div>
86
+ <div class="box">
87
+ <h2>WooCommerce Full Integration</h2>
88
+ <div class="greybox" style="background:#ffffbc">
89
+ <b>Free feature (WooCommerce 2.4/5.X)</b><br>
90
+ <b>Premium feature (WooCommerce 2.6.X)</b><br><br>
91
+ <div id="tabs">
92
+ <ul>
93
+ <li><a href="#tabs-1">Full Integration</a></li>
94
+ <li><a href="#tabs-2">Compatible Versions</a></li>
95
+ </ul>
96
+ <div id="tabs-1">
97
+ Would you like to integrate WooCommerce to Featured Image From URL? For that, a script will be executed to overwrite some lines of code from WooCommerce plugin. It's safe and reversible but it will only work if your site is hosted on a Linux server. <br><br>So let me check...<br><br>
98
+ <b><?php echo $compatible; ?></b>
99
+ </div>
100
+ <div id="tabs-2">
101
+ <b>Free</b>: supports WooCommerce 2.4.X and 2.5.X.<br><br>
102
+ <b>Premium</b>: supports WooCommerce 2.6.X and later.
103
+ </div>
104
+ </div>
105
 
106
+ </div>
107
+ <br>
108
+ <form
109
+ id="fifu_form_woocommerce"
110
+ action="javascript:void(0)"
111
+ method="post">
112
+ <input
113
+ type="image"
114
+ href="javascript:void(0)"
115
+ id="fifu_toggle_woocommerce"
116
+ onclick="invert('woocommerce')"
117
+ name="fifu_toggle_woocommerce"
118
+ class="<?php echo $enable_woocommerce; ?>"
119
+ value=" "
120
+ style="<?php echo $show_woocommerce_button; ?>">
121
+ <input
122
+ type="hidden"
123
+ id="fifu_input_woocommerce"
124
+ name="fifu_input_woocommerce"
125
+ value="" >
126
+ </form>
127
+ </div>
128
+ <div class="box">
129
  <h2><a href="https://www.flickr.com/"><font color="#007ee5">flick</font><font color="#ff0084">r</font></a> Integration: Your Website Faster Than Ever</h2>
 
130
  <div class="greybox" style="background:#ffe2e2">
131
+ <b>Premium feature</b><br><br>
 
 
132
  <div id="accordion">
 
133
  <h3>Do you know Flickr?</h3>
134
  <div>
135
  <ol>
136
+ <li>It's free;</li>
137
+ <li>Offers 1000 GB of space;</li>
138
+ <li>It's dedicated to store and provide images, probably faster than the most of servers;</li>
139
+ <li>Creates automatic copies of your images in <b>many different sizes.</b></li>
140
  </ol>
141
  </div>
 
142
  <h3>How does Featured Image From URL take advantage of Flickr?</h3>
143
  <div>
144
+ Smaller the images, faster your site.<br><br> So the plugin will load the images from Flickr in the exactly size your site needs.
145
+ And the result is...<br><br>
146
+ <b>The images will be shown with the best quality and the shortest time possible.</b>
147
  </div>
 
148
  </div>
149
 
 
 
150
  </br>
151
  <h3>Getting Flickr URL</h3>
152
  <div>
153
+ You just need to get one URL (Square 75). Use that to fill the External Featured Image field of your post, page or product. The plugin will handle this URL to provide the image in different sizes.<br><br>
154
  <img src="https://c1.staticflickr.com/1/745/31593837206_8e081be749_z_d.jpg"/>
155
  <img src="https://c1.staticflickr.com/1/223/30820834393_f869fcff49_z_d.jpg"/>
156
  </div>
 
 
157
  <h3>Choose the maximum image size for each screen</h3>
 
158
  <table style="text-align:left">
159
  <tr>
160
  <th>Cart:&nbsp;</th>
161
  <th>
 
162
  <select id="select_flickr_cart" style="font-family:courier;font-size:12px">
163
  <option value=""></option>
164
  <option value="s">&nbsp; 75 x 75</option>
171
  <option value="c">&nbsp;800&nbsp;on longest side</option>
172
  <option value="b">1024&nbsp;on longest side</option>
173
  </select>
 
174
  </th>
175
  </tr>
176
  <tr>
177
  <th>Category:&nbsp;</th>
178
  <th>
 
179
  <select id="select_flickr_ctgr" style="font-family:courier;font-size:12px">
180
  <option value=""></option>
181
  <option value="s">&nbsp; 75 x 75</option>
188
  <option value="c">&nbsp;800&nbsp;on longest side</option>
189
  <option value="b">1024&nbsp;on longest side</option>
190
  </select>
 
191
  </th>
192
  </tr>
193
  <tr>
194
  <th>Home:&nbsp;</th>
195
  <th>
 
196
  <select id="select_flickr_home" style="font-family:courier;font-size:12px">
197
  <option value=""></option>
198
  <option value="s">&nbsp; 75 x 75</option>
205
  <option value="c">&nbsp;800&nbsp;on longest side</option>
206
  <option value="b">1024&nbsp;on longest side</option>
207
  </select>
 
208
  </th>
209
  </tr>
210
  <tr>
211
  <th>Lightbox:&nbsp;</th>
212
  <th>
 
213
  <select id="select_flickr_lbox" style="font-family:courier;font-size:12px">
214
  <option value=""></option>
215
  <option value="s">&nbsp; 75 x 75</option>
222
  <option value="c">&nbsp;800&nbsp;on longest side</option>
223
  <option value="b">1024&nbsp;on longest side</option>
224
  </select>
 
225
  </th>
226
  </tr>
227
  <tr>
228
  <th>Page:&nbsp;</th>
229
  <th>
 
230
  <select id="select_flickr_page" style="font-family:courier;font-size:12px">
231
  <option value=""></option>
232
  <option value="s">&nbsp; 75 x 75</option>
239
  <option value="c">&nbsp;800&nbsp;on longest side</option>
240
  <option value="b">1024&nbsp;on longest side</option>
241
  </select>
 
242
  </th>
243
  </tr>
244
  <tr>
245
  <th>Post:&nbsp;</th>
246
  <th>
 
247
  <select id="select_flickr_post" style="font-family:courier;font-size:12px">
248
  <option value=""></option>
249
  <option value="s">&nbsp; 75 x 75</option>
256
  <option value="c">&nbsp;800&nbsp;on longest side</option>
257
  <option value="b">1024&nbsp;on longest side</option>
258
  </select>
 
259
  </th>
260
  </tr>
261
  <tr>
262
  <th>Product:&nbsp;</th>
263
  <th>
 
264
  <select id="select_flickr_prod" style="font-family:courier;font-size:12px">
265
  <option value=""></option>
266
  <option value="s">&nbsp; 75 x 75</option>
273
  <option value="c">&nbsp;800&nbsp;on longest side</option>
274
  <option value="b">1024&nbsp;on longest side</option>
275
  </select>
 
276
  </th>
277
  </tr>
278
  <tr>
279
  <th>Shop:&nbsp;</th>
280
  <th>
 
281
  <select id="select_flickr_shop" style="font-family:courier;font-size:12px">
282
  <option value=""></option>
283
  <option value="s">&nbsp; 75 x 75</option>
290
  <option value="c">&nbsp;800&nbsp;on longest side</option>
291
  <option value="b">1024&nbsp;on longest side</option>
292
  </select>
 
293
  </th>
294
  </tr>
295
  </table>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
296
  </div>
297
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
298
  </div>
 
299
  <div class="box">
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
300
  <h2>External Featured Videos</h2>
 
301
  <div class="greybox" style="background:#ffe2e2">
302
+ <b>Premium feature</b><br><br>
303
+ Allows you to use an external video from YouTube instead of a featured image.<br><br>
304
+ <a href="http://fifu.marceljm.com/" targe="_blank">Live preview</a>
 
 
 
 
305
  </div>
 
306
  </div>
 
307
  <div class="box">
 
308
  <h2>Slider</h2>
 
309
  <div class="greybox" style="background:#ffe2e2">
310
+ <b>Premium feature</b><br><br>
311
+ You can use a slider of external images as featured image.<br><br>
312
+ <a href="http://fifu.marceljm.com/" targe="_blank">Live preview</a>
 
 
 
 
313
  </div>
 
314
  </div>
 
315
  <div class="box">
 
316
  <h2>CSS Style</h2>
 
317
  <div class="greybox" style="background:#ffe2e2">
318
+ <b>Premium feature</b><br><br>
319
+ Here you can define a CSS style to be applied to all external featured images. Usage example:<br><br>
320
+ width: 100%; border-radius: 8px; border: 1px solid #ddd; padding: 5px;
 
 
 
 
321
  </div>
322
+ <br>
 
 
323
  <input id="fifu_input_css" type="text" name="fifu_input_css" style="width:675px">
 
324
  <input type="submit" value="Submit" disabled>
 
325
  </div>
 
326
  <div class="box">
 
327
  <h2>Hover Effects</h2>
 
328
  <div class="greybox" style="background:#ffe2e2">
329
+ <b>Premium feature</b><br><br>
330
+ Choose one among 18 hover effects to be applied to all external featured images of your posts on your main page.<br><br>
331
+ <a href="http://marceljm.com/wordpress/featured-image-from-url-premium#hover" targe="_blank">Live preview</a>
 
 
 
 
332
  </div>
333
+ <br>
 
 
334
  <select id="select_hover" style="width:90%">
335
  <option value=""></option>
336
  <option value="hover17">315 Degrees</option>
352
  <option value="hover01">Zoom In</option>
353
  <option value="hover03">Zoom Out</option>
354
  </select>
 
355
  <input type="submit" value="Submit" disabled>
 
356
  </div>
 
357
  <div class="box">
 
358
  <h2>Help</h2>
 
359
  <div class="greybox">
360
+ Featured Image From URL plugin allows you to use an external image (from anywhere) as Featured Image of your Post, Page or Custom Post Type, such as WooCommerce Product. For WooCommerce users, it's also possible to use external images in the Product Category and Product Gallery. All included content still has social tags to facilitate sharing on social networks. And it's compatible with WP All Import and Sirv plugins. For more information, refer to <a href="https://wordpress.org/plugins/featured-image-from-url/faq/" target="_blank">FAQ</a> and <a href="https://wordpress.org/plugins/featured-image-from-url/screenshots/" target="_blank">screenshots</a>.
 
 
361
  </div>
 
362
  </div>
 
363
  <div class="box">
 
364
  <h2>Give This Plugin a 5-Star Rating</h2>
 
365
  <div class="greybox">
366
+ Do you really love Featured Image From URL? So give this plugin a 5-star <a href="https://wordpress.org/support/view/plugin-reviews/featured-image-from-url?filter=5" target="_blank">rating</a>.
 
 
367
  </div>
 
368
  </div>
 
369
  <div class="box">
 
370
  <h2>Report a Bug or Suggest an Improvement</h2>
 
371
  <div class="greybox">
372
+ Bug reports and suggestions for improvement are always welcome. Just send an email to <a href="mailto:marceljmachado@gmail.com">marceljmachado@gmail.com</a> and your request can be available in the next release.
 
 
373
  </div>
 
374
  </div>
 
375
  <div class="box">
376
+ <h2>About Premium Version</h2>
 
 
377
  <div class="greybox">
378
+ <h3>1) "Is my theme compatible with Featured Image From URL Premium?"</h3>
379
+ Compatibility between Featured Image From URL Premium and the 50 most popular themes on WordPress Theme Directory:<br><br>
380
+ 01) Twenty Seventeen: yes;<br>
381
+ 02) Twenty Sixteen: yes;<br>
382
+ 03) Twenty Fifteen: yes;<br>
383
+ 04) Twenty Fourteen: yes;<br>
384
+ 05) Total: yes;<br>
385
+ 06) Twenty Twelve: yes;<br>
386
+ 07) Giga Store: no;<br>
387
+ 08) modernize: yes;<br>
388
+ 09) Sydney: no;<br>
389
+ 10) Twenty Eleven: yes;<br>
390
+ 11) Twenty Thirteen: yes;<br>
391
+ 12) Eleganto: no;<br>
392
+ 13) E-Shop: yes;<br>
393
+ 14) Twenty Ten: yes;<br>
394
+ 15) Shop Isle: no;<br>
395
+ 16) ColorMag: yes;<br>
396
+ 17) Illdy: yes;<br>
397
+ 18) OnePress: yes;<br>
398
+ 19) Spacious: yes;<br>
399
+ 20) Primer: yes;<br>
400
+ 21) Storefront: yes;<br>
401
+ 22) Vertex: no;<br>
402
+ 23) Astrid: yes;<br>
403
+ 24) Fotografo: no;<br>
404
+ 25) Poseidon: no;<br>
405
+ 26) Silver Platinum: yes;<br>
406
+ 27) Peaceful: yes;<br>
407
+ 28) Customizr: yes;<br>
408
+ 29) Activello: yes;<br>
409
+ 30) Vantage: yes;<br>
410
+ 31) Maxwell: yes;<br>
411
+ 32) Clean Commerce: yes;<br>
412
+ 33) Nikkon: yes;<br>
413
+ 34) Nisarg: yes;<br>
414
+ 35) Vega: yes;<br>
415
+ 36) Resortica Lite: yes;<br>
416
+ 37) Basic: yes;<br>
417
+ 38) Panoramic: no;<br>
418
+ 39) Sparkling: yes;<br>
419
+ 40) Hueman: yes;<br>
420
+ 41) Businessx: yes;<br>
421
+ 42) xMag: yes;<br>
422
+ 43) Athena: no;<br>
423
+ 44) Shopstar: yes;<br>
424
+ 45) ajaira: yes;<br>
425
+ 46) evolve: no;<br>
426
+ 47) Alpha Store: yes;<br>
427
+ 48) Virtue: no;<br>
428
+ 49) Vogue: yes;<br>
429
+ 50) Responsive: yes.<br>
430
+ <br>
431
+ Other popular themes:<br>
432
+ 01) Avada: no;<br>
433
+ 02) Porto: no;<br>
434
+ 03) Flatsome: no;<br>
435
+ 04) Bimber: no.<br>
436
+ <br>
437
+ And I will continue updating those lists...<br>
438
+ <br>
439
+ <h3>2) "And if my theme isn't listed above?"</h3>
440
+ If your theme isn't listed above, I strongly recommend you to send the zip file to <a href="mailto:marceljmachado@gmail.com">marceljmachado@gmail.com</a>. Then I can test and inform you if all plugin features will work with your theme. It's really important once there is no refund for problems related to theme compatibility and, as you can see, some themes aren't flexible enough to work with external images.<br>
441
+ <br>
442
+ <h3>3) "How to get support?"</h3>
443
+ You can inform any problem related to the Premium version (except theme issues) in the email above. It will be solved as soon as possible and without any cost.<br><br>
444
+ <h3>4) "Which plugins are compatible with Premium version?"</h3>
445
+ WooCommerce, WP All Import and others. If you intend to use the Premium version with a specific plugin, please ask me if they are compatible.<br><br>
446
+ <h3>5) "Can I get my money back later?"</h3>
447
+ With the exception of rare situations, no way. So don't go to the Premium version if you are not sure if your theme is compatible.<br><br>
448
+ <h3>6) "How to get the Premium version?"</h3>
449
  <div style="display:inline-block;">
450
  <form action="https://www.paypal.com/cgi-bin/webscr" method="post" target="_top">
451
  <input type="hidden" name="cmd" value="_s-xclick">
454
  <img alt="" border="0" src="https://www.paypalobjects.com/en_US/i/scr/pixel.gif" width="1" height="1">
455
  </form>
456
  </div>
 
457
  <div style="display:inline-block;top:-20px;position:relative">
458
+ (US$ 25 or more, please) and receive the Premium version by email within 12 hours.
459
  </div>
460
  </div>
 
461
  </div>
 
462
  <div class="box">
 
463
  <h2>About The Author</h2>
 
464
  <div class="greybox">
465
+ Hi! I'm Marcel Jacques Machado. Graduated in Computer Science, I work as a Software Engineer for 10 years. I already worked with C, Python, Delphi, Shell Script and other programming languages and technologies. Nowadays, I develop web applications for Telefonica in Brazil using Java. About PHP, this plugin, Featured Image From URL, is my first pratical experience. I also have a <a href="http://marceljm.com/" target="_blank">blog</a> in WordPress and I expect to post some useful content very soon.
 
 
466
  </div>
 
467
  </div>
 
468
  </div>
469
 
featured-image-from-url.php CHANGED
@@ -3,7 +3,7 @@
3
  /*
4
  * Plugin Name: Featured Image From URL
5
  * Description: Allows to use an external image as Featured Image of your post, page or Custom Post Type, such as WooCommerce Product (supports Product Gallery also).
6
- * Version: 1.4.8
7
  * Author: Marcel Jacques Machado
8
  * Author URI: http://marceljm.com/wordpress/featured-image-from-url-premium/
9
  */
3
  /*
4
  * Plugin Name: Featured Image From URL
5
  * Description: Allows to use an external image as Featured Image of your post, page or Custom Post Type, such as WooCommerce Product (supports Product Gallery also).
6
+ * Version: 1.4.9
7
  * Author: Marcel Jacques Machado
8
  * Author URI: http://marceljm.com/wordpress/featured-image-from-url-premium/
9
  */
readme.txt CHANGED
@@ -275,6 +275,9 @@ was removed. To finish, a Premium version is now been presented.
275
  = 1.4.8 =
276
  * Bug fix.
277
 
 
 
 
278
  == Upgrade Notice ==
279
 
280
  = 1.0 =
@@ -376,3 +379,6 @@ was removed. To finish, a Premium version is now been presented.
376
 
377
  = 1.4.8 =
378
  * Bug fix.
 
 
 
275
  = 1.4.8 =
276
  * Bug fix.
277
 
278
+ = 1.4.9 =
279
+ * Add information about theme compatibility.
280
+
281
  == Upgrade Notice ==
282
 
283
  = 1.0 =
379
 
380
  = 1.4.8 =
381
  * Bug fix.
382
+
383
+ = 1.4.9 =
384
+ * Add information about theme compatibility.