HttpHandler - dynamic images
-
I'm using a CAPTCHA image generator from Code Project and would like to wrap this in to a web control. So I was wondering what's the best way to display a dynamic image from a memorystream? Currently I'm setting the img src to a handler which works fine. But the handler needs to be a servable page and can't be wrapped in to a control dll. I'd prefer not to write the image to a temp directory. Is there an alternative or a nifty trick like putting the handler in as a resource in the dll?
-
I'm using a CAPTCHA image generator from Code Project and would like to wrap this in to a web control. So I was wondering what's the best way to display a dynamic image from a memorystream? Currently I'm setting the img src to a handler which works fine. But the handler needs to be a servable page and can't be wrapped in to a control dll. I'd prefer not to write the image to a temp directory. Is there an alternative or a nifty trick like putting the handler in as a resource in the dll?
Check this out http://projectdistributor.net/projects/project.aspx?projectID=167[^]
Vasudevan Deepak Kumar Personal Homepage Tech Gossips
Yesterday is a canceled check. Tomorrow is a promissory note. Today is the ready cash. USE IT. -
Check this out http://projectdistributor.net/projects/project.aspx?projectID=167[^]
Vasudevan Deepak Kumar Personal Homepage Tech Gossips
Yesterday is a canceled check. Tomorrow is a promissory note. Today is the ready cash. USE IT.Ehhh, I'm already using a httphandler (ashx). That's the problem, you can't wrap an ashx page in a web control dll. It has to be a servable page on the actual website. The point of my question is how to achieve this functionality within a seperate web control dll.