# \[UserScript\] Avatar Size & Sub-Category Adjustment

**URL:** <https://forums.eveonline.com/t/userscript-avatar-size-sub-category-adjustment/9032>\
**Category:** Third Party Developers\
**Tags:** forum-improvement\
**Created:** [July 7, 2017, 4:16am UTC](https://forums.eveonline.com/t/userscript-avatar-size-sub-category-adjustment/9032 "2017-07-07T04:16:22Z")\
**Posts on this page:** 7\
**Page:** 4

<div class="post-metadata">

**Author:** ![DeMichael\_Crimson](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/demichael_crimson/32/514115_2.png) [@DeMichael\_Crimson](https://forums.eveonline.com/u/DeMichael_Crimson)\
**Post date:** [December 14, 2019, 4:43pm UTC](https://forums.eveonline.com/t/userscript-avatar-size-sub-category-adjustment/9032/62 "2019-12-14T16:43:13Z")

</div>

Any idea on how to fix the Forum Portal script so that it continues to show after changing to a different forum page?

---

<div class="post-metadata">

**Author:** ![Nana\_Skalski](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/nana_skalski/32/489985_2.png) [@Nana\_Skalski](https://forums.eveonline.com/u/Nana_Skalski)\
**Post date:** [December 14, 2019, 4:47pm UTC](https://forums.eveonline.com/t/userscript-avatar-size-sub-category-adjustment/9032/63 "2019-12-14T16:47:21Z")

</div>

Unfortunately I have no idea. I dont know how to write scripts and what are those commands there doing, only recognized few things like setting the size of avatars so I could make them bigger. With some trial and error. 🤷‍♀️

---

<div class="post-metadata">

**Author:** ![DeMichael\_Crimson](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/demichael_crimson/32/514115_2.png) [@DeMichael\_Crimson](https://forums.eveonline.com/u/DeMichael_Crimson)\
**Post date:** [December 14, 2019, 4:49pm UTC](https://forums.eveonline.com/t/userscript-avatar-size-sub-category-adjustment/9032/64 "2019-12-14T16:49:49Z")

</div>

Ahh, ok, you’re just another user like me.

We’d be great in Tron.

😉

---

<div class="post-metadata">

**Author:** ![DeMichael\_Crimson](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/demichael_crimson/32/514115_2.png) [@DeMichael\_Crimson](https://forums.eveonline.com/u/DeMichael_Crimson)\
**Post date:** [December 14, 2019, 5:04pm UTC](https://forums.eveonline.com/t/userscript-avatar-size-sub-category-adjustment/9032/65 "2019-12-14T17:04:34Z")

</div>

Well, seems I got a new issue, now when I refresh the page to make the Forum Portal appear, all the scripts stop working. I went to the script dashboard and enabled them again, then tried to reactivate them by refreshing the page but it wouldn’t happen until I did it on the main forum page.

😟

---

<div class="post-metadata">

**Author:** ![Nana\_Skalski](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/nana_skalski/32/489985_2.png) [@Nana\_Skalski](https://forums.eveonline.com/u/Nana_Skalski)\
**Post date:** [February 11, 2021, 4:35pm UTC](https://forums.eveonline.com/t/userscript-avatar-size-sub-category-adjustment/9032/66 "2021-02-11T16:35:25Z")

</div>

Today I found out the forum uses 90px avatars by default, so I publish new script with the images being fixed. Now they should not be displayed as 90px versions, but bigger and clearer ones, 240px.

```
// ==UserScript==
// @name Eve Avatar/Sub-Category Adjustment (120x120)
// @namespace erika-mizune-eve-forum-avatar-adjustment-120
// @version 1.0
// @description Resize forum avatars and readjust subcategory layout
// @author Erika Mizune
// @match https://forums.eveonline.com/*
// @grant none
// ==/UserScript==

/*jshint multistr: true */

$('head').append(
    '\
<style>\
span.subcategory { display: table-row !important; }\
.topic-avatar img.avatar { height: 140px; width: 140px; border-radius: 0; }\
.topic-avatar { width: 140px !important; }\
section.embedded-posts.bottom .topic-avatar img.avatar { height: 45px; width: 45px; border-radius: 50%; }\
section.embedded-posts.bottom .topic-avatar { width: 45px !important; }\
section.embedded-posts.top .topic-avatar img.avatar { height: 45px; width: 45px; border-radius: 50%; }\
section.embedded-posts.top .topic-avatar { width: 45px !important; }\
#user-card .user-card-avatar { float: left; margin-right: 10px; margin-top: -25px; }\
#user-card .user-card-avatar img.avatar { border-radius: 0 !important; }\
#user-card h2.username { visibility: hidden; margin-top: -30px; }\
span.second.username { visibility: hidden; }\
</style>\
'
);

$(window).on("load resize scroll",function(e){
    var imagelist = Array.from(document.getElementsByTagName('img'));
    imagelist.forEach(function(element) {
        element.src = element.src.replace("/90/", "/240/");
    });
});
```

---

<div class="post-metadata">

**Author:** ![DeMichael\_Crimson](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/demichael_crimson/32/514115_2.png) [@DeMichael\_Crimson](https://forums.eveonline.com/u/DeMichael_Crimson)\
**Post date:** [February 12, 2021, 5:58am UTC](https://forums.eveonline.com/t/userscript-avatar-size-sub-category-adjustment/9032/67 "2021-02-12T05:58:07Z")

</div>

Definitely nice and thanks, I can see the difference in the character portraits…

---

<div class="post-metadata">

**Author:** ![Nana\_Skalski](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/nana_skalski/32/489985_2.png) [@Nana\_Skalski](https://forums.eveonline.com/u/Nana_Skalski)\
**Post date:** [February 8, 2025, 6:36am UTC](https://forums.eveonline.com/t/userscript-avatar-size-sub-category-adjustment/9032/68 "2025-02-08T06:36:32Z")

</div>

Updated 2025:

```auto
// ==UserScript==
// @name Eve Avatar/Sub-Category Adjustment (120x120)
// @namespace erika-mizune-eve-forum-avatar-adjustment-120
// @version 1.0
// @description Resize forum avatars and readjust subcategory layout
// @author Erika Mizune
// @match https://forums.eveonline.com/*
// @grant none
// ==/UserScript==

/*jshint multistr: true */

$('head').append(
    '\
<style>\
span.subcategory { display: table-row !important; }\
.topic-avatar img.avatar { height: 144px; width: 144px; border-radius: 0; }\
.topic-avatar { width: 144px !important; }\
section.embedded-posts.bottom .topic-avatar img.avatar { height: 48px; width: 48px; border-radius: 50%; }\
section.embedded-posts.bottom .topic-avatar { width: 48px !important; }\
section.embedded-posts.top .topic-avatar img.avatar { height: 48px; width: 48px; border-radius: 50%; }\
section.embedded-posts.top .topic-avatar { width: 48px !important; }\
#user-card .user-card-avatar { float: left; margin-right: 10px; margin-top: -25px; }\
#user-card .user-card-avatar img.avatar { border-radius: 0 !important; }\
#user-card h2.username { visibility: hidden; margin-top: -30px; }\
span.second.username { visibility: hidden; }\
</style>\
'
);

$(window).on("load resize scroll",function(e){
    var imagelist = Array.from(document.getElementsByTagName('img'));
    imagelist.forEach(function(element) {
        element.src = element.src.replace("/96/", "/288/");
    });
});

```

You have to switch to developer mode in the extension tab in options of your chromium based browser to see it taking effect on the site.

[Previous page](https://forums.eveonline.com/t/userscript-avatar-size-sub-category-adjustment/9032.md?page=3)
