Facebook Social images not showing when using CDN

#866329
  • Resolved Oakland County Moms
    Rank Math free

    We’ve recently started using a CDN to serve all of our images, which are also now in the cloud and no longer on our server.

    Now when sharing to Facebook, none of the images are shown.

    We are using Rank Math for social through opengraph info.

    What do we have to do to have the images show up on Facebook?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hello,

    We apologize for the issue you are facing with Facebook not displaying your social images after switching to a CDN. Here are some steps you can take to resolve this issue:

    1. Check Open Graph Tags: Ensure that the Open Graph tags are correctly set up on your pages. You can verify this by using the Facebook Sharing Debugger. This tool will show you what Facebook sees when it tries to scrape your page.

    2. Image Accessibility: Make sure that the images hosted on your CDN are publicly accessible. If the images are restricted or require authentication, Facebook will not be able to access them.

    3. Image Format and Dimensions: Confirm that the images meet Facebook’s requirements. The recommended image size is 1200px X 630px, and supported formats include JPEG, PNG, GIF, WebP, and AVIF. If your images do not meet these criteria, they may not display correctly.

    4. Cache and Minification: If you are using caching or minification plugins, ensure that they are not interfering with the loading of your Open Graph tags. Sometimes, these plugins can push the Open Graph tags down in the source code, making them inaccessible to Facebook’s crawler. You may need to adjust your settings or clear your cache.

    5. Gzip Compression: If you have gzip compression enabled in your caching plugin, try disabling it. This setting can sometimes conflict with Facebook’s ability to read Open Graph tags.

    6. Scrape Again: After making any changes, go back to the Facebook Sharing Debugger and click on the Scrape Again button to refresh Facebook’s cache of your page.

    If you’ve gone through these steps and the issue persists, please reply to this ticket, and a human agent from the Rank Math Support team will assist you further.

    Thank you for raising this concern!

    Sources:
    Open Graph/Social Preview Image Is Not Displayed » Rank Math

    Hello,

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

    Could you please share any affected page URLs with us so that we can check the issue further for you?

    Looking forward to helping you.

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

The ticket ‘Facebook Social images not showing when using CDN’ is closed to new replies.