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.Respons e.ContentType = "image/jpeg";
context.Respons e.Cache.SetCach eability(HttpCa cheability.NoCa che);
context.Respons e.BufferOutput = false;
context.Respons e.WriteFile("/photos/1.jpg");
}
public bool IsReusable {
get {
return false;
}
}
}
Your help is greatly appreciated,
Tem