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

Fix meta tags for thumbnail image display #1197

Open
popovayoana opened this issue Jun 20, 2024 · 1 comment
Open

Fix meta tags for thumbnail image display #1197

popovayoana opened this issue Jun 20, 2024 · 1 comment

Comments

@popovayoana
Copy link
Member

popovayoana commented Jun 20, 2024

Description

Thumbnail images for links shared from https://datahub.io/ and its subpages (e.g., https://datahub.io/blog, https://datahub.io/docs etc) are not displaying correctly when shared. This is tested on social media (LinkedIn, Twitter) and Google Chat. We need to ensure that the appropriate meta tags are correctly implemented on our web pages to support proper thumbnail display on any platform.

Expected Behavior

When a link from https://datahub.io/, any of its subpages (e.g., https://datahub.io/docs, https://datahub.io/opensource), including all blog pages (e.g., https://datahub.io/blog/how-to-configure-datahub-cloud-site), is shared on any platform, the corresponding thumbnail image should display correctly. The thumbnail image should be visually appealing and representative of the content of the linked page.

Image specs:

Verify the image meets the following requirements:

  • Format: JPEG, PNG, or GIF
  • Size: at least 1200 x 627 pixels for LinkedIn and GChat; at least 800 x 418 pixels for Twitter
  • Aspect ratio: 1.91:1 for LinkedIn and GChat; 2:1 for Twitter
  • File size: under 5 MB

Screenshots

Linkedin

datahub.io
image

datahub.io/blog
image

Twitter

image

Gchat

image

@olayway
Copy link
Member

olayway commented Jul 5, 2024

When a link from https://datahub.io/, any of its subpages (e.g., https://datahub.io/docs, https://datahub.io/opensource), including all blog pages (e.g., https://datahub.io/blog/how-to-configure-datahub-cloud-site), is shared on any platform, the corresponding thumbnail image should display correctly. The thumbnail image should be visually appealing and representative of the content of the linked page.

@popovayoana I don't think including separate thumbnails for /blog and /docs is a good idea. These pages are not representative enough, and even if they were, they still refer to the same product - and that product imo should be shown on the thumbnail. But I think we do want to have separate thumbnails for /enterprise and /opensource.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: 🏗 In progress
Development

No branches or pull requests

4 participants