The handler is defined in the web.config with a path expression, which specifies the files to map to the handler. At the moment the path will be *.jpg etc. i.e. process all images, so what you could do is make it more specific by only including images in a specific sub-directory. Alternatively, you could create a sub-directory for the imags not to include, and add another web.config in that directory that resets the handler.
found an issue where images are used in the website and then also used for external newsletters... the above breakpoints work great for the website but for some reason when the images are used in the newsletters, the minimum size break point is used... i.e. 300 pixels is always used instead of a larger size and the image is then blocky...
exclude images?
I'd like to have the ability to exclude certain local images from the uAdaptiveImage handler. How can I do that? many thanks!
Hi John,
The handler is defined in the web.config with a path expression, which specifies the files to map to the handler. At the moment the path will be *.jpg etc. i.e. process all images, so what you could do is make it more specific by only including images in a specific sub-directory. Alternatively, you could create a sub-directory for the imags not to include, and add another web.config in that directory that resets the handler.
Hope this helps,
John
John - how do I specify which directories to use? i.e. I'd like to have uAI only use /media and /libraries only...
My current web.config settings are:
....
many thanks!
found an issue where images are used in the website and then also used for external newsletters... the above breakpoints work great for the website but for some reason when the images are used in the newsletters, the minimum size break point is used... i.e. 300 pixels is always used instead of a larger size and the image is then blocky...
is it possible to have an element on the that allows image references to be excluded by the handler?
also, is the source code available for this project? many thanks!
is working on a reply...