Notifications
Clear all

Limited Support

Our support team is currently on holiday from December 25, 2025 to January 7, 2026, and replies may be delayed during this period.

We appreciate your patience and understanding while our team is away. Thank you for being part of the wpForo community!

Merry Christmas and Happy Holidays! 🎄

wpForo 1.x.x [Solved] Resizing avatars to optimize site speed

4 Posts
2 Users
1 Reactions
1,175 Views
Posts: 118
 eel
Topic starter
(@eel)
Estimable Member
Joined: 5 years ago

I hate a slow website! What is the best way to allow avatars without slowing the site?

Currently, I have gravatar enabled. Members can also upload avatars, which they choose to do, but they are  large and slow the site. If I resize them, it's fine for the widget and the forum but the pic on the profile page is distorted.

What am I missing here?

 

Thanks!


3 Replies
Alvina
Posts: 1860
Moderator
(@alvina)
Member
Joined: 6 years ago

Hi @eel,

If I resize them, it's fine for the widget and the forum but the pic on the profile page is distorted.

Avatar thumbnail generator script is located in wpforo/wpf-includes/class-members.php file.

Find this line and change the value as you need:

$image->resize( 150, 150, true );

Also please read this FAQ topic: https://wpforo.com/community/faq/forum-is-slow/


Posts: 118
 eel
Topic starter
(@eel)
Estimable Member
Joined: 5 years ago

Thank so much. This was my last question. Off to leave a review. I really appreciate how helpful you are. It's astonishing, really. Have a good day!

 


1 Reply
Alvina
Moderator
(@alvina)
Joined: 6 years ago

Member
Posts: 1860

Hi @eel,

Nice!

Thank you very much for your kind words and for your review too. Nice!