I have an HttpHandler that resizes images and works great for JPG, GIF and PNG. The question I have is double.
1) If I try to go to the page with the image on it via SSL ( https: // ... ), Then the lock will not be displayed in the title bar in IE or FF. I confirmed that this is due to the image. If I remove the handler, a lock will appear.
2) I only want to resize images in one folder. I indicate that the folder in web.config is through
<add verb="*" path="Uploads/Images/*.*" type="..."/>
However, in IIS6 I still need to map .jpg.gif and .png to asp_isapi.dll, so regardless of my PATH in web.config all my images are processed and violate SSL
So any answer will help:
1) Why does my httphandler violate ssl 2) How do I have httphandler on IIS6, which only applies to .jpg (for example) in the partiular folder, and not ALL .jpg?
PLEASE HELP and thank you.
John
UPDATE 1
The idea of using .axhs sounds interesting, but I don’t know exactly what you mean? Do you suggest renaming the images that I want to process into .axhs or just referring to them, which (i.e. img src = images / foo.axhs)? If I went along this route, how can I tell the difference between jpg, gif and png if they all have the same extension? Thanks
UPDATE 2
I am sure that I am not using absolute image paths using "http: //"
UPDATE 3
I also read that it is possible that a separate web.config file in the image directory might also help, but I'm not sure about that ...
PLEASE HELP MAKE SURE QUICKLY: (