Skip to content

[BUG]: OpenGraph image not displaying despite valid setup #1

@ramxcodes

Description

@ramxcodes

Issue Summary:
The OpenGraph image is not showing up when sharing URLs for / & other routes & /notes/[slug], even though:

  • The opengraph-image.png file-based tag exists at app dir root.
  • The opengraph-image.tsx implementation is present for /notes/[slug].
  • OpenGraph validators confirm that the image link/tag is valid and present.

Expected Behavior:
The OpenGraph image should be displayed when sharing the URL on platforms that support OpenGraph (e.g., social media sites).

Actual Behavior:
No OpenGraph image appears upon sharing, even though the validators say it is set up correctly.

Steps to Reproduce:

  1. Visit a /notes/[slug] page.
  2. Validate the OpenGraph image using online validators (shows valid).
  3. Share the URL on a platform (e.g., Twitter, Facebook, Discord) that uses OpenGraph.
  4. Observe that the image does not appear.

Additional Notes:

  • The tag and implementation seem correct.
  • Might be a caching, url, or deployment issue.
  • Other meta images work as expected.

Request:
Please investigate why the OpenGraph image is not displaying on shares, despite a valid setup and passing validators.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions