How to set a default featured image in knowledge base?
  • 29 Nov 2022
  • 1 Minute to read
  • Contributors
  • Dark
    Light
  • PDF

How to set a default featured image in knowledge base?

  • Dark
    Light
  • PDF

In Document360, you can add a specific featured image for each article. Sometimes you could have missed adding a featured image. However, if you share the article on social media (such as Facebook, Twitter, LinkedIn, etc.,) without a featured image, then it may pick a random image available in the article. These random images do not make a good thumbnail for your articles often.

If you set a default featured image, it will be shared as the thumbnail for any articles that do not have a featured image. The featured image you want to add must be available on the web. If it is available on your local device, you can upload it to the Drive and utilize the image URL. Follow the below steps to set a default featured image for the articles in your knowledge base project.


Solution

19_Screenshot-Default_featured_image

  1. Go to SettingsKnowledge base siteIntegrationsNew Integration
  2. Select Custom HTML
  3. Type in a description for the integration and ensure that Header is selected
  4. Paste the below snippet in the Header section
<meta property="og:image" content="Image_URL" /> 
<meta property="og:image:secure_url" content="Image_URL" /> 
  1. In the above snippet, replace the text "Image_URL" with the URL of your default featured image

Sample URL: https://cdn.document360.io/8*****dd1/Images/Documentation/default_fi.png

  1. Ensure that the STATUS is enabled
  2. Click Add

Was this article helpful?