# "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:** 1

<div class="post-metadata">

**Author:** ![Canapin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/canapin/32/119591_2.png) [@Canapin](https://meta.discourse.org/u/Canapin)\
**Post date:** [July 7, 2018, 12:17pm UTC](https://meta.discourse.org/t/wrong-image-size-on-discourse-topic/91773/1 "2018-07-07T12:17:17Z")

</div>

Hi.  
There is an article on my website which contains images. On the site, they display well :  
([Auron au bord de l'insolation ! - Monocycle.info](https://monocycle.info/3ieme-edition-dauron-au-bord-de-linsolation/))

 ![image](https://global.discourse-cdn.com/meta/original/3X/8/6/86226ed202f9107cd5a50563e4aa4c1be67f2f01.jpg)

On the WP edition page, they are blurry:

 ![image](https://global.discourse-cdn.com/meta/original/3X/a/8/a896472915c5a300fb227cd60af08db683dc8ce5.jpg)

I guess this is because they have a custom size.  
For example, the last image (the table) original size is 1008px width.  
The custom size sets in the article is 500px.

I guess that when displaying the article on Wordpress, WP uses the closest larger size (here, 1008px), then decreases its width to fit in 500px because that’s the way to have the best quality.

However, on the editing page, it uses the WP auto-generated medium size: 300px, and increases its width to be 500px, hence the blurry aspect.

The thing that bothers me is that this is this blurry version which is posted on Discourse by [WP Discourse](https://github.com/discourse/wp-discourse),  
([Auron au bord de l'insolation ! - Monocycle.info](https://monocycle.info/3ieme-edition-dauron-au-bord-de-linsolation/))

 ![image](https://global.discourse-cdn.com/meta/original/3X/5/7/578246e9b3df65e56c7f1adc74ae009d163a638e.jpg)

making images like this table unreadable.

Is there any way to tweak [WP Discourse](https://github.com/discourse/wp-discourse) so the published topics use the closest larger images instead of the closest smaller ones?

---

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