PDA

View Full Version : Scheduled Task - Rebuild Avatar?


DylanMateo
05-25-2020, 10:17 AM
Hi,

I am trying to make a scheduled task that rebuilds the avatar thumbnails, due to a workaround to make avatars larger in the postbit, however this ends up https://speedtest.vet/ (https://speedtest.vet/) https://vidmate.bid/ (https://vidmate.bid/) making fresh avatars look badly compressed.

I don't really understand how to write a Scheduled Task, and I have no idea where to start. So any help would be appreciated!

Tinsley1H
01-11-2023, 03:56 AM
Hello, DylanMateo
You can do this in CSS. However, you'll be resizing a smaller image so there can be some artifacting. Browsers aren't the best at resizing images.

Visit your site. Turn on Edit Site. Click Style in the Site Builder Menu. Then select the CSS Editor tab. Enter in the code below, adjust as needed.

Code:
.b-userinfo .b-avatar, .b-userinfo .b-avatar img {
max-height: 128px;
max-width: 128px !important;
width: 128px;
height: 128px;
}