     addAddress: (address) ->
         ContactActionCreator.createContact address
 
+    displayImages: (event) ->
+        event.preventDefault()
+        @setState messageDisplayImages: true
+
+    displayHTML: (event) ->
+        event.preventDefault()
+        @setState messageDisplayHTML: true
+
 MessageContent = React.createClass
     displayName: 'MessageContent'
 

                                className: 'btn btn-default',
                                type: "button",
                                ref: 'imagesDisplay',
                                onClick: @displayImages,
                                t 'message images display'
                iframe
                    'data-message-id': @props.message.get 'id'

                        rich: prepared.rich
                        imagesWarning: imagesWarning
                        composing: @state.composing
                        displayImages: @displayImages
                        displayHTML: @displayHTML
                    div className: 'clearfix'
        else
            li
