         if @group.slug isnt "koding"
           @decorateHeader()
 
+  getResizedImage:(imageToCrop)->
+    proxifyOptions =
+      crop         : yes
+      width        : 950
+      height       : 315
+    KD.utils.proxifyUrl imageToCrop, proxifyOptions
+
   decorateHeader:->
 
     unless @container


    if @group.customize?.coverPhoto
      @listController.getView().hide()
      @coverView.setCss 'background-image', "url(#{@group.customize.coverPhoto})"
      @coverView.show()
    else
      @coverView.hide()

        cssClass : "container"
        size     : height : 315

      resizedImg = @getResizedImage(@group.customize?.coverPhoto)
      @coverView = new KDCustomHTMLView
        tagName    : 'figure'
        attributes :
          style    : "background-image: url(#{resizedImg});"

      @listController = new KDListViewController
        startWithLazyLoader : no
