# Edit social media preview images

**URL:** <https://discourse.jupyter.org/t/edit-social-media-preview-images/1185>\
**Category:** Admin requests\
**Created:** [May 25, 2019, 4:34pm UTC](https://discourse.jupyter.org/t/edit-social-media-preview-images/1185 "2019-05-25T16:34:54Z")\
**Posts on this page:** 18\
**Page:** 1

<div class="post-metadata">

**Author:** ![betatim](https://yyz1.discourse-cdn.com/flex031/user_avatar/discourse.jupyter.org/betatim/32/10_2.png) [@betatim](https://discourse.jupyter.org/u/betatim)\
**Post date:** [May 25, 2019, 4:34pm UTC](https://discourse.jupyter.org/t/edit-social-media-preview-images/1185/1 "2019-05-25T16:34:54Z")

</div>

Is it possible to configure what image is used in a social media preview of a topic? Either in general/site-wide way or even better on a topic level?

This came up here: [https://twitter.com/parente/status/1132322757516115968](https://twitter.com/parente/status/1132322757516115968) via @parente

---

<div class="post-metadata">

**Author:** ![choldgraf](https://yyz1.discourse-cdn.com/flex031/user_avatar/discourse.jupyter.org/choldgraf/32/1264_2.png) [@choldgraf](https://discourse.jupyter.org/u/choldgraf)\
**Post date:** [May 25, 2019, 4:44pm UTC](https://discourse.jupyter.org/t/edit-social-media-preview-images/1185/2 "2019-05-25T16:44:33Z")

</div>

I will look into it!

---

<div class="post-metadata">

**Author:** ![choldgraf](https://yyz1.discourse-cdn.com/flex031/user_avatar/discourse.jupyter.org/choldgraf/32/1264_2.png) [@choldgraf](https://discourse.jupyter.org/u/choldgraf)\
**Post date:** [May 25, 2019, 4:46pm UTC](https://discourse.jupyter.org/t/edit-social-media-preview-images/1185/3 "2019-05-25T16:46:36Z")

</div>

I don’t know that it’s possible per post…but maybe site wide. Will do some googling

---

<div class="post-metadata">

**Author:** ![choldgraf](https://yyz1.discourse-cdn.com/flex031/user_avatar/discourse.jupyter.org/choldgraf/32/1264_2.png) [@choldgraf](https://discourse.jupyter.org/u/choldgraf)\
**Post date:** [May 26, 2019, 9:39pm UTC](https://discourse.jupyter.org/t/edit-social-media-preview-images/1185/4 "2019-05-26T21:39:49Z")

</div>

Hmmm, I still haven’t figured out a way to change that preview image. I was able to set the “large background” image on twitter, but that isn’t the square image you were talking about here :-/

---

<div class="post-metadata">

**Author:** ![betatim](https://yyz1.discourse-cdn.com/flex031/user_avatar/discourse.jupyter.org/betatim/32/10_2.png) [@betatim](https://discourse.jupyter.org/u/betatim)\
**Post date:** [May 27, 2019, 4:58am UTC](https://discourse.jupyter.org/t/edit-social-media-preview-images/1185/5 "2019-05-27T04:58:31Z")

</div>

:-/

Thanks for looking into it. Should we wait a bit for @consideRatio to come back from his holiday, he seems to know all the things about discourse 🙂

---

<div class="post-metadata">

**Author:** ![choldgraf](https://yyz1.discourse-cdn.com/flex031/user_avatar/discourse.jupyter.org/choldgraf/32/1264_2.png) [@choldgraf](https://discourse.jupyter.org/u/choldgraf)\
**Post date:** [May 27, 2019, 5:35am UTC](https://discourse.jupyter.org/t/edit-social-media-preview-images/1185/6 "2019-05-27T05:35:50Z")

</div>

Good point. To clarify… Are you imagining just a default image for every post? Like just the jupyter logo or something?

---

<div class="post-metadata">

**Author:** ![betatim](https://yyz1.discourse-cdn.com/flex031/user_avatar/discourse.jupyter.org/betatim/32/10_2.png) [@betatim](https://discourse.jupyter.org/u/betatim)\
**Post date:** [May 27, 2019, 1:04pm UTC](https://discourse.jupyter.org/t/edit-social-media-preview-images/1185/7 "2019-05-27T13:04:46Z")

</div>

I think for a more detailed “what exactly do we want” we should ask @parente directly.

I think the idea was to not have a persons personal avatar in the preview if possible.

---

<div class="post-metadata">

**Author:** ![choldgraf](https://yyz1.discourse-cdn.com/flex031/user_avatar/discourse.jupyter.org/choldgraf/32/1264_2.png) [@choldgraf](https://discourse.jupyter.org/u/choldgraf)\
**Post date:** [May 27, 2019, 6:06pm UTC](https://discourse.jupyter.org/t/edit-social-media-preview-images/1185/8 "2019-05-27T18:06:07Z")

</div>

I’m asking around here: [https://meta.discourse.org/t/customize-the-image-shown-on-twitter-previews/118803](https://meta.discourse.org/t/customize-the-image-shown-on-twitter-previews/118803)

---

<div class="post-metadata">

**Author:** ![choldgraf](https://yyz1.discourse-cdn.com/flex031/user_avatar/discourse.jupyter.org/choldgraf/32/1264_2.png) [@choldgraf](https://discourse.jupyter.org/u/choldgraf)\
**Post date:** [May 27, 2019, 7:29pm UTC](https://discourse.jupyter.org/t/edit-social-media-preview-images/1185/9 "2019-05-27T19:29:04Z")

</div>

OK I think I might have figured this out. I just created a post and this is the image that popped up:

> <https://twitter.com/choldgraf/status/1133092343114919936>

I did this by modifying the “large social image” setting w/ an image that fit the right dimensions for twitter. It seems like this might only apply to _new_ posts and not to old ones? I’m not sure, we should keep an eye on it 🙂

---

<div class="post-metadata">

**Author:** ![choldgraf](https://yyz1.discourse-cdn.com/flex031/user_avatar/discourse.jupyter.org/choldgraf/32/1264_2.png) [@choldgraf](https://discourse.jupyter.org/u/choldgraf)\
**Post date:** [May 27, 2019, 9:59pm UTC](https://discourse.jupyter.org/t/edit-social-media-preview-images/1185/10 "2019-05-27T21:59:57Z")

</div>

Ah, something else I noticed, I believe that if you link to only the thread itself, rather than a **reply** within that thread, then the social media preview will be a generic one as well.

E.g. post a link to

`https://discourse.jupyter.org/t/introduce-yourself/17`

rather than

`https://discourse.jupyter.org/t/introduce-yourself/17/90`

---

<div class="post-metadata">

**Author:** ![parente](https://yyz1.discourse-cdn.com/flex031/user_avatar/discourse.jupyter.org/parente/32/973_2.png) [@parente](https://discourse.jupyter.org/u/parente)\
**Post date:** [June 2, 2019, 12:22am UTC](https://discourse.jupyter.org/t/edit-social-media-preview-images/1185/12 "2019-06-02T00:22:49Z")

</div>

@betatim @choldgraf Thanks for researching various options. The idea was indeed to have the Jupyter logo appear in tweets rather than a particular person’s avatar.

---

<div class="post-metadata">

**Author:** ![Zsailer](https://yyz1.discourse-cdn.com/flex031/user_avatar/discourse.jupyter.org/zsailer/32/4872_2.png) [@Zsailer](https://discourse.jupyter.org/u/Zsailer)\
**Post date:** [June 3, 2019, 4:09pm UTC](https://discourse.jupyter.org/t/edit-social-media-preview-images/1185/13 "2019-06-03T16:09:50Z")

</div>

I also learned that if you include an image in the post, it becomes the social media preview.

I tried that with the [community call thread](https://discourse.jupyter.org/t/jupyter-community-calls/668/3) (though I failed on the image aspect ratio 😆) .

---

<div class="post-metadata">

**Author:** ![choldgraf](https://yyz1.discourse-cdn.com/flex031/user_avatar/discourse.jupyter.org/choldgraf/32/1264_2.png) [@choldgraf](https://discourse.jupyter.org/u/choldgraf)\
**Post date:** [June 3, 2019, 4:57pm UTC](https://discourse.jupyter.org/t/edit-social-media-preview-images/1185/14 "2019-06-03T16:57:46Z")

</div>

yes! I noticed 🙂 btw - how did you make that image? If you like, we could do the same font style for this forum (for the “community forum” logo in the top left).

---

<div class="post-metadata">

**Author:** ![Zsailer](https://yyz1.discourse-cdn.com/flex031/user_avatar/discourse.jupyter.org/zsailer/32/4872_2.png) [@Zsailer](https://discourse.jupyter.org/u/Zsailer)\
**Post date:** [June 3, 2019, 5:39pm UTC](https://discourse.jupyter.org/t/edit-social-media-preview-images/1185/15 "2019-06-03T17:39:56Z")

</div>

> If you like, we could do the same font style for this forum (for the “community forum” logo in the top left)

For sure! I made the image in Inkscape. I’ll add the SVG to the jupyter/design later today.

I actually stumbled upon the Jupyter [brand guideline](https://github.com/jupyter/design/blob/121ca202f8111b27cec5c43a7e7439ebe4dbf6d8/brandguide/jupyter_brand_guide.pdf) when searching for how to make a logo. I was really helpful. It suggests _Helvetica Neue_ for Jupyter logo subtext.

Aside from that, I made a few choices:

- I used all lower-case to be consistent with “jupyter” in the main logo
- I adjusted the font weight to complement the main part of the logo (used regular).
- I used the second lightest grey (#757575) from the guidelines to complement the main logo.
- I moved the planet logo down slightly to balance the two-line text.

---

<div class="post-metadata">

**Author:** ![choldgraf](https://yyz1.discourse-cdn.com/flex031/user_avatar/discourse.jupyter.org/choldgraf/32/1264_2.png) [@choldgraf](https://discourse.jupyter.org/u/choldgraf)\
**Post date:** [June 3, 2019, 5:56pm UTC](https://discourse.jupyter.org/t/edit-social-media-preview-images/1185/16 "2019-06-03T17:56:58Z")

</div>

Thanks for the guidelines! I tried to find Helvetica Neue but it wasn’t on my windows machine, probably something that Apple licenses but Windows doesn’t?

Lemme see if I can find that font online somewhere and if so, will make a new version following your suggestions

---

<div class="post-metadata">

**Author:** ![Zsailer](https://yyz1.discourse-cdn.com/flex031/user_avatar/discourse.jupyter.org/zsailer/32/4872_2.png) [@Zsailer](https://discourse.jupyter.org/u/Zsailer)\
**Post date:** [June 3, 2019, 6:03pm UTC](https://discourse.jupyter.org/t/edit-social-media-preview-images/1185/17 "2019-06-03T18:03:20Z")

</div>

You’re totally right! I didn’t realize Helvetica Neue was proprietary. We should probably abandon it and use something similar but free, like Roboto. That’s what I usually use to replace HN.

I think I will update that in the community call logo.

Also, I realized I was wrong about the font color. I used the second lightest grey color (#757575). I updated my post above.

---

<div class="post-metadata">

**Author:** ![choldgraf](https://yyz1.discourse-cdn.com/flex031/user_avatar/discourse.jupyter.org/choldgraf/32/1264_2.png) [@choldgraf](https://discourse.jupyter.org/u/choldgraf)\
**Post date:** [June 3, 2019, 6:05pm UTC](https://discourse.jupyter.org/t/edit-social-media-preview-images/1185/18 "2019-06-03T18:05:22Z")

</div>

yep, I was using Roboto too 🙂

edit: the logo is now updated!

---

<div class="post-metadata">

**Author:** ![Zsailer](https://yyz1.discourse-cdn.com/flex031/user_avatar/discourse.jupyter.org/zsailer/32/4872_2.png) [@Zsailer](https://discourse.jupyter.org/u/Zsailer)\
**Post date:** [June 3, 2019, 6:18pm UTC](https://discourse.jupyter.org/t/edit-social-media-preview-images/1185/19 "2019-06-03T18:18:06Z")

</div>

Great! I’ve submitted a PR (#[60](https://github.com/jupyter/design/pull/60)) to the design repo with the community call logo.
