.bbimage { width:expression(this.width > 800 ? "800px" : this.width); } .largeavatar { -ms-interpolation-mode: nearest-neighbor; }