PDA

View Full Version : fetch_user_avatar


Kyojii
07-09-2012, 09:34 AM
Hm, I just recently noticed fetch_user_avatar has a boolean for returning the thumbnail or not. But I also noticed that when using an avatar from the avatar manager (one that isn't retrieved in image.php) it doesn't return the thumbnail in /images/avatars/thumbs rather it returns the full resolution image. I noticed it used the thumbnail on the member page, however I can't seem to find how it's grabbing the image in there anywhere. The ministats template says it's grabbing prepared.avatar but that isn't even in member.php so I'm not sure where that template is being processed.

--------------- Added 1341830944 at 1341830944 ---------------

Ah, I found a way to get it, $userinfo['avatarid'] is the id for the users selected avatar, which in turn is filename for the thumbnail in /images/avatars/thumbs.