         key      : "e8d8b766e2864a129f9e53460d520115"
         endpoint : "preview"
         maxWidth : 560
-        maxHeight: 300
+        maxHeight: 200
         wmode    : "transparent"
         error    : (node, dict)=>
           callback? dict

            @hide()

        # rich is a html object for things like twitter posts
        # when "rich"
        #   html = data?.object?.html
        #   html = $(html).addClass "custom-twitter"

        # fallback for things that may or may not have any kind of preview
        # or are links explicitly
        # also captures "rich content" and makes regular links from that data
        when "link","rich"
          @settingsButton?.options?.menu = $.extend {}, @settingsButton?.options?.menu,  {
            'Remove Image from Preview' :
              callback : =>
                @addEmbedHiddenItem "image"
                @refreshEmbed()
                @getDelegate()?.emit "embedHideItem", @embedHiddenItems
                no
            'Remove Description from Preview'   :
              callback : =>
                @embedHiddenItems.push "description"
                @refreshEmbed()
                @getDelegate()?.emit "embedHideItem", @embedHiddenItems
                no
              }
          html = """
              <div class="preview_image #{if ("image" in @getEmbedHiddenItems()) or not data?.images?[0]? then "hidden" else ""}">
                <a class="preview_link" target="_blank" href="#{data.url or url}"><img class="thumb" src="#{data?.images?[0]?.url or "this needs a default url"}" title="#{(data.title + (if data.author_name then " by "+data.author_name else "")) or "untitled"}"/></a>
              </div>

      size          :
        width       : 30
      loaderOptions :
        color       : "#fff"
        shape       : "spiral"
        diameter    : 30
        density     : 30
