Missing thumbnail image while sharing link on facebook

facebook
Read Time:1 Minute, 28 Second

facebookWhy is the thumbnail pictures from my website does not show up on Facebook?

The easiest way to check is to copy the URL of one of your images and post it on your wall. If it does not show,the problem could be because of one or more of the following reasons:

 

#1 File Naming:

It seems Facebook does not like the image url having space in between their file name. So just make sure you avoid them:

Eg:

https://www.deepesh.com.np/images/my image.jpg might not work while

https://www.deepesh.com.np/images/my-image.jpg just works pretty well.

Tip: Replace the ‘spaces‘ with either a dash‘ or an underscore_‘ (ofcourse without those quotes)

 

#2 Hotlink Protection:

You might have purposely/unknowingly enabled the HotLink protection on your hosting account. This forbits Facebook crawler to make a list of images for you to choose from on the FB post you are making. The easiest workout is to either

A. add FB’s domain as URLs to allow access or,

B. disable HotLink protection altogether

Tip: for cPanel users, check this one out.

 

Still does not work? Showing a wrong default image? Looking for workaround?

In case you are not satisfied with the default image Facebook it picks up, you can force the FB to select a custom picture for its thumbnail image. The workaround is to create a meta tag, and place it inside the <header> enclosure.

{codecitation class=”brush: html”}<meta property=”og:image” content=”https://deepesh.com.np/image.jpg”/>{/codecitation}

Where the “https://deepesh.com.np/image.jpg” part point to your default thumbnail picture to show up on Facebook.

Good luck!

Happy
Happy
0 %
Sad
Sad
0 %
Excited
Excited
0 %
Sleepy
Sleepy
0 %
Angry
Angry
0 %
Surprise
Surprise
0 %