Set Thumbnail Images for your Web Pages
When people submit stories from your blog on to social sites like Digg or Facebook, they also have to choose a thumbnail image that should go along with that link. These thumbnails are often generated automatically from pictures that are found in the corresponding web page or blog post.
Giving choice to the story submitter is good but can sometimes lead to irrelevant or even humorous choice of thumbnails. To prevent this, you can actually decide (or force) the exact thumbnail image that should be displayed next to your stories that either shared on Digg or Facebook.
To put your choice of thumbnail, simply to include an additional
<link> tag in the
<head> portion of your blog template that points to the URL of the appropriate thumbnail image as shown here.
<meta name="title" content="Digital Inspiration" /> <meta name="description" content="Technology and Software Blog" /> <link rel="image_src" href="https://www.labnol.org/screenshot.png" />
You may already have the
<meta> description tag in your blog template but make sure that you also add the
<meta> title tag for blog thumbnails to work. The
<meta> title can have the same value as the actual
<title> tag of your web pages.
Google Developer Expert, Google Cloud Champion
Amit Agarwal is a Google Developer Expert in Google Workspace and Google Apps Script. He holds an engineering degree in Computer Science (I.I.T.) and is the first professional blogger in India.