Title: Image Object Height/Width Errors
Last modified: December 18, 2017

---

# Image Object Height/Width Errors

 *  [rhinogroup](https://wordpress.org/support/users/rhinogroup/)
 * (@rhinogroup)
 * [8 years, 5 months ago](https://wordpress.org/support/topic/image-object-height-width-errors/)
 * Looks like google requires that when the height or width is used in an ImageObject
   that it have the unit attached to it as well. At least thats the error i am getting
   when validating an article via the structured data testing tool. I was getting
   an invalid value error when it did not have px on the end of the value. I edited
   the plugin to manually add in px values on the end and resubmitted to google 
   and google structured data tool now see no issue with these pages.
 * UPDATE: Though I look at their documentation on this and it looks like they don’t
   actually need the unit. Possible bug in their structured data testing tool.
    -  This topic was modified 8 years, 5 months ago by [rhinogroup](https://wordpress.org/support/users/rhinogroup/).

The topic ‘Image Object Height/Width Errors’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wp-seo-structured-data-schema_7889a1.
   svg)
 * [WP SEO Structured Data Schema](https://wordpress.org/plugins/wp-seo-structured-data-schema/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-seo-structured-data-schema/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-seo-structured-data-schema/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-seo-structured-data-schema/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-seo-structured-data-schema/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-seo-structured-data-schema/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [rhinogroup](https://wordpress.org/support/users/rhinogroup/)
 * Last activity: [8 years, 5 months ago](https://wordpress.org/support/topic/image-object-height-width-errors/)
 * Status: not resolved