How to Solve value for the image field is required on Structured Data Testing Tool

Solve value for the image field is required

Your getting Warning from Structured Data Testing Tool that value for the image field is required . This blog post will cover all your Structured Data Testing Tool.

Let’s see how to fix value for the image field is required.

How To Fix value for the image field is required

“A value for the image field is required” 
 
Follow this steps to solve value for the image field is required error.
  1. Log into your Blogger Dashboard.
  2.  Click Theme.
  3. Click  Edit HTML.

A value for the image field is required

  • Search the word data:post.firstImageUrl.  And you will see the line

<b:if cond=’data:post.firstImageUrl’>

     <meta expr:content=’data:post.firstImageUrl’ itemprop=’image_url’/>

</b:if>

  • Replace by the below code

<div itemprop=’image’ itemscope=’itemscope’ itemtype=’https://schema.org/ImageObject’>

      <b:if cond=’data:post.firstImageUrl’>

        <img style=’display:none;’ expr:src=’data:post.firstImageUrl’ alt=’Textual description of firstImageUrl’/>

        <meta itemprop=’image’ expr:content=’data:post.firstImageUrl’/>

      </b:if>

      <meta itemprop=’width’ content=’800’/> <!–Images should be at least 696 pixels wide.–>

      <meta itemprop=’height’ content=’800’/>

</div>

  • Once you replace it Click on Save Button and Check again in Structured Data Testing Tool now your issue will be solved
Now this will solve your A value for the image field is required.
 
Check out other Issues Related with Structured Data Testing Tool

Leave a Comment

close
error: Content is protected !!
Free Udemy Courses and Hacking Resources Join Us on TelegramClick Here
+