Schmea for images on Google

  • Hi,
    i sell photos with the Woocommerce Store, unfortunately my images are not shown as licensable images on Google. Can I somehow use RankMath to customize the appropriate metadata for Google (License, acquireLicensePage) in the schema markup.
    A snippet or something similar would be great, thanks!

Viewing 1 replies (of 1 total)
  • Hello,

    Thank you for getting in touch and I am extremely sorry about the trouble this might have caused.

    For images to be shown as licensable on Google you will need to add the Image License markup to your pages. You can use the guideline by Google here: then customize the following filter to add this markup and finally add the customized filter to your theme functions.php file:

     * Collect data to output in JSON-LD.
     * @param array  $unsigned An array of data to output in json-ld.
     * @param JsonLD $unsigned JsonLD instance.
    add_filter( 'rank_math/json_ld', function( $data, $jsonld ) {
    	return [];
    }, 99, 2);

    Hope that helps and please do not hesitate to let us know if you need our assistance with anything else.


    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 1 replies (of 1 total)

The ticket ‘Schmea for images on Google’ is closed to new replies.