 class VChatDisplay:UIView
 {
     weak var controller:CChat!
-    weak var image:UIImageView!
+    weak var imageView:UIImageView!
     weak var layoutHeight:NSLayoutConstraint!
     let kMinHeight:CGFloat = 5
     private let kBorderHeight:CGFloat = 1
+    private let kMaxHeight:CGFloat = 200
+    private let kAnimationDuration:NSTimeInterval = 0.3
     
     convenience init(controller:CChat)
     {

            metrics:metrics,
            views:views))
        addConstraints(NSLayoutConstraint.constraintsWithVisualFormat(
            "H:|-0-[image]-0-|",
            options:[],
            metrics:metrics,
            views:views))
        addConstraints(NSLayoutConstraint.constraintsWithVisualFormat(
            "V:|-0-[border(borderHeight)]-0-[image]-0-|",
            options:[],
            metrics:metrics,
            views:views))
    }
}
        border.translatesAutoresizingMaskIntoConstraints = false
        border.backgroundColor = UIColor.bubbleMine()
        
        let imageView:UIImageView = UIImageView()
        imageView.contentMode = UIViewContentMode.ScaleAspectFill
        imageView.clipsToBounds = true
        imageView.userInteractionEnabled = false
        imageView.translatesAutoresizingMaskIntoConstraints = false
        self.imageView = imageView
        
        addSubview(border)
        addSubview(imageView)
        
        let views:[String:AnyObject] = [
            "border":border,
            "imageView":imageView]
        
        let metrics:[String:AnyObject] = [
            "borderHeight":kBorderHeight]
