PRODUCT IMAGE

#14555
  • Resolved Andrea
    Rank Math free

    Hello, product image is not visible in any of our product results.
    Many thanks and once again thanks for your great plugin!

    • This topic was modified 4 years, 7 months ago by Andrea.
Viewing 9 replies - 1 through 9 (of 9 total)
  • Hello,

    Thank you for contacting Rank Math and sorry for any inconvenience that might have been caused due to that.

    I have just tested the URL on the structured data testing tool and the image property is available with a valid URL as shown below:
    IMG

    Looking forward to helping you. Thank you.

    ​​​​​​​

    Andrea
    Rank Math free

    Hello again and thanks for your chack and quick response. So if everything is fine why is not showing like all other almost 100 products? Many thanks

    Hello,

    Thank you for the follow up.

    It is recommended to use images that are at least 160×90 pixels and at most 1920×1080 pixels on your schema data. The image on the affected link is 1500×2858 px.

    I can suggest that you resize the images to fix this.

    Hope that helps. If you have any further question(s), please let us know. Thank you.

    Andrea
    Rank Math free

    Thank you Michael, I will try like you suggested. Please note that we have different size images (also in the range you suggested) but NONE of the are showed in the google result. Could it be related to other reasons?
    Thanks!

    Hello,

    Thanks for the question.

    It is entirely up to Google to control how the rich snippets will be displayed and thus I can suggest that you give this a bit of more time.

    Hope that helps. If you have any further question(s), please let us know. Thank you.

    Andrea
    Rank Math free

    Hello Michael,
    waiting for Google to show up the correct snippet, we take the occasion to ask 2 more questions related:
    1) images are shown in mobile and not in desktop
    2) some other sites have in the snippet the image squared, others the correct ratio. How can we manage tHat? in particular we would like to cut the squared in a partizcular part of the product to show the title, so where can we upload this squared image and tell our site to use it ONLY for snippet and not for woocommerce page?

    Thanks!

    Hello,

    Thanks for getting back to us.

    It is difficult to predict the behavior of the Google algorithms but here are some more guidelines for assigning images to your schema:

    – Ratio aspect should not be greater than 3.0
    – Use either .jpg, .png, or. gif format
    – Images must be crawlable and indexable
    – Use high-resolution images (minimum of 800K pixels when multiplying width and height)
    – Provide multiple images for each of the following aspect ratios: 16×9, 4×3, and 1×1
    – Images must be relevant to content
    – Images should clearly show the product (against a white background if possible)

    It is also possible to customize the product schema data. You can use a custom field plugin to assign the custom schema image to your products and then pass this value to the snippet by hooking in to the following filter:

    /**
     * Filter to Short-circuit Schema if a 3rd party is interested in generating their own data.
     * Replace $schmea_type with schema name like article, review, etc.
     * @param array $entity Snippet Data
     * @return array
     */
    add_filter( "rank_math/snippet/rich_snippet_{$schema_type}", function( $entity ) {
     return $entity;
    });

    I hope this info helps. Thank you.

    Andrea
    Rank Math free

    Hello Michael and thanks for your reply.

    When you said ‘Provide multiple images for each of the following aspect ratios: 16×9, 4×3, and 1×1’ you meant to put them in single product image and if yes how can we tell the system to chose one instead of another in the snippet?

    About product customization, where should we put that code you suggested? Can you please advice a plugin or similar to do it more user friendly without code?

    Thanks

    Hello,

    Thanks for getting back to us.

    The code should be added to your theme’s functions.php file.
    You can use the above filter to assign a custom image url to the $entity[‘image’][‘url’]. I am not aware of any plugin that offers this particular functionality but I can suggest that you get in touch with a freelancer so that they can help with this.

    Thank you.

    Hello,

    Since we did not hear back from you for 15 days, we are assuming that you found the solution. We are closing this support ticket.

    If you still need assistance or any other help, please feel free to open a new support ticket, and we will be more than happy to assist.

    Thank you.

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

The ticket ‘PRODUCT IMAGE’ is closed to new replies.