If our crawler cannot find images for indexing from your web page, you can replace the default placeholder thumbnail image with your own image.

Instructions

To define your own placeholder image, add the following CSS rule to your website’s stylesheet:

span.main-image.noimage {
  background-image: url("https://www.yourdomain.com/yourimage.png") !important;
  background-repeat: no-repeat !important;
  background-size: contain !important;
}

or this one if you prefer inlined image (png), encoded in base64:

span.main-image.noimage {
  background-image: "url('data:image/png;base64,your-encoded-image')" !important;
  background-repeat: no-repeat !important;
  background-size: contain !important;
}

Was this helpful?

Need more help?

We’re always happy to help with code or other questions you might have. Search our documentation, contact support, or connect with our sales team.