# Custom image based on tag?

**URL:** https://meta.discourse.org/t/custom-image-based-on-tag/143717
**Category:** Development
**Created:** [9 maart 2020 om 17:06 UTC](https://meta.discourse.org/t/custom-image-based-on-tag/143717 "2020-03-09T17:06:24Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![eextra](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/eextra/32/170266_2.png) [@eextra](https://meta.discourse.org/u/eextra)
#### Post date: [9 maart 2020 om 17:06 UTC](https://meta.discourse.org/t/custom-image-based-on-tag/143717/1 "2020-03-09T17:06:24Z")

</div>

How to add image to a post only by means of using a tag ? (tag: image1 =\> image1.png in post)

---

<div class="post-metadata">

### Author: ![simon](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/simon/32/339122_2.png) [@simon](https://meta.discourse.org/u/simon)
#### Post date: [9 maart 2020 om 17:33 UTC](https://meta.discourse.org/t/custom-image-based-on-tag/143717/2 "2020-03-09T17:33:19Z")

</div>

It’s not quite what you are looking for, but you might be able to accomplish something similar with this approach: [Generic bbcode wrapper for theme components](https://meta.discourse.org/t/generic-bbcode-wrapper-for-theme-components/123516).

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [10 maart 2020 om 08:36 UTC](https://meta.discourse.org/t/custom-image-based-on-tag/143717/3 "2020-03-10T08:36:52Z")

</div>

What is the goal here? I am not sure I understand what this would be for, can you provide an example?

---

<div class="post-metadata">

### Author: ![eextra](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/eextra/32/170266_2.png) [@eextra](https://meta.discourse.org/u/eextra)
#### Post date: [10 maart 2020 om 12:12 UTC](https://meta.discourse.org/t/custom-image-based-on-tag/143717/4 "2020-03-10T12:12:15Z")

</div>

Clear

If a tag would add an image to a post immediately, then it would be appear in social media when someone makes a link (share it ) .

This means that every post has an image (based on the tag), then every posting in social media looks much better and can be promoted more easily.
