• Resolved dev

    (@devksec)


    Hello,

    All of the product images for our woocommerce online store have image objects which the ID of the image is #primary image, instead of the image URL.

    Google merchant center reportedly only reads the “id”. which means we cannot list our products there due to it interpreting the “image_url” as the page URL. Google support have asked to ensure the “id” contains the image URL not “https://URL/#primaryimage”

    For example:

    image
    type
    ImageObject
    id
    https://URL/product/#primaryimage
    inLanguage
    en-GB
    url
    https://cdn.URL.co.uk/Bundle-v2768x768.jpg

    Any help would be much appreciated !

Viewing 12 replies - 1 through 12 (of 12 total)
  • We are sorry to hear that you’re having trouble with our plugin. Can you please confirm how can we test the relevant issue on our end so that we can investigate the issue further for you?

    In addition, please share the relevant product page where the issue remains occurring for you so that we can see what’s going on.

    We look forward to hearing from you.

    Thread Starter dev

    (@devksec)

    Hello,

    An example product would be:
    https://cyborg.ksecsolutions.com/product/sparrows-spool-pins-cut-away-lock/

    You can check the schema within the page or use the google structured data tool.

    Thanks for sharing the relevant product page URL here with us. We know how to test the schema markup using the Google Structured Data Testing Tool but in your case, it quite won’t work. We see the Google Structured Data Testing Tool isn’t showing any warnings or errors for having the #primaryimage ID with the image URLs.

    In this case, can you please confirm where exactly can we test this to see the relevant error? Or is there documentation where Google confirms this so that we can talk about this internally to see whether this is something that can be improved on our plugin?

    We look forward to hearing from you.

    Thread Starter dev

    (@devksec)

    Indeed its a strange issue.

    The exact error in the google merchant store is “Invalid image encoding [image link]” this is due to it being the page URL rather than an image.

    This is the support page:
    https://support.google.com/merchants/answer/6183365?hl=en

    Thanks for sharing the relevant information with us. It looks like we already have a feature request open in our development repository to add support for the Google Merchant link_image attribute as Yoast SEO generated schema markup currently isn’t compatible with how Google Merchant crawls and extracts the products images. So, once the relevant feature is implemented in our plugin, it shall resolve the issue for everyone.

    Thread Starter dev

    (@devksec)

    Glad to hear a fix is in the works but is there a work around for the time being ?

    Is there a link/way to keep up to date with this feature release and when is it scheduled to be resolved ?

    Unfortunately, we don’t have any workaround available at this moment for the issue that you’re currently experiencing. However, if you’re familiar with PHP customization, you can play with the Yoast SEO Schema API to customize it based on our needs.

    On the other hand, the relevant feature request is currently in our private development repository and as such, you won’t be able to see the progress of the relevant report either.

    Thread Starter dev

    (@devksec)

    Ok so I have a workaround for anyone else having the same issue.

    Within the Google merchant center, you can create custom feed rules to automatically change the image URL when the products are processed.

    Create a rule to change the “image link” attribute from your feed to the “additional Image link”.

    The rule should look something like:

    If COMPANY Crawl.image link [Autoselected] contains 'webserver.com' ›
    Set to: COMPANY Crawl.additional image link
    If image link has no value yet › Apply default rule: Take from: COMPANY Crawl

    We have a CDN so use this rule to check if the image URL contains the web server or CDN. This can be changed to check for a different host like above or the lack of .png, #primaryimage etc.

    @devksec Thanks for posting the workaround you created.

    We are going ahead and marking this issue as resolved due to inactivity. If you require any further assistance please create a new issue.

    Thread Starter dev

    (@devksec)

    Shouldnt this be closed off once its fixed ?

    @devksec As there is an open request for this with our developers that is what remains open, as that is ultimately the resolution of the issue. The forum thread is only for support purposes, which we consider to be resolved either once the problem has been found/corrected. If it is something that needs to be addressed on our side, such as in the case of a feature request or bug report, we then ensure that that request is opened with our developers, and at that point the support thread itself is then closed.

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

The topic ‘Product Schema Image object ID #primaryimage’ is closed to new replies.