# "wrong" image size on discourse topic

**URL:** <https://meta.discourse.org/t/wrong-image-size-on-discourse-topic/91773>\
**Category:** WordPress\
**Created:** [July 7, 2018, 12:17pm UTC](https://meta.discourse.org/t/wrong-image-size-on-discourse-topic/91773 "2018-07-07T12:17:17Z")\
**Posts on this page:** 1\
**Showing post:** 2

<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:** [July 7, 2018, 4:14pm UTC](https://meta.discourse.org/t/wrong-image-size-on-discourse-topic/91773/2 "2018-07-07T16:14:37Z")

</div>

The image size on WordPress is being set by the `srcset` attribute. The image that is published on Discourse is the image that is in the `src` attribute of the WordPress post. If you view the page source on WordPress (select ‘view source’, not ‘inspect element’ on your browser) you can see that this is the image that will be used by Discourse. It’s width will be set to 500px by the value of it’s `width` attribute, so it will be blurry.

 ![](https://global.discourse-cdn.com/meta/original/3X/6/c/6c2e873023c2b1427e5f12e60362ec1dc7bdc2ea.png) 

For images where the size is important, you could edit the image tag on WordPress so that a larger image is set in the `src` attribute.

---

_[View the full topic](https://meta.discourse.org/t/wrong-image-size-on-discourse-topic/91773)._
