Add External Featured Images to WordPress Posts

Nelio External Featured Image WordPress

WordPress allows us to upload a featured image to posts.

By default, these featured images must be hosted on your site’s server. However, what happens if you want to use an image located outside your site? Luckily, there is a plugin for that purpose.

In this short tutorial, I’m going to show you how to choose a remotely-hosted featured image with the Nelio External Featured Image plugin.

Step #1. Install Nelio External Featured Image plugin

  • Login to your WordPress site.
  • Go to Plugins > Add new and search for “Nelio External Featured Image”.
  • Click “Install Now” and activate the plugin.
Nelio External Featured Image WordPress

Step #2. Add an external featured image to your post

Create or edit a post. You will notice above the regular Featured image section there is a new block named “External Featured Image”, where you can simply paste in the full URL of a jpg, png or gif file:

Nelio External Featured Image WordPress

Save the changes when you’re done.

Step #3. End result

Click on “Preview changes” button to see how the featured image looks:

Nelio External Featured Image WordPress

Note: the image is added as background inside the <img/> tag that would render the regular featured image. If the external featured image is not visible, it may require you to add custom CSS to define the width and height for it. For example:

{codecitation css}.wp-post-image {
    width: auto;
    height: 300px;
}{/codecitation}

Hopefully this tutorial helps you. Click here you need to make sure every post has a featured image.

Author

  • Valentin Garcia

    Valentin discovered Joomla in 2010, and since then he has considered it as the best CMS. Valentin has been coding extensions and templates for Joomla for many years and truly enjoys helping people build their own websites with Open Source tools. He lives in San Julián, Jalisco, México.

    View all posts
0 0 votes
Article Rating
Subscribe
Notify of
guest

0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x