parameters: (request, profileid)
return_statement: return redirect(profile_image)
docstring: Django View. Shows user profile image.
  
      One of the problems with this view is that it does not handle gravatar images.
  
      @type request: C{django.http.HttpRequest}
      @param request: Django Request
      @type profileid: C{string}
      @param profileid: Username.
  
      @todo: Check if user exists.
docstring_summary: Django View. Shows user profile image.
docstring_tokens: Django View . Shows user profile image .
function: def profilethumbnail(request, profileid):
      """
      Django View. Shows user profile image.
  
      One of the problems with this view is that it does not handle gravatar images.
  
      @type request: C{django.http.HttpRequest}
      @param request: Django Request
      @type profileid: C{string}
      @param profileid: Username.
  
      @todo: Check if user exists.
      """
  
      try:
          user = User.objects.get(username=profileid)
      except User.DoesNotExist:
          return views.ErrorPage(request, 'errors/user_does_not_exist.html', {'username': profileid})
  
      profile_image = utils.get_profile_image(user, int(request.GET.get('width', 24)))
      return redirect(profile_image)
function_tokens: def profilethumbnail ( request , profileid ) : try : user = User . objects . get ( username = profileid ) except User . DoesNotExist : return views . ErrorPage ( request , 'errors/user_does_not_exist.html' , { 'username' : profileid } ) profile_image = utils . get_profile_image ( user , int ( request . GET . get ( 'width' , 24 ) ) ) return redirect ( profile_image )