Skip to content

Clean up image sharing sizes to render on LinkedIn #514

@thibaudcolas

Description

@thibaudcolas

Our social media sharing image metadata seems to not be set up properly.

Example post: OLED and dark websites = lower footprint ✨. The source image is 1600x900.

  • The Twitter image is 400px. I’m not clear why we would be using a different social image just for that network. If we keep the meta tag, we probably should use the same image rendition as og:image.
  • The OpenGraph image is 1114 x 627, as it’s rendered with width-1200 height-627. This is below the LinkedIn recommended minimum of 1200x627

I believe the problem here is there shouldn’t be two width- and height- tags in use. Images with an aspect ratio squarer than the recommended 1.91:1 will be resized below the minimum size.

  • width-1200 takes the 1600x900 image to 1200x675
  • height-627 takes the 1200x675 to 1114x627

Instead we probably want the min or fill filters.

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions