# Docs endpoint doesn't use appropriate image for articles in opengraph tags

**URL:** https://meta.discourse.org/t/docs-endpoint-doesnt-use-appropriate-image-for-articles-in-opengraph-tags/279993
**Category:** Bug
**Tags:** docs
**Created:** [September 25, 2023, 12:33pm UTC](https://meta.discourse.org/t/docs-endpoint-doesnt-use-appropriate-image-for-articles-in-opengraph-tags/279993 "2023-09-25T12:33:22Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![CubeCoders](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/cubecoders/32/298429_2.png) [@CubeCoders](https://meta.discourse.org/u/CubeCoders)
#### Post date: [September 25, 2023, 12:33pm UTC](https://meta.discourse.org/t/docs-endpoint-doesnt-use-appropriate-image-for-articles-in-opengraph-tags/279993/1 "2023-09-25T12:33:22Z")

</div>

Where I have a discussion thread, if the thread starts with a single - large image, then that image is used as the opengraph image for use by social networks/other sharing when posting a link to the thread.

If the same thread is referenced via the /docs endpoint - it instead only uses the generic top-level image, even though the text/description is based on the thread. The result is an inconsistent sharing experience depending on whether you share a /docs?topic= link or an actual topic link.
