# How do I change the og:image of the homepage?

**URL:** <https://forum.ghost.org/t/how-do-i-change-the-og-image-of-the-homepage/32051>\
**Category:** Themes\
**Created:** [August 16, 2022, 7:30pm UTC](https://forum.ghost.org/t/how-do-i-change-the-og-image-of-the-homepage/32051 "2022-08-16T19:30:22Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![merit](https://avatars.discourse-cdn.com/v4/letter/m/74df32/32.png) [@merit](https://forum.ghost.org/u/merit)\
**Post date:** [August 16, 2022, 7:30pm UTC](https://forum.ghost.org/t/how-do-i-change-the-og-image-of-the-homepage/32051/1 "2022-08-16T19:30:22Z")

</div>

I want to change the og:image for the homepage to be different than my publication background image.

I altered the casper theme to have a meta tag with the image I wanted, which worked for many websites, however on ios I ran into a problem: when I add a meta tag, there are two meta tags, and ios splits the preview image evenly between the two og images.

I saw this, [Change og:image](https://forum.ghost.org/t/change-og-image/7915), which says, “you can change the code of the casper theme to use a different image instead of the site cover image,” however I don’t think that solves this problem.

I also tried using javascript to alter the metadata, however it is scraped before the javascript takes effect.

Does anyone have a solution?

---

<div class="post-metadata">

**Author:** ![RyanF](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/ryanf/32/17448_2.png) [@RyanF](https://forum.ghost.org/u/RyanF)\
**Post date:** [August 16, 2022, 8:01pm UTC](https://forum.ghost.org/t/how-do-i-change-the-og-image-of-the-homepage/32051/2 "2022-08-16T20:01:24Z")

</div>

You can update the `og:image` by uploading an image for the **Facebook card** , under **Settings** → **General**. (Facebook uses OG data under the hood.)

You can’t really alter your theme for to change a site’s metadata, as this is generated automatically by Ghost.

---

<div class="post-metadata">

**Author:** ![merit](https://avatars.discourse-cdn.com/v4/letter/m/74df32/32.png) [@merit](https://forum.ghost.org/u/merit)\
**Post date:** [August 16, 2022, 8:41pm UTC](https://forum.ghost.org/t/how-do-i-change-the-og-image-of-the-homepage/32051/3 "2022-08-16T20:41:54Z")

</div>

Thank you very much! I think there should be a note somewhere in the settings that admins can change the meta og:image by uploading to the Facebook card.
