# Image displayed incorrectly on Mobile due to theme settings

**URL:** <https://meta.discourse.org/t/image-displayed-incorrectly-on-mobile-due-to-theme-settings/80378>\
**Category:** UX\
**Created:** [February 12, 2018, 3:19pm UTC](https://meta.discourse.org/t/image-displayed-incorrectly-on-mobile-due-to-theme-settings/80378 "2018-02-12T15:19:32Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![Vaping\_Community](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/vaping_community/32/89248_2.png) [@Vaping\_Community](https://meta.discourse.org/u/Vaping_Community)\
**Post date:** [February 12, 2018, 3:19pm UTC](https://meta.discourse.org/t/image-displayed-incorrectly-on-mobile-due-to-theme-settings/80378/1 "2018-02-12T15:19:32Z")

</div>

Discourse Version: discourse ([19b4116](https://github.com/discourse/discourse/compare/19b4116...tests-passed))

Seems to be a problem with only some image uploads.

 ![File%2012-02-2018%2C%2014%2053%2021](https://global.discourse-cdn.com/meta/original/3X/3/b/3bc9564cc462c052cb6138db48a78f126580fc72.jpeg)

The following CSS added to the mobile css sheet fixes it for me:

```
.lightbox img {
    max-width: 100%;
    max-height: 100%;
    height: auto;
    width: 100%;
}

```

---

_[View the full topic](https://meta.discourse.org/t/image-displayed-incorrectly-on-mobile-due-to-theme-settings/80378)._
