Avatar size?

Permalink Browser Info Environment
Hello,

How can I change the size of the uploaded avatars?

ie. I have an image that is 200x200 px. When I upload it, it turns out to be 80x80 px.

Any help on figuring out how to change this?

Type: Discussion
Status: New
wholeo
View Replies:
wholeo replied on at Permalink Reply
wholeo
solution:
define('AVATAR_WIDTH', 160);
define('AVATAR_HEIGHT', 160);


http://www.concrete5.org/community/forums/customizing_c5/a-larger-a...
ChannelMarkerMedia replied on at Permalink Reply
ChannelMarkerMedia
Changing these defined variables allows me to upload a larger image in Edit User (dashboard), but it still displays as a small image on my PB post.

One way to fix this:

In /packages/problog/helpers/blogify.php line 277 and 278:

$mw=($maxWidth)?$maxWidth:'60';
$mh=($maxHeight)?$maxHeight:'80';

Adjust this width and height as necessary. Not the prettiest way, but it will work. If you ever update Problog, this change will most likely be overwritten, so keep that in mind.

concrete5 Environment Information

Browser User-Agent String

Hide Post Content

This will replace the post content with the message: "Content has been removed by an Administrator"

Hide Content

Request Refund

You have not specified a license for this support ticket. You must have a valid license assigned to a support ticket to request a refund.