• Resolved physixfan

    (@physixfan)


    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

    (@physixfan)

    OK. Never mind. This question is actually already answered in this thread: https://www.ads-software.com/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 7 years, 11 months ago by physixfan.

    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.