=== Plugin Name ===
Contributors: marceljm
Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=8BLDLZ3HDBGQG
Tags: featured image, external featured image, featured image from url, url featured image, featured, image, external, url, flickr, s3, picasa, woocommerce, product image, product gallery, product, gallery, column, list, page, post, all, content, custom, type, custom post type, category, video, external video, youtube, featured video, hover, effects, hover effects, sirv, wp all import, css, style, slider, thumbnail, social, network, wp all import
Requires at least: 4.0
Tested up to: 4.7.3
Stable tag: 4.7.3
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

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).

== Description ==

Features:

* allows you to use an external image (from Flickr, Picasa, Amazon S3, anywhere etc) as Featured Image of your post, page and Custom Post Type, such as WooCommerce Product;

* it's also possible to use external images in the WooCommerce Product Gallery and WooCommerce Product Category;

* when you access "All Posts", "All Pages", "Products" or "Product Categories" in admin menu, the Featured Images (internal or external) are shown in a new column;

* if your theme didn't show Featured Image (internal or external) in Posts, Pages or Products, it's possible to include that at the beginning of the content automatically;

* all included content still has social tags to facilitate sharing on social networks;

* compatible with WP All Import plugin ("Import Products from any XML or CSV to WooCommerce");

* compatible with Sirv CDN & Image Manager plugin ("Instantly resize and deliver perfectly optimized images to your website").

*WooCommerce compatibility: 2.4.X and 2.5.X.*

**Premium Version:**

All functionalities created for external images are now available for **external videos** (from YouTube), everything in one plugin. 

And you still can: 

* use **external thumbnails** from Flickr to make your site really faster;

* use a **slider** of images as featured image;

* apply your own **CSS style** or **<a href="http://marceljm.com/wordpress/featured-image-from-url-premium/#hover">18 hover effects</a>** to the images;

Click <a href="http://marceljm.com/wordpress/featured-image-from-url-premium/" targe="_blank">here</a> to know more.
	
*WooCommerce compatibility: 2.6.X. and later.*

**<a href="http://fifu.marceljm.com/">Live Preview</a>**

