# 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:** Support
**Created:** [January 8, 2018, 4:07am 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:** 6

<div class="post-metadata">

### Author: ![dnsmichi](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/dnsmichi/32/379505_2.png) [@dnsmichi](https://meta.discourse.org/u/dnsmichi)
#### Post date: [January 10, 2018, 9:37am UTC](https://meta.discourse.org/t/what-is-the-code-for-centering-an-uploaded-image/77446/6 "2018-01-10T09:37:35Z")

</div>

I prefer images not being centered by default, they should adjust the way the reader prefers to read text (left to right, or vice versa). But that’s really always a personal flavor.

Markdown itself doesn’t have such capabilities, you’ll always need to use HTML for such things. Similar thing for showing a fixed scaled image size.

It might be a nice addition to add alignment icons into the editor, similar to what Wordpress allows, and just do the HTML magic there.

---

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