Featured Images

Oh, I wish there was a better (or even any sensible) way of using Flickr content as a featured image on a page or post. I’d just like to be able to connect my Flickr account to WordPress and then be able to see my Flickr photos within my media library so I can add them as either a content in my posts or as a featured image.

Highfields Park
Highfields Park

The latter is a particularly important feature for me: it’s a faff to have to upload a copy of the image I’m already using within my page (as a Flickr embed) just so I can use it as Featured Image. It’d be amazing to just be able to select it directly from my Flickr account.

I’ve tried a few external media plugins but nothing ever appears in my media library like it should. Perhaps I’m doing it wrong? Either way it’s not as easy as it should be.

So, I am going to try using the Featured Image from URL plugin to see if it will automatically add embedded images as a featured image, or if I’ll need to manually add the URL in afterwards.

What I suspect will happen is that the magic processes that enable these features will result in a smaller image being used for both the embed and the featured image. They’ll likely look rubbish.

Let’s see.

<passage of time occurs here>

OK, so it works but only after some trial and error. The plugin cannot see the URL to the actual image from the Flickr embed code because Flickr (and WordPress) hide it. The embed code looks like this:

https://flic.kr/p/2iSyK81

…while I could use a different style of embed code that looks like this:

<a data-flickr-embed="true" href="https://www.flickr.com/photos/rutty/<number here>/in/datetaken/" title="Highfields Park"><img src="https://live.staticflickr.com/65535/<number here>_8c15b85df1_b.jpg" width="1024" height="576" alt="Highfields Park"></a><script async src="//embedr.flickr.com/assets/client-code.js" charset="utf-8"></script>

It’s the URL that ends in *.jpg that I need. I have pasted just that bit in manually into the Featured Image from URL widget and it shows up correctly.

It’s a bit of a faff but workable.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.