Facebook share dialogue box showing wrong image

So I got this issue with my latest project Rumah Lelong. It’s all good with other pages, my only problem is at the home page (index.php).

I am not sure if this is the right fix, but it works for me:

1. I check it with the linter.

2. Then noticed that it wants the open graph og:url and also mention semething wrong with og:image such as “Provided og:image is not big enough. Please use an image that’s at least 200×200 px.”. I am very sure the image is more than 200×200.

3. I changed og:image from jpg to png.

4. Then add parameter to xxx.png?a=b (just a dummy parameter so that FB will re-cache).

Then I got the right image shows up in the share dialogue box. Hope this help you too.

Dear fellow Malaysians, if you like the content of this blog and thinking about to support me to continue writing good content, please consider to sign up for Takaful service from me. I am offering life & accidental coverage plans and medical card too. Kindly message me using the PM box on the sidebar (under profile picture). Thanks ;)

Leave a Reply

Your email address will not be published. Required fields are marked *