Trying to find a way to use the profile pic handler to create an image smaller than 32 x 32 pixels.
Within a custom skin object I've been trying to generat a tiny avatar image (16 x 16) but not matter what I put in for dimensions the handler won't render anything smaller than 32 x 32.
01.if (ShowAvatar)
02.{
03. imgAvatar.ImageUrl = string.Format(Globals.UserProfilePicFormattedUrl(), userInfo.UserID, 16, 16);
04. avatar.NavigateUrl = enhancedRegisterLink.NavigateUrl;
05. avatar.ToolTip = Localization.GetString("ProfileAvatar", Localization.GetResourceFile(this, MyFileName));
06.
07. avatarGroup.Visible = true;
08.}
09.else
10.{
11. avatarGroup.Visible = false;
12.}
Which generates the correct markup/path:
http://www.myfakesite.com/profilepic.ashx?userId=4&h=16&w=16
But only still shows a 32 x 32 image. I've tried using the URL and manually changing the values and it seems like 32 x 32 is the limit.
Is there a trick (or limitation) for generating tiny images with the handler?