Skip to content
This repository has been archived by the owner on Mar 11, 2024. It is now read-only.

OG: image source maybe problematic + work around #23

Open
dogoodbenice opened this issue May 2, 2021 · 0 comments
Open

OG: image source maybe problematic + work around #23

dogoodbenice opened this issue May 2, 2021 · 0 comments

Comments

@dogoodbenice
Copy link

dogoodbenice commented May 2, 2021

Hi there,

I think the OG:image is working but the source image is inaccessible. This maybe perhaps due to hosting it on Netlify but currently social preview sites can't pick this up. I have a work around below:

  1. Here is bonnevile as is, you can see that the image card is not picked up:
    https://socialsharepreview.com/?url=https://bonneville.netlify.app/
    Screenshot 2021-05-02 at 14 15 29

  2. The tag is defined correctly though
    Screenshot 2021-05-02 at 14 15 44

  3. My work around was to use the known location of an image e.g. below
    Screenshot 2021-05-02 at 14 16 09

  4. Here is how I defined it

Screenshot 2021-05-02 at 14 16 40

  1. Social sharing result using my work around (ratio isn't quite right by the image has been found)
    Screenshot 2021-05-02 at 14 21 46

  2. End result side by side comparison. Or with all of them here: https://www.opengraph.xyz/url/https:%2F%2Fwww.logikblok.com%2F/ vs https://www.opengraph.xyz/url/https:%2F%2Fbonneville.netlify.app%2F/
    Screenshot 2021-05-02 at 14 22 07

Hope that's all clear, again could be just Netlify being problematic to serve the image.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant