Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
I have a folder "~/Resources/Images" where i put in all image that are used for the site to work, like loader gifs and icons.
I also wanted to add favicon png's to this folder and added versioning to these files to prevent the caching of new versions:
<link rel="icon" type="image/png" sizes="16x16" href="/Resources/Images/Favicon/favicon-16x16.png?version=1">
<link rel="icon" type="image/png" sizes="32x32" href="/Resources/Images/Favicon/favicon-32x32.png?version=1">
<link rel="icon" type="image/png" sizes="48x48" href="/Resources/Images/Favicon/favicon-48x48.png?version=1">
I found out that the questionmark in the url in combination with these parameters raises an error for imageprocessor. By intercepting the ValidatingRequest event, i found out that all images files, with or without a questionmark in the url, are being processed by ImageProcessor.
What i want, also for performance reasons, is to exclude the complete "Resources" folder from being processed by ImageProcessor. Is the a way or a setting to achieve this? Or is it possible to let ImageProcessor only process files in the "~/Media" folder?
I couldn't find it in the imageprocessor documentation. In the imageprocressor "processing.config" file the setting "interceptAllRequests" is set to false but still all images are getting processed at the moment.
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted