# How to increase Discourse avatar resolution with JS?

**URL:** https://meta.discourse.org/t/how-to-increase-discourse-avatar-resolution-with-js/41807
**Category:** Support
**Created:** [31. März 2016 um 04:22 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:** 8

<div class="post-metadata">

### Author: ![Mittineague](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mittineague/32/114259_2.png) [@Mittineague](https://meta.discourse.org/u/Mittineague)
#### Post date: [31. März 2016 um 05:56 UTC](https://meta.discourse.org/t/how-to-increase-discourse-avatar-resolution-with-js/41807/8 "2016-03-31T05:56:44Z")

</div>

> [@Drew\_Warwick](#):
>
> Any pointers?

Not many. I’m still going through the “getting familiar” stage for the most part and haven’t had time to try any of it yet.

I have a few topics bookmarked.  
The one likely to be of most interest to you is  
[https://meta.discourse.org/t/avatar-size-handlebars-script-no-longer-working/29230?u=mittineague](https://meta.discourse.org/t/avatar-size-handlebars-script-no-longer-working/29230)

others are

> [@A tour of how the Widget (Virtual DOM) code in Discourse works](https://meta.discourse.org/t/a-tour-of-how-the-widget-virtual-dom-code-in-discourse-works/40347):
>
> This is out of date. See [Widgets, the Widget API and their roadmap?](https://meta.discourse.org/t/widgets-the-widget-api-and-their-roadmap/292624) The latest builds of Discourse are much faster at rendering topics thanks to our [re-written post stream](https://eviltrout.com/2016/02/25/fixing-android-performance.html). I’ve written up [our new plugin API](https://meta.discourse.org/t/a-new-versioned-api-for-client-side-plugins/40051) but so far haven’t explained how the code all fits together. The purpose of this topic is to allow Discourse developers to understand how the new code works. What’s a Virtual DOM? A Virtual DOM is a data structure that enables browsers to re-render dynamic content very quickly. The techniq…

.

> [@Updating Discourse Plugins, taking the first step](https://meta.discourse.org/t/updating-discourse-plugins-taking-the-first-step/41241):
>
> I have to fully read the new plugin api format but my first problem actually has to do with this error: The discourse/components/post-menu object has been removed from Discourse and your plugin needs to be updated. PostMenu is a pretty important one and as far as I can tell does exist upon searching the Discourse repo on github. This is what is in the plugin: import PostMenu from 'discourse/components/post-menu'; import StringBuffer from 'discourse/mixins/string-buffer'; import { iconHTML } f…

.

> [@Using the JS API](https://meta.discourse.org/t/using-the-pluginapi-in-site-customizations/41281):
>
> Discourse’s JavaScript API allows themes and plugins to make extensive customizations to the user experience. The simplest way to use it is to create a new theme from the admin panel, click “Edit Code”, and then head to the JS tab. For file-based themes, the API can be used by creating a file in the api-initializers directory. For theme’s that’s {theme}/javascripts/api-initializers/init-theme.gjs, and for plugins, it’s {plugin}/assets/javascripts/discourse/api-initializers/init-plugin.js. The c…

---

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