Title: Attribute logo invalid values for height width (missing quotes!)
Last modified: August 31, 2016

---

# Attribute logo invalid values for height width (missing quotes!)

 *  Resolved [Erik Molenaar](https://wordpress.org/support/users/erikmolenaar/)
 * (@erikmolenaar)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/attribute-logo-invalid-values-for-heightwidth-missing-quotes/)
 * Hello there!
 * I think I found a bug in v1.2.7 of your plugin.
 * The attribute values Height and Width of the logo have no quotes (“) wrapped 
   around them, thus leading to ‘invalid values’ in Google Structured Data Testing
   Tool.
 * type: BlogPosting > Publisher > Logo [ImageObject] >
 * Height: The attribute logo.height has an invalid value.
    Width: The attribute
   logo.width has an invalid value.
 * Please check out: [http://screencast.com/t/7Ea2KpnJL](http://screencast.com/t/7Ea2KpnJL)
 * I hope you can fix this in a future update, would be great to improve the plugin!
   Thanks and keep up the good work 🙂
 * [https://wordpress.org/plugins/yet-another-stars-rating/](https://wordpress.org/plugins/yet-another-stars-rating/)

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

 *  Plugin Contributor [dudo](https://wordpress.org/support/users/dudo/)
 * (@dudo)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/attribute-logo-invalid-values-for-heightwidth-missing-quotes/#post-7299585)
 * Uhm, I really don’t think this is a Yasr bug:
 * Looking the json doc and example ( here for example [https://developers.google.com/structured-data/rich-snippets/articles?hl=it#examples](https://developers.google.com/structured-data/rich-snippets/articles?hl=it#examples))
   the height and width value doesn’t use the quotation marks ( ” )
 * In the same screenshoot, later, in Image -> [ImageObject] there isn’t the ” too
   but there is no error with it.
 * I’ve tested it adding the quotation marks, it show no error but it also add the
   attribute “Intangible” to the value, that is not what we want.
 * The google doc linked above instead, says:
    ** 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.
 * Just tested with an image with this attribute and doesn’t show any error, even
   without the quotation marks.
 * Best,
    Dario
 *  Thread Starter [Erik Molenaar](https://wordpress.org/support/users/erikmolenaar/)
 * (@erikmolenaar)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/attribute-logo-invalid-values-for-heightwidth-missing-quotes/#post-7299590)
 * Dear Dario,
 * Thanks for the prompt reply.
 * You are right, if I use a logo which is exactly 600px in width en 60px in height
   there are no more errors.
 * I find it strange why Google is so picky that the logo has to be exactly this
   size, and it won’t resize on their behalf…?

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

The topic ‘Attribute logo invalid values for height width (missing quotes!)’ 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: [Erik Molenaar](https://wordpress.org/support/users/erikmolenaar/)
 * Last activity: [10 years, 1 month ago](https://wordpress.org/support/topic/attribute-logo-invalid-values-for-heightwidth-missing-quotes/#post-7299590)
 * Status: resolved