void StaticImage(String url) { try { AttachmentInfo info = _baseController.StaticImage(url); if (info == null || info.Stream == null) { return; } Response.ContentType = info.Mime; Response.BinaryWrite(info.Stream); } catch (Exception ex) { WriteImageException(ex); } }