Skip to the content
Start free

The share image address is not a full address

og:image is written as a relative path, but apps that build previews need the full https address of the picture.

Medium priority Titles, descriptions and sharing

Why it matters #

Share crawlers fetch the image on their own, away from your page, so they cannot always work out a relative path such as "/images/photo.jpg". The Open Graph protocol expects a full address, and Facebook and X document og:image as an absolute address.

An address on plain http may also be refused or shown with a warning, because the apps load it inside a secure page.

How to fix it #

Write the image address in full, starting with https:// and your host name, for example https://www.example.co.uk/images/share.jpg.

On WordPress, check the Site Address in Settings, General starts with https://. SEO plugins build og:image from it. Then check the page with the Open Graph Checker.

What it looks like, and fixed #

The problem
<meta property="og:image" content="/images/green-tea-gifts.jpg">
<meta property="og:image" content="http://www.example.com/images/green-tea-gifts.jpg">

A relative path, and an address on plain http. Preview crawlers need the full https address.

Fixed
<meta property="og:image" content="https://www.example.com/images/green-tea-gifts.jpg">

The full address: https://, the host name and the path.

Fix it with your AI assistant #

Paste this into ChatGPT, Claude, Gemini or your coding agent. Fill in the words in [square brackets] first. It checks before it changes anything, changes only this, and tells you how to prove it worked.

Your instruction for the AI
The og:image on [the page address] of my website [your website address], built with [your platform, e.g. a hand-made HTML site], is a relative path or uses plain http. First read the page source, or ask me to paste the og: and twitter: image tags, and tell me each value and what is wrong with it. Check the https address really loads an image first. Then rewrite each image tag (og:image, og:image:secure_url and twitter:image if present) as the full https address, such as https://www.example.com/images/share.jpg. If the cause is a site address setting or a template that builds the path, fix it there so every page is right, and tell me which setting. Rules: back up first, change only these image addresses, do not move or rename the image files, keep page addresses the same, and do not add duplicate tags. Give me the exact code or setting and where it goes. Then tell me to re-check with the URSY.com Open Graph Checker at ursy.com/open-graph-checker/.

We find the problems, and help you fix them

  1. Check Run a free tool or the full audit.
  2. Fix it with your AI Download your AI Fix Pack and drop it into ChatGPT, Claude or Gemini. A free account is enough.
  3. Re-check Come back, check again, and watch each fix turn green.

How the AI Fix Pack works, with a sample to download

Fix it on your platform #

WordPress

Check the WordPress Address and Site Address in Settings, General start with https://. SEO plugins build og:image from them. A hand-written path in a theme or plugin needs the full address instead.

Shopify

Shopify image addresses often start with // rather than https://. If the theme social meta snippet prints one like that, put https: in front of it, or ask your theme developer.

A hand-made site

Write the address in full, starting with https:// and your host name.

Check it is fixed #

Run the URSY.com Open Graph Checker again: og:image should be a full https address and the preview should show the picture.

Official source #

Open Graph protocol

Questions #

Relative links work everywhere else on my site. Why not here?

Preview crawlers fetch the image on its own, away from your page, and the Open Graph protocol expects a full address. Inside your pages, browsers know the base address.

Is http enough if the image loads?

No. Apps show previews inside secure pages, and they may refuse or warn about an image on plain http.

More problems in Titles, descriptions and sharing

See every problem in the library

For AI assistants and developers: Instructions for AI · Developers · How to cite URSY.com