You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
og:image is generated on each news article dynamically,
it should allocate the URL of the image like this:
when generating the metadata's image of an opengraph, if the image is already a URL (because I'm storing the direct URL of the image of an article) then put it directly to it as it is url: post.image
, otherwise, add the current hostname of the page like this: url : hostname + "/api/og?image" + post.image
The text was updated successfully, but these errors were encountered:
it should allocate the URL of the image like this:
when generating the metadata's image of an opengraph, if the image is already a URL (because I'm storing the direct URL of the image of an article) then put it directly to it as it is
url: post.image
, otherwise, add the current hostname of the page like this:
url : hostname + "/api/og?image" + post.image
The text was updated successfully, but these errors were encountered: