{"id":29234,"date":"2014-05-02T07:17:39","date_gmt":"2014-05-02T07:17:39","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/external-featured-image\/"},"modified":"2016-11-23T12:01:40","modified_gmt":"2016-11-23T12:01:40","slug":"external-featured-image","status":"closed","type":"plugin","link":"https:\/\/it.wordpress.org\/plugins\/external-featured-image\/","author":13050289,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.4.5","stable_tag":"1.4.5","tested":"4.3.34","requires":"3.3","requires_php":"","requires_plugins":"","header_name":"Nelio External Featured Image (discontinued)","header_author":"Nelio Software","header_description":"","assets_banners_color":"947a5f","last_updated":"2017-11-28 19:00:53","external_support_url":"","external_repository_url":"","donate_link":"http:\/\/bit.ly\/nelio-efi-donate","header_plugin_uri":"http:\/\/neliosoftware.com","header_author_uri":"","rating":4.4,"author_block_rating":0,"active_installs":400,"downloads":68238,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","faq","changelog"],"tags":[],"upgrade_notice":{"1.4.5":"<p>Notice added.<\/p>"},"ratings":{"1":"6","2":"3","3":"3","4":"3","5":"52"},"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":"973816","resolution":"128x128","location":"assets"},"icon-196x196.png":{"filename":"icon-196x196.png","revision":"973816","resolution":"196x196","location":"assets"},"icon-24x24.png":{"filename":"icon-24x24.png","revision":"973816","resolution":"24x24","location":"assets"},"icon-256x256.png":{"filename":"icon-256x256.png","revision":"973816","resolution":"256x256","location":"assets"},"icon-32x32.png":{"filename":"icon-32x32.png","revision":"973816","resolution":"32x32","location":"assets"},"icon-48x48.png":{"filename":"icon-48x48.png","revision":"973816","resolution":"48x48","location":"assets"},"icon-64x64.png":{"filename":"icon-64x64.png","revision":"973816","resolution":"64x64","location":"assets"},"icon-96x96.png":{"filename":"icon-96x96.png","revision":"973816","resolution":"96x96","location":"assets"},"icon.svg":{"filename":"icon.svg","revision":"973816","resolution":"","location":"assets"}},"assets_banners":{"banner-772x250.png":{"filename":"banner-772x250.png","revision":"910401","resolution":"772x250","location":"assets"}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0.0","1.0.1","1.0.2","1.0.3","1.0.4","1.0.5","1.0.6","1.0.7","1.0.8","1.0.9","1.1.0","1.2.0","1.2.1","1.3.2","1.4.0","1.4.1","1.4.2","1.4.3","1.4.4","1.4.5"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":"910574","resolution":"1","location":"assets"}},"screenshots":{"1":"<strong>External Featured Image with URL.<\/strong> Easily set the featured image of a\npost by using the image's URL only!"},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[1920,838,1795,3846,538],"plugin_category":[50],"plugin_contributors":[79609,79608],"plugin_business_model":[],"class_list":["post-29234","plugin","type-plugin","status-closed","hentry","plugin_tags-external","plugin_tags-featured","plugin_tags-featured-image","plugin_tags-featured-images","plugin_tags-url","plugin_category-media","plugin_contributors-davilera","plugin_contributors-nelio","plugin_committers-davilera","plugin_committers-nelio"],"banners":[],"icons":{"svg":"https:\/\/ps.w.org\/external-featured-image\/assets\/icon.svg?rev=973816","icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/external-featured-image_947a5f.svg","icon_2x":false,"generated":true},"screenshots":[{"src":"https:\/\/ps.w.org\/external-featured-image\/assets\/screenshot-1.png?rev=910574","caption":"<strong>External Featured Image with URL.<\/strong> Easily set the featured image of a\npost by using the image's URL only!"}],"raw_content":"<!--section=description-->\n<blockquote>\n  <p><strong>Important Notice<\/strong><\/p>\n  \n  <p>This plugin has been re-implemented from scratch and merged into <a href=\"https:\/\/wordpress.org\/plugins\/nelio-content\">Nelio\n  Content<\/a>. If you're interested\n  in using external featured images in your blog and receiving updates and\n  support, please install Nelio Content.<\/p>\n  \n  <p><strong>Upgrade<\/strong><\/p>\n  \n  <p>If you're already a user of Nelio External Featured Images, simply replace it\n  with Nelio Content; it implements a better external featured image engine and\n  it's completely compatible with Nelio External Featured Image. Please keep in\n  mind that Nelio External Featured Images is now discontinued and will receive\n  no more updates; new features and support are available in Nelio Content only.<\/p>\n<\/blockquote>\n\n<p>Are you using an external service for storing your images? Then you'd probably\nlike to use those images as featured images for your pages and posts. This\nplugin lets you do this easily!<\/p>\n\n<p>And even better! If you don't specify any featured image, the plugin will use\nthe first image available in the post.<\/p>\n\n<h4>Related Plugins by Nelio<\/h4>\n\n<ul>\n<li><a href=\"https:\/\/neliosoftware.com\/content\/?fp=wordpress.org\">Nelio Content<\/a> |\n<a href=\"https:\/\/wordpress.org\/plugins\/nelio-content\/\">Download<\/a><\/li>\n<li><a href=\"https:\/\/nelioabtesting.com\/?fp=wordpress.org\">Nelio A\/B Testing<\/a> |\n<a href=\"https:\/\/wordpress.org\/plugins\/nelio-ab-testing\/\">Download<\/a><\/li>\n<li>Nelio Featured Posts |\n<a href=\"https:\/\/wordpress.org\/plugins\/nelio-featured-posts\/\">Download<\/a><\/li>\n<li>Nelio Related Posts |\n<a href=\"https:\/\/wordpress.org\/plugins\/nelio-related-posts\/\">Download<\/a><\/li>\n<\/ul>\n\n<p><em>Featured image by\n<a href=\"https:\/\/www.flickr.com\/photos\/cubmundo\/6748759375\">Cubmundo<\/a><\/em><\/p>\n\n<!--section=faq-->\n<dl>\n<dt>What's the difference between Nelio Content and Nelio External Featured Images?<\/dt>\n<dd><p>Nelio Content is a plugin aimed at helping blog owners run their blog. It's\ngoal is to assist your work with the blog and, therefore, it features an\neditorial calendar, support for sharing content on social media, and so on.<\/p>\n\n<p>Nelio External Featured Images was designed with the solely purpose of setting\nexternal featured images in your posts. Whilst this plugin served its purpose\nquite well, there were several scenarios in which it simply didn't work.<\/p>\n\n<p>We believe external featured images are very helpful to all users. Therefore,\nwe decided to integrate this plugin's functionality into Nelio Content. However,\nwe didn't simply \"duplicate\" the code from one plugin to the other; we\nreimplemented the functionality from scratch and made it compatible with more\nthemes.<\/p><\/dd>\n<dt>I'm already using Nelio External Featured Images. Do I need to install Nelio Content?<\/dt>\n<dd><p>No, you don't need to install Nelio Content to keep using the plugin. However,\nNelio External Featured Images is now discontinued, and we strongly recommend\nyou to replace it with Nelio Content. We've implemented several improvements\nin Nelio Content and made it compatible with multiple themes, including\nNewspaper, Newsmag, and Enfold.<\/p><\/dd>\n<dt>Will you support this plugin?<\/dt>\n<dd><p>As already stated in the plugin's description, Nelio External Featured Image\nis now discontinued. However, <strong>all its functionality is available in Nelio\nContent<\/strong>, so you can use Nelio Content to get our support and updates.<\/p><\/dd>\n<dt>How does the plugin work?<\/dt>\n<dd><p>Every time an image is uploaded in the media library, WordPress automatically\ncreates alternative versions of that image, each with a different size\n(thumbnail, medium, large and full).  Themes may then choose among these\ndifferent versions when displaying the an image in a post.<\/p>\n\n<p>Thumbnails do also exist for featured images, and themes may registerd their\nown alternative image sizes. For example, WordPress' default theme\nTwentyFourteen defines a thumbnail size called \"twentyfourteen-full-width\"\nwhose dimensions are 1038x576.<\/p>\n\n<p>This plugin uses the alternative-size information (which your theme uses for\nrendering a featured image) for scaling and cropping external featured images\nvia CSS on your users' browsers.<\/p>\n\n<p>There are some situations, however, in which this \"size\" information is not\nprovided. In these scenarios, our plugin relies on theme's CSS file. If the\nCSS rules define the width and height of the featured image, everything should\nbe fine. Otherwise, you may have to tweak something.<\/p><\/dd>\n<dt>I don't see external featured images. What do I do?<\/dt>\n<dd><p>Try adding the following CSS code in your theme:<\/p>\n\n<pre><code>img.nelioefi {\n  min-width:100px;\n  min-height:100px;\n}\n<\/code><\/pre>\n\n<p>and refresh your site. If you can see the external featured image, it means\nthat our plugin works properly, but some CSS tweaking was needed. Now, simply\nedit the CSS styles of your theme so that the featured image looks good\neverywhere (<code>width<\/code>, <code>height<\/code>, <code>max-width<\/code>, <code>max-height<\/code>).<\/p><\/dd>\n<dt>I added the CSS code you mention, but images do not appear yet.<\/dt>\n<dd><p>WordPress offers more than one function for inserting featured images.\nUnfortunately, only one of them has a filter we can use. If your theme is not\nusing the <code>(get_)the_post_thumbnail<\/code>, then our plugin will not be able to\ninsert external featured images.<\/p>\n\n<p>In these cases, the only solution is to tweak your theme and edit some PHP\ncode. Unfortunately, there's no generic solution for doing it. Just locate\nwhere featured images are being inserted, and edit those lines so that it uses\nthe previous function (if possible). Please note that the plugin also offers\nsome helper functions that will ease the \"tuning\" of the theme (check the file\nincludes\/nelio-efi-main.php to know them and review their documentation).<\/p><\/dd>\n<dt>How does the plugin find the first image linked in a post?<\/dt>\n<dd><p>If you don't specify any featured image, the plugin will use the first image\nincluded in your post. In order to find the image, it looks for <code>img<\/code> tags that\nlooks like the following:<\/p>\n\n<pre><code>&amp;lt;img src=\"image-url-here\" ... \/&amp;gt;\n<\/code><\/pre>\n\n<p>The <code>img<\/code> tag and the <code>src<\/code> attribute have to be \"together\". Otherwise, our\nplugin won't be able to find the featured image.<\/p><\/dd>\n<dt>I don't want to use the first image in a post as the featured image. How do I change this?<\/dt>\n<dd><p>That's quite easy. Simply add the following line in your theme's <code>functions.php<\/code> file:<\/p>\n\n<pre><code>add_filter( 'nelioefi_use_first_image', '__return_false' );\n<\/code><\/pre><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.4.5 (November 23, 2016)<\/h4>\n\n<ul>\n<li><strong>Notice Added<\/strong>. Adding a notice to the plugin to let our users know that this\nplugin is now discontinued and they should install Nelio Content instead. The\nnotice can be disabled using a new filter named\nnelioefi_recommend_nelio_content and returning <code>false<\/code>.<\/li>\n<\/ul>\n\n<h4>1.4.4 (April 21, 2016)<\/h4>\n\n<ul>\n<li><strong>Bug Fix<\/strong>. If there isn't any external featured image set and the post doesn't\ncontain any images, do not return an empty featured image.<\/li>\n<li><strong>Buf Fix<\/strong>. Auto-select first image in post, regardless of the quotation type\nused by the <code>img<\/code> (i.e. it works with both single and double quotes).<\/li>\n<li><strong>Improvement<\/strong>. Using the filter <code>the_content<\/code> for trying to obtain the\nfirst featured image, when (apparently) no image was included in the post.\nThis may occur, for example, when a plugin for converting links to images is\nused.<\/li>\n<li><strong>Notice Fix<\/strong>. Removed notice (thanks to <a href=\"https:\/\/wordpress.org\/support\/topic\/php-notice-after-update-to-143?replies=1\">Lars\nSchenk<\/a>).<\/li>\n<\/ul>\n\n<h4>1.4.3 (March 22, 2016)<\/h4>\n\n<ul>\n<li><strong>Improvement<\/strong>. The first image of your posts are now saved in a custom\nmeta. This way, selecting the first image as the featured image is much\nfaster and the workload is reduced. This meta's name is\nnelioefi_use_first_image.<\/li>\n<li><strong>Improvement<\/strong>. The previous meta is only used in the front end. This\nalso ensures that the Dashboard is not affected by the plugin.<\/li>\n<\/ul>\n\n<h4>1.4.2 (March 8, 2016)<\/h4>\n\n<ul>\n<li><strong>Fix<\/strong>. Using first image as the featured image automatically now works\nunder (hopefully) all circumstances. The previous version only worked if\nthe <code>img<\/code> tag and its <code>src<\/code> attribute were side by side. This is no longer\nrequried.<\/li>\n<\/ul>\n\n<h4>1.4.1 (January 28, 2016)<\/h4>\n\n<ul>\n<li><strong>Fix<\/strong>. Using first image as the featured image is now working properly.<\/li>\n<\/ul>\n\n<h4>1.4.0 (January 27, 2016)<\/h4>\n\n<ul>\n<li><strong>New Funcionality!<\/strong> By default, the plugin will use the first image that\nappears in the content of your posts if you didn't specify any external\nfeatured image. Note there's a new filter to change this behavior\n(<code>nelioefi_use_first_image<\/code>); you can read more about it in the FAQ section.<\/li>\n<\/ul>\n\n<h4>1.2.0<\/h4>\n\n<ul>\n<li>Bug fix: Quick Edit (and possibly other edits) a post removed the external\nfeatured image. This does no longer happen.<\/li>\n<li>External Featured Image is inserted using the <code>src<\/code> attribute of an <code>img<\/code> tag\nin RSS feeds (instead of an inline CSS <code>background<\/code> property).<\/li>\n<\/ul>\n\n<h4>1.1.0<\/h4>\n\n<ul>\n<li>Define the ALT attribute of your external featured images.<\/li>\n<\/ul>\n\n<h4>1.0.9<\/h4>\n\n<ul>\n<li>Added a new filter (\"nelioefi_post_meta_key\") that will let you define a\ncustom post_meta_key to store the URL of the external featured image.<\/li>\n<\/ul>\n\n<h4>1.0.8<\/h4>\n\n<ul>\n<li>Referencing our A\/B testing service for WordPress.<\/li>\n<\/ul>\n\n<h4>1.0.7<\/h4>\n\n<ul>\n<li>Added External Featured Image box for custom post types. If the custom\npost type's template uses featured image.<\/li>\n<li>Some helper functions have been introduced in the plugin, so that adapting\nthemes becomes easier.<\/li>\n<\/ul>\n\n<h4>1.0.6<\/h4>\n\n<ul>\n<li>Compatibility with the Genesis Framework. By default, external featured\nimages have a minimum size of 150x150px. Make sure you edit your CSS files\nfor proper image size.<\/li>\n<li>Some minor tweaks.<\/li>\n<\/ul>\n\n<h4>1.0.5<\/h4>\n\n<ul>\n<li>Bug fix. One function for locating external featured images was missplaced.\nI moved it to the proper file so that it loads when the user is not an admin.<\/li>\n<\/ul>\n\n<h4>1.0.4<\/h4>\n\n<ul>\n<li>Bug fix. You can now set regular featured images under all circumstances\n(thanks <em>rprose<\/em> for reporting the bug!).<\/li>\n<\/ul>\n\n<h4>1.0.3<\/h4>\n\n<ul>\n<li>Improved image sizing. Now, the plugin uses the sizes the theme defines and\ntries to scale and crop the external image for its proper display.<\/li>\n<\/ul>\n\n<h4>1.0.0<\/h4>\n\n<ul>\n<li>First release.<\/li>\n<\/ul>","raw_excerpt":"Download Nelio Content (a new implementation of this plugin) and use external\nimages from anywhere as the featured image of your pages and posts.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/it.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/29234","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/it.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/it.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/it.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=29234"}],"author":[{"embeddable":true,"href":"https:\/\/it.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/nelio"}],"wp:attachment":[{"href":"https:\/\/it.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=29234"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/it.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=29234"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/it.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=29234"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/it.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=29234"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/it.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=29234"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/it.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=29234"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}