Dear Support – First off, thanks for building a great product. I checked the forums but couldnt find this issue reported earlier hence opening a ticket.
We have a feature where our members can write blog posts (and set featured images) from our wordpress front-end. All these posts are saved in a Custom Post Types. We are using rankmath to generate all Open Graph tags & we are facing an issue with facebook. For most of the posts, the facebook image is correctly generated in Open Graph image tag generated by Rankmath but in some cases, the image generated is not post image but the default image configured in Rankmath (Rankmath -> Titles & Meta -> Global Meta -> Open Graph Thumbnail. The default image is supposed to be used only if there is no post image.
Here is a post where og:image is generated correctly by Rankmath – https://os.me/short-stories/perfect-piano-teacher/
Here are two posts where og:image is defaulting to the Global Meta even though post has an image –
We are not sure why in most cases Rankmath og:image tag is generated correctly while in few cases, it misses the image & starts using the default image. Can you please explain?
The ticket ‘og:image tag using default image and not post image’ is closed to new replies.