SOME social media not picking up featured image (solved -- user error!)

I’ve been wrestling with this for some time, so would appreciate any insights.

Facebook and Threads do not pick up the featured image from a post. Instead, they try to use the site’s header image, which gets cropped and looks horrible.

Blue Sky and Mastadon, on the other hand, grab the featured image just fine.

Thoughts?

Is there any correlation with type of image?

Hang on… didn’t we have this conversation like six months ago?

Bruce, your HTML is invalid. You’ve got a div (and an outdated center) tag sitting up above the head tag. divs aren’t valid except inside a body. The very first element after the html tag needs to be the head tag, and you should move that adplugg chunk to down into the body.

Is that to blame? I’m not sure, but my reading says that FB is fussy about valid html.

Hmm. I’ve checked source code on two different pages, and don’t see anything at all above the head tag except the tag.

I’ll keep looking.

You’re viewing with view source, not inspect, right? Ctrl U.

It’s there in your front page article with the picture of the crowd.

Here’s what I see when I view source on the home page:

<!doctype html>
<html lang='en' class=' is-darkModeAdminSetting-enabled '>

<head>
  <meta charset='utf-8'>
  <title>Forward Kentucky</title>
  <meta name='viewport' content='width=device-width, initial-scale=1.0'>

I do know the segment you’re talking about (the ad thing). I’ll try moving that tomorrow and see if it makes a difference. (Or, I may remove it completely.)

Will keep you posted. And yes, we worked on this a while back, and I thought it was fixed. Got to deal with it; makes for a REALLY UGLY social media post. :slight_smile:

Never mind – I was viewing the page as a member, so the ad code isn’t activated. Will fix.

1 Like

It’s a long time since I used facebook but back then I always had to run links through their “debugger” to make them come out looking nice.

In current time I know i.e. Substack is a drag for link sharing (wasn’t always like that) cause they want you to do everything inside their platform and not stray.

1 Like

Cathy’s catch was the problem. I had inadvertently put some ad code within the head section. And, I couldn’t see it because I was doing “reveal page source” while logged in, and the ad code was only for non-members.

I’m hopeful that this takes care of the problem!

2 Likes