5

I'm trying to set a relative path to og:image metadata like this:

<meta name="og:image" content="/images/view.png">

On Sharing Debugger I have the following warning:

Inferred Property The 'og:image' property should be explicitly provided, even if a value can be inferred from other tags.

There is any way to use a relative path in Open Graph?

Hans Felix Ramos
  • 4,264
  • 3
  • 16
  • 40

1 Answers1

5

No, og:image won't work with a relative path.

More info here: https://stackoverflow.com/a/9858694/7068514

Andrew Losseff
  • 333
  • 5
  • 18
  • When an answer already exists, please close the question as a duplicate. Don't duplicate the answer (or link to it). – MrUpsidown Jul 04 '23 at 07:57