![]() | |
![]() |
| | Thread Tools | Search this Thread | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
I need to write a custom handler when the handler is accessed, it returns the photo in jpg with 2 lines on the bottom of the image. lower left "Taken by" lower right "January 2 2008" This is what I have so far... public class certificate : IHttpHandler { public void ProcessRequest (HttpContext context) { context.Response.ContentType = "image/jpeg"; context.Response.Cache.SetCacheability(HttpCacheab ility.NoCache); context.Response.BufferOutput = false; context.Response.WriteFile("/photos/1.jpg"); } public bool IsReusable { get { return false; } } } Your help is greatly appreciated, Tem |
#3
| |||
| |||
|
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
| |