 
     render_using_server: ->
         src = get_blob_url(@props.project_id, @extension(), @props.sha1) + "&attempts=#{@state.attempts}"
-        return <img src={src} onError={@load_error}/>
+        return <img src={src} onError={@load_error} width={@props.width} height={@props.height} />
 
     encoding: ->
         switch @props.type

        sha1       : rtypes.string   # one of sha1 or value should be given
        value      : rtypes.string
        project_id : rtypes.string

    getInitialState: ->
        attempts : 0

                        type       = {type}
                        sha1       = {value if typeof(value) == 'string'}
                        value      = {value.get('value') if typeof(value) == 'object'}
                        width      = {@props.message.getIn(['metadata','width'])}
                        height     = {@props.message.getIn(['metadata','height'])}
                        />
                when 'application'
                    switch b
