WordPress.org

Plugin Directory

Nelio External Featured Image

Use external images from anywhere as the featured image of your pages and posts.

How does the plugin work?

Every time an image is uploaded in the media library, WordPress automatically creates alternative versions of that image, each with a different size (thumbnail, medium, large and full). Themes may then choose among these different versions when displaying the an image in a post.

Thumbnails do also exist for featured images, and themes may registerd their own alternative image sizes. For example, WordPress' default theme TwentyFourteen defines a thumbnail size called "twentyfourteen-full-width" whose dimensions are 1038x576.

Update with version 1.3. With this version, NelioEFI now uses a transparent Placeholder. The Placeholder is automatically set as the featured images of any posts that use an external featured image. Then, using JavaScript, NelioEFI detects which images are using the Placeholder and adds a CSS property for displaying the actual featured image (as a background property of the image placeholder).

Some (or all) posts do not show the featured image, even though it seems to be there. How can I fix it?

Some themes do not insert the featured image using an img tag, but they use other tags (such as a div) and use CSS properties for specifying the URL of the image. In order to overcome this issue, NelioEFI offers a filter that lets you specify the elements that might define the featured image in a CSS rule.

Let's assume that featured images might appear in div or a elements. Simply add the following function in your functions.php file:

add_filter( 'nelioefi_background_elements', 'nelioefi_fix_bg_elems' );
function nelioefi_fix_bg_elems( $elems ) {
    // DIV and A elements are relevant,
    // so we add them to the $elems array:
    array_push( $elems, 'div', 'a' );
    return $elems;
}

Requires: 3.3 or higher
Compatible up to: 4.1.6
Last Updated: 2015-7-31
Active Installs: 4,000+

Ratings

4.6 out of 5 stars

Support

22 of 33 support threads in the last two months have been resolved.

Got something to say? Need help?

Compatibility

+
=
Not enough data

0 people say it works.
0 people say it's broken.

100,1,1
100,1,1
0,1,0
100,1,1
100,1,1
100,1,1 100,1,1
100,1,1