I'm test driving imageResizer.net and trying to utilize the 404 plugin capabilities but umbraco is getting in the way. The code for imageresizer is definately installed correctly after visiting http://localhost//resizer.debug.ashx and works just fine on images that exist. the problem seems to be that umbraco is trying to intercept the call to an image if it is not found(404) and has a "?404=" in the querystring. imageresizer.net uses the querystring to figure out what to do and in this case what image to show if the requested image is not found. I've already set the umbracoReservedPaths to include "~/images/" in it to tell umbraco to leave any requests to images alone but it's requestModule keeps kicking in when an image is requested and not found.
Don't know the answer to your question. But have you checked out imagegen? This package is well known in the Umbraco community and is really awesome. Think it has some 404 settings as well. You might want to check it out.
ImageResizer.net and Umbraco 4.7.1
I'm test driving imageResizer.net and trying to utilize the 404 plugin capabilities but umbraco is getting in the way. The code for imageresizer is definately installed correctly after visiting http://localhost//resizer.debug.ashx and works just fine on images that exist. the problem seems to be that umbraco is trying to intercept the call to an image if it is not found(404) and has a "?404=" in the querystring. imageresizer.net uses the querystring to figure out what to do and in this case what image to show if the requested image is not found. I've already set the umbracoReservedPaths to include "~/images/" in it to tell umbraco to leave any requests to images alone but it's requestModule keeps kicking in when an image is requested and not found.
Example:
http://localhost/images/noimage.jpg - IIS 7 returns 404 not found as expected
http://localhost/images/noimage.jpg?404=default - umbraco spites out "Invalid URI: the format of the URI could not be determined" and breaks on line 89 of requestModule.cs
Any suggestions to prevent umbraco's requestModule from kicking in in this scenario?
Thanks!
Hi,
Don't know the answer to your question. But have you checked out imagegen? This package is well known in the Umbraco community and is really awesome. Think it has some 404 settings as well. You might want to check it out.
Cheers,
Richard
is working on a reply...