Title: Image Height/Width Errors in Google Structured Data Testing Tool
Last modified: April 10, 2017

---

# Image Height/Width Errors in Google Structured Data Testing Tool

 *  Resolved [physixfan](https://wordpress.org/support/users/physixfan/)
 * (@physixfan)
 * [9 years, 2 months ago](https://wordpress.org/support/topic/image-heightwidth-errors-in-google-structured-data-testing-tool/)
 * When I use your plugin and check Google Structured Data Testing Tool, I see the
   following errors/warnings:
    “The attribute logo.height has an invalid value.”“
   The attribute logo.width has an invalid value.” “The attribute image.width has
   an invalid value.”
 * I looked into this, and I found that if I change
    `"width":288,"height":184` 
   into `"width":"288","height":"184"` Then the errors are gone.
 * Please fix it, thanks!

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

 *  Thread Starter [physixfan](https://wordpress.org/support/users/physixfan/)
 * (@physixfan)
 * [9 years, 2 months ago](https://wordpress.org/support/topic/image-heightwidth-errors-in-google-structured-data-testing-tool/#post-9013959)
 * OK. Never mind. This question is actually already answered in this thread: [https://wordpress.org/support/topic/attribute-logo-invalid-values-for-heightwidth-missing-quotes/](https://wordpress.org/support/topic/attribute-logo-invalid-values-for-heightwidth-missing-quotes/)
 * > Logos should have a wide aspect ratio, not a square icon.
   >  Logos should be 
   > no wider than 600px, and no taller than 60px. Always retain the original aspect
   > ratio of the logo when resizing. Ideally, logos are exactly 60px tall with 
   > width <= 600px. If maintaining a height of 60px would cause the width to exceed
   > 600px, downscale the logo to exactly 600px wide and reduce the height accordingly
   > below 60px to maintain the original aspect ratio.
    -  This reply was modified 9 years, 2 months ago by [physixfan](https://wordpress.org/support/users/physixfan/).
 *  [HoussenMoshine](https://wordpress.org/support/users/houssenmoshine/)
 * (@houssenmoshine)
 * [9 years, 2 months ago](https://wordpress.org/support/topic/image-heightwidth-errors-in-google-structured-data-testing-tool/#post-9014485)
 * Hi, I have the same problem with the Image Object. My publisher logo work, but
   the Image Object show missing Height/Width. All my image’s post have a minimum
   width of 696 px, but it continue to show errors on Snippets Tool.
 * Morover, if i use a another plugin to test the Blogposting, it work perfectly.
   So the problem is with this plugin.

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

The topic ‘Image Height/Width Errors in Google Structured Data Testing Tool’ is 
closed to new replies.

 * ![](https://ps.w.org/yet-another-stars-rating/assets/icon-256x256.png?rev=1525329)
 * [YASR - Yet Another Star Rating Plugin for WordPress](https://wordpress.org/plugins/yet-another-stars-rating/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/yet-another-stars-rating/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/yet-another-stars-rating/)
 * [Active Topics](https://wordpress.org/support/plugin/yet-another-stars-rating/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/yet-another-stars-rating/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/yet-another-stars-rating/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [HoussenMoshine](https://wordpress.org/support/users/houssenmoshine/)
 * Last activity: [9 years, 2 months ago](https://wordpress.org/support/topic/image-heightwidth-errors-in-google-structured-data-testing-tool/#post-9014485)
 * Status: resolved