I am using C# ASP.NET. I generate user friendly image names and use rewrite to find the correct image name. Normally in firefox when i right click an image and hit view image i get the image in my browser. However these images are acting like downloads, why?
global.asax:
void Application_BeginRequest(Object sender, EventArgs e)
{
lazy(Context, HttpContext.Current.Request);
}
file.cs:
void lazy(...)
{
...
context.RewritePath(sz);
//sz = "/user/username/type/image.png"
}