Developing a simple ASP.NET/MVC application for photoshop, how to do it?
I found this website (photoblog) http://www.OneReaction.net/
and I am very curious how this is done: 1) From the source code, you cannot see the url of the image 2) How do I overlay copyright information on the image without changing the base photo?
Ideas? Thank!
source to share
Check out this link: Watermarks in ASP.NET with HttpHandler . It describes a method for adding watermarks to every image on your site. By changing the path HttpHandler
in web.config
to something less general (for example /photos/*.jpg
), you can limit the effect to a subset of the images.
source to share
I believe ImageHandler.ashx intercepts requests and puts the copyright information on the image before being delivered to the browser. The handler is probably configured to capture all attempts to navigate to the .jpg file.
The documentation in the drawing namespace should help you determine the actual code to insert text into an image.
source to share