[youtube https://www.youtube.com/watch?v=LuynS-Y-fZs]

== Installation ==

1. Install automatically or by uploading the ZIP file. 
1. Activate the plugin through the 'Plugins' menu in WordPress.
1. The plugin settings will be in the left column, between 'Appearance' and 'Collapse menu' icons.
1. And a new box will be shown immediately below or above the traditional "Featured Image" box, in the page/post/product editor.

== Frequently Asked Questions ==

= Where are the "Featured Image From URL" box? =

* It will be immediately below or above the traditional "Featured Image" box, in the page/post/product editor.

= What's the URL field? =

* There you should paste the image URL. For example: http://marceljm.com/wp-content/uploads/logo.png

= What's the preview button? =

* This button will show you a preview of the external image.

= Why don't I see the image preview? =

* Because your URL is invalid. 

= What's the "alt attribute" field? =

* There you can write a short description of the image. It is optional for pages and posts, but required for products.

= What's the "Remove external featured image" link? =

* It's used to remove the external image.

= What happens if I have two featured images (internal and external)? =

* The external image has priority in this case and the internal image won't be shown.

= Why aren't the external images showing in my site? =

* Because your theme is nonstandard. For US$ 50,00, I can analyse your theme code and make the required changes.

= How to integrate WooCommerce and Featured Image From URL? =

* There is a toggle (on/off) in Featured Image From URL settings. When enabled, a shell script is executed to overwrite some code lines from WooCommerce plugin. Otherwise, the changes are undone.

= What happens to the WooCommerce plugin if I deactivate Featured Image From URL? =

* When the plugin is deactivated, all the changes done by Featured Image From URL in WooCommerce code are undone.

= Why WooCommerce integration isn't working/possible? =

* Because the integration script just work on a Linux server or you are using an incompatible WooCommerce version. 

= Which WooCommerce versions are supported by Featured Image From URL?

* The Free version supports 2.4.X and 2.5.X while the Premium version supports 2.6.X and later.

= Why aren't my external images in WooCommerce Product Gallery being saved? =

* Because you are not filling the alt attribute field. It's required by WooCommerce.

= When accessing "All Pages", "All Posts", "Products" or "Product Categories" in admin menu, how can I enable or disable "Featured Image" column? =

* Just click on "Screen Options", and check or uncheck "Featured Image".

= How to show the Featured Image (internal or external) at the beginning of the content of a Post, Page or Product? =

* There is a toggle (on/off) in Featured Image From URL settings. This functionality was added to attend some themes that didn't show the Featured Image before the content of Posts, Pages or Products.

= How to use Featured Image From URL with my Custom Post Types? =

* There are some text fields in Featured Image From URL settings. For now you can define there until 5 Custom Post Types. Just type the correct names and click on Submit button.

= How to show an external featured image on WooCommerce Product Category page? =

* An "External Featured Image" box will be shown when you create/edit a Product Category. Depending on your theme, you must enable "WooCommerce Full Integration" on Featured Image From URL settings.

== Screenshots ==

1. This plugin allows you to use an external image as Featured Image of your pages. Just fill the URL field with the image address and click on preview button.

2. If the URL is correct, the image preview will be shown. Then you can define the image title, filling the ALT field.

3. The external image will be displayed on your page.

4. The external image will be displayed when someone shares your page on social networks.

5. The external image will be displayed in the list of Pages.

6. Besides that, this plugin allows you to use an external image as Featured Image of your posts. Just fill the URL field with the image address and click on preview button.

7. If the URL is correct, the image preview will be shown. Then you can define the image title, filling the ALT field.

8. The external image will be displayed in your post gallery.

9. The external image will be displayed in your post.

10. The external image will be displayed when someone shares your post on social networks.

11. The external image will be displayed in the list of Posts.

12. Moreover, you can integrate this plugin to WooCommerce. Just access Featured Image From URL settings and enable that. Then a shell script will be executed to overwrite some code lines from WooCommerce plugin. But don't worry about that, because moving the toggle to off will undone the changes. Unfortunatelly, the integration requires your site be running in a Linux server. So, if the toggle didn't appear, it's because your server uses a different system.

13. Now you can use an external image as Featured Image of your WooCommerce products. Just fill the URL field with the image address and click on preview button.

14. If the URL is correct, the image preview will be shown. Then you can define the image title, filling the ALT field.

15. It's also possible to use external images in the WooCommerce Product Gallery. Fill an URL field with the image address and click on preview button.

16. If the URL is correct, the image preview will be shown. Then you must define the image title, filling the ALT field.

17. And if you have more images, just fill the others URL fields with the image address and click on preview button.

18. If the URL is correct, the image preview will be shown. Then you must define the image title, filling the ALT field.

19. The external images will be displayed on your product.

20. The same effects of the internal featured image will work for your external featured image.

21. The same effects of internal images will work for your external images in the product gallery.

22. The external image will be displayed in the list of Products.

== Changelog ==

= 1.0 =
* It's the first and only version so far.

= 1.0.1 =
* The help link in admin menu was wrong. It's fixed now.

= 1.0.2 =
* Now it's possible to use an external image as Featured Image of your WooCommerce products.

= 1.1 =
* Now it's possible to use external images in the WooCommerce Product Gallery (since your site is hosted on a Linux server).

= 1.1.1 =
* Now, when you access "All Posts", "All Pages" or "Products" in admin menu, the Featured Images (internal or external) are shown in a new column.

= 1.1.2 =
* Menu toggles weren't been shown on Firefox. Fixed!

= 1.1.3 =
* If your theme don't show Featured Image (internal or external) in Posts, Pages or Products, now it's possible to include that at the beginning of the content automatically.

= 1.1.4 =
* Now it's possible to use external images as Featured Images of your Custom Post Types. On the menu settings, you can define for now until 5 Custom Post Types.

= 1.1.5 =
* Now it's possible to use an external image as Featured Image of your WooCommerce Product Category. Then an "External Featured Image" box will be shown when you create/edit a Product Category. Depending on your theme, you must enable "WooCommerce Full Integration" on Featured Image From URL settings.

= 1.2 =
* It was included a Featured Image column in Product Categories. Moreover, it was fixed a problem with a toggle (Featured Image in Content) that didn't appear in Firefox. And another toggle, for backlink,
was removed. To finish, a Premium version is now been presented.

= 1.2.1 =
* Readme fixed.

= 1.2.2 =
* Bug fixed.

= 1.2.3 =
* Bug fixed in WooCommerce Product Category.

= 1.2.4 =
* It's possible to hide the plugin meta boxes now. 

= 1.2.5 =
* All the "PHP Notices" shown on "debug.log" file were resolved. So the log will be completely clean.

= 1.3 =
* The plugin should be compatible with any theme now.

= 1.3.1 =
* Bug fixes.

= 1.3.2 =
* Bug fixes.

= 1.3.3 =
* Bug fixes.

= 1.3.4 =
* Bug fixes.

= 1.3.5 =
* Bug fixes.

= 1.3.6 =
* Bug fixes and hover effect presentation.

= 1.3.7 =
* Links and contact info updated.

= 1.3.8 =
* WooCommerce compatibility notice and showcase links.

= 1.3.9 =
* The last toggle wasn't shown in Firefox. Fixed.

= 1.4.0 =
* Compatibility with Sirv CDN & Image Manager plugin.

= 1.4.2 =
* CSS style.

= 1.4.3 =
* Full integration with Sirv plugin.

= 1.4.4 =
* Bug fixes.

= 1.4.5 =
* Add External Featured Image Slider.

= 1.4.6 =
* Bug fixes.

= 1.4.7 =
* Flickr integration advertisement.

= 1.4.8 =
* Bug fix.

= 1.4.9 =
* Add information about theme compatibility.

= 1.5.0 =
* Social tags toggle.

== Upgrade Notice ==

= 1.0 =
* No upgraded yet.

= 1.0.1 =
* The help link in admin menu was wrong. It's fixed now.

= 1.0.2 =
* Now it's possible to use an external image as Featured Image of your WooCommerce products.

= 1.1 =
* Now it's possible to use until 10 external images in the WooCommerce Product Gallery (since your site is hosted on a Linux server). Go to Featured Image From URL settings to enable that.

= 1.1.1 =
* Now, when you access "All Posts", "All Pages" or "Products" in admin menu, the Featured Images (internal or external) are shown in a new column. Moreover, now it's possible to use until 10 external images in the WooCommerce Product Gallery (since your site is hosted on a Linux server). Go to Featured Image From URL settings to enable that.

= 1.1.2 =
* Menu toggles weren't been shown on Firefox. Fixed!

= 1.1.3 =
* If your theme don't show Featured Image (internal or external) in Posts, Pages or Products, now it's possible to include that at the beginning of the content automatically.

= 1.1.4 =
* Now it's possible to use external images as Featured Images of your Custom Post Types. On the menu settings, you can define for now until 5 Custom Post Types.

= 1.1.5 =
* Now it's possible to use an external image as Featured Image of your WooCommerce Product Category. Then an "External Featured Image" box will be shown when you create/edit a Product Category. Depending on your theme, you must enable "WooCommerce Full Integration" on Featured Image From URL settings.

= 1.2 =
* It was included a Featured Image column in Product Categories. Moreover, it was fixed a problem with a toggle (Featured Image in Content) that didn't appear in Firefox. And another toggle, for backlink,
was removed. To finish, a Premium version is now been presented.

= 1.2.1 =
* Readme fixed.

= 1.2.2 =
* Bug fixed.

= 1.2.3 =
* Bug fixed in WooCommerce Product Category.

= 1.2.4 =
* It's possible to hide the plugin meta boxes now.

= 1.2.5 =
* All the "PHP Notices" shown on "debug.log" file were resolved. So the log will be completely clean.

= 1.3 =
* The plugin should be compatible with any theme now.

= 1.3.1 =
* Bug fixes.

= 1.3.2 =
* Bug fixes.

= 1.3.3 =
* Bug fixes.

= 1.3.4 =
* Bug fixes.

= 1.3.5 =
* Bug fixes.

= 1.3.6 =
* Bug fixes and hover effect presentation.

= 1.3.7 =
* Links and contact info updated.

= 1.3.8 =
* WooCommerce compatibility notice and showcase links.

= 1.3.9 =
* The last toggle wasn't shown in Firefox. Fixed.

= 1.4.0 =
* Compatibility with Sirv CDN & Image Manager plugin.

= 1.4.2 =
* CSS style.

= 1.4.3 =
* Full integration with Sirv plugin.

= 1.4.4 =
* Bug fixes.

= 1.4.5 =
* Add External Featured Image Slider.

= 1.4.6 =
* Bug fixes.

= 1.4.7 =
* Flickr integration advertisement.

= 1.4.8 =
* Bug fix.

= 1.4.9 =
* Add information about theme compatibility.

= 1.5.0 =
* Social tags toggle.
