Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Social Graph: What's app image preview max size is 300KB #38

Open
ponsfrilus opened this issue Dec 16, 2021 · 0 comments
Open

Social Graph: What's app image preview max size is 300KB #38

ponsfrilus opened this issue Dec 16, 2021 · 0 comments
Labels
enhancement New feature or request

Comments

@ponsfrilus
Copy link
Member

ponsfrilus commented Dec 16, 2021

While Facebook allow up to 8 Mo (https://developers.facebook.com/docs/sharing/webmasters/images/#images-in-link-shares), it seems that What's app only displays thumbnail previews for images up to 300 KB.

The home page image is ~800 KB.

When a link preview uses the default image, it works fine because it is ~146 KB.

Here what the preview looks like on What's app web:
image

Here an example with an image:
image

Here an example with the default image:
image

Why this issue?

The code that generate the social graph metas can be changed to use the same image but in a different size, as most of our site generate optimized size of the same image. If available, the preview should use images lesser than 300 KB to ensure that the preview will be displayed on What's app.

@ponsfrilus ponsfrilus added the enhancement New feature or request label Dec 16, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant