# What is the code for centering an uploaded image?

**URL:** <https://meta.discourse.org/t/what-is-the-code-for-centering-an-uploaded-image/77446>\
**Category:** Product Support\
**Created:** [8 januari 2018 om 04:07 UTC](https://meta.discourse.org/t/what-is-the-code-for-centering-an-uploaded-image/77446 "2018-01-08T04:07:30Z")\
**Posts on this page:** 1\
**Showing post:** 13

<div class="post-metadata">

**Author:** ![D8vid](https://avatars.discourse-cdn.com/v4/letter/d/b38774/32.png) [@D8vid](https://meta.discourse.org/u/D8vid)\
**Post date:** [21 mei 2019 om 11:23 UTC](https://meta.discourse.org/t/what-is-the-code-for-centering-an-uploaded-image/77446/13 "2019-05-21T11:23:45Z")

</div>

If you’re willing to use the BBCode plugin (and understand its risks & benefits), it allows for anyone to center images using only the editor.

[https://github.com/discourse/discourse-bbcode](https://github.com/discourse/discourse-bbcode)

---

_[View the full topic](https://meta.discourse.org/t/what-is-the-code-for-centering-an-uploaded-image/77446)._
