 
   # this includes a fallback for when the embedimageindex is out of bounds
   # it will however still request a nonsensical image src
-    @imageLink  = @getData().link_embed?.images?[@getData().link_embed_image_index]?.url or\
-                  @getData().link_embed?.images?[0]?.url or\
+    @imageLink  = proxifyUrl(@getData().link_embed?.images?[@getData().link_embed_image_index]?.url) or\
+                  proxifyUrl(@getData().link_embed?.images?[0]?.url) or\
                   "data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==" # hardcode a default
 
     @imageAltText = (@getData().link_embed?.title + \


    @setClass "active"

  setFavicon:(fav="")->
    @favicon = fav

    @faviconImage.setDomAttributes src:@favicon
    @faviconImage.show()

  viewAppended:->
    super()

proxifyUrl =(url)->
  "https://api.koding.com/1.0/image.php?url="+ encodeURIComponent(url)

class EmbedBoxLinksViewItem extends KDListItemView

  constructor:(options,data)->
