       vip = false
       data = " data-avatar-id=\"#{avatar.id}\""
 
+    # set vip flag, ignore if personal avatar is request
     vip = @vip
     if type is 'personal'
       vip = false

    # use system avatar for system actions
    if @id is 1
      return App.view('avatar_system')()
    else if !@image || @image is 'none' || unique
      width  = 300
      height = 226


        x: x
        y: y
        initials: @initials()

    # generate image based avatar
    return App.view('avatar')
      data: data
      cssClass: cssClass
      placement: placement
      vip: vip
      url: @imageUrl()

  imageUrl: ->
    return if !@image
