Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more
AI OnAI Off
Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more
I might be missing what the problem is, but do you have a custom controller for ImageData content?
Hello Ted,
Sorry that I was on paternity leave and couldnt answer to your question earlier.
We are currently developing a episerver 7.5 site integrating with our existing single signon implmentation (based on Microsoft WIF).
We ran in to problems when we had to add a below route for few custom validations:
routes.MapRoute( "Default", // Route name "{controller}/{action}/{id}", // URL with parameters new { controller = "DefaultPage", action = "Index", id = "" } // Parameter defaults );
This was offending any requests to images and hence I had to add a custom Image Controller to read and server imagedata.
I know that my custom controller implementation is not the correct way of serving images, but please let me know the correct way of implementing this.
Thanks,
senthil
Hi,
I'm getting a 404 error while viewing the images from website. Thanks to guidance from Henrik, Per Magne that in my previous post:
http://world.episerver.com/Modules/Forum/Pages/Thread.aspx?id=117849
I was able to resolve upload of files. And when I view the image in edit mode via media manager, The image is shown properly. The URL resolves as :
https://memberportalweb.local.bsiuat.com/CMS/Content/Test.jpg
However, when I refer the image in a page, and view from website, it resolves as :
https://memberportalweb.local.bsiuat.com/globalassets/Test.jpg
And I get a 404 error for the image. I did go through links mentioned by Henrik, but couldnt resolve the issue myself. It sounds to me that I'm missing some module in web.config.
Here is my module section :
In IIS Failed request tracing I get the following details. Kindly help resolving the issue. Many thanks in advance.
HttpStatus="404", HttpSubStatus="0", FileNameOrURL="404.htm"
Thanks,
senthil