# How to increase Discourse avatar resolution with JS?

**URL:** <https://meta.discourse.org/t/how-to-increase-discourse-avatar-resolution-with-js/41807>\
**Category:** Product Support\
**Created:** [31 במרץ,‏ 2016,‏ 4:22am UTC](https://meta.discourse.org/t/how-to-increase-discourse-avatar-resolution-with-js/41807 "2016-03-31T04:22:46Z")\
**Posts on this page:** 1\
**Showing post:** 9

<div class="post-metadata">

**Author:** ![Yuun](https://avatars.discourse-cdn.com/v4/letter/y/977dab/32.png) [@Yuun](https://meta.discourse.org/u/Yuun)\
**Post date:** [31 במרץ,‏ 2016,‏ 11:13am UTC](https://meta.discourse.org/t/how-to-increase-discourse-avatar-resolution-with-js/41807/9 "2016-03-31T11:13:52Z")

</div>

If the script in the first topic @Mittineague linked is what you’re looking for, most up to date version if it helps:

```plaintext
<script type="text/discourse-plugin" version="0.2">
    api.changeWidgetSetting('post-avatar', 'size', '70');
</script>

```

The effect is the same, but going through the plugin API should be more reliable, I think.

---

_[View the full topic](https://meta.discourse.org/t/how-to-increase-discourse-avatar-resolution-with-js/41807)._
