Title: Adding itemprop=&quot;image&quot;
Last modified: August 31, 2016

---

# Adding itemprop="image"

 *  [Flyhead](https://wordpress.org/support/users/bukers/)
 * (@bukers)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/adding-itempropimage/)
 * Hi,
    What should I do to add Schema markup for image in your theme?

Viewing 3 replies - 1 through 3 (of 3 total)

 *  [bdbrown](https://wordpress.org/support/users/bdbrown/)
 * (@bdbrown)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/adding-itempropimage/#post-7156026)
 * Hi Flyhead. Maybe this?
    [https://www.longren.io/add-schema-org-markup-to-any-wordpress-theme/](https://www.longren.io/add-schema-org-markup-to-any-wordpress-theme/)
 *  Thread Starter [Flyhead](https://wordpress.org/support/users/bukers/)
 * (@bukers)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/adding-itempropimage/#post-7156033)
 * That seems to be a solution for individual posts. I am thinking of a way to do
   it in a template or script file do that can bring about a universal adaptation
   for all existing and new posts. Or are you suggesting I can adapt that for any
   particular theme template by using another <div> to bracket an image? Which template
   file are you thinking of?
 * Before your answer, I have been fiddling with templates and post-types files 
   but couldn’t quite get it. There is a solution for making use of the second array
   variable in the_post_thumbnail function, but the Hueman theme uses the Responsive
   Lightbox plugin to regenerate all post images so that original WordPress function
   has been quite dramatically modified and extended. I am clueless now.
 *  [bdbrown](https://wordpress.org/support/users/bdbrown/)
 * (@bdbrown)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/adding-itempropimage/#post-7156035)
 * > Or are you suggesting I can adapt that for any particular theme template by
   > using another <div> to bracket an image?
 * Wasn’t suggesting anything in particular; just passing on a reference.
 * > the Hueman theme uses the Responsive Lightbox plugin
 * Only if you install and activate the plugin.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Adding itemprop="image"’ is closed to new replies.

 * ![](https://i0.wp.com/themes.svn.wordpress.org/hueman/3.7.27/screenshot.png)
 * Hueman
 * [Support Threads](https://wordpress.org/support/theme/hueman/)
 * [Active Topics](https://wordpress.org/support/theme/hueman/active/)
 * [Unresolved Topics](https://wordpress.org/support/theme/hueman/unresolved/)
 * [Reviews](https://wordpress.org/support/theme/hueman/reviews/)

## Tags

 * [schema markup](https://wordpress.org/support/topic-tag/schema-markup/)

 * 3 replies
 * 2 participants
 * Last reply from: [bdbrown](https://wordpress.org/support/users/bdbrown/)
 * Last activity: [10 years, 2 months ago](https://wordpress.org/support/topic/adding-itempropimage/#post-7156035)
 * Status: not resolved