Avatar Sizes in the Leaderboard
-
paul would you consider changing the avatar type in the leader board to Type=Full and replace the height/width with achievement css to make it 20px. so that it allows for manipulation of the original image, rather than being stuck having to CSS around the 20×20 thumb size which leads to some crappy looking avatars when scaled up. I guess I would also settle for just changing it to type=thumb without the 20/20 hw.
bp_core_fetch_avatar( array( ‘height’ => 20, ‘item_id’ => $high_scorers[$i]->id, ‘type’ => ‘thumb’, ‘width’ => 20 ) )
to
bp_core_fetch_avatar( array( ‘item_id’ => $high_scorers[$i]->id, ‘type’ => ‘full’ ) )
and
`div.achievements-sitewide-leaderboard tr td img.avatar {
height: 20px;
width: 20px;
}`For example I’m making use of the widget in the body of a page for a pseudo Leaderboard page and I’m having shotty images when trying to make the image size of the avatar bigger using CSS.
I guess i could recreate a new widget but I’d rather not.
Or is there another way?
The forum ‘Achievements’ is closed to new topics and replies.