We've just deployed to a new environment and expected images from the Media library to be referenced with their original file extensions e.g. .jpg as Media.RequestionExtension setting is "". They are however server as .ashx files rather than .jpg etc which is different than other environments.

I cant see any relevant differences in App_config and web.config between environments.

I know this post may be lacking details but not sure what else to include as my understanding is that Media.RequestionExtension setting should control this.

  • 1
    Just to make sure, it's Media.RequestExtension and not Media.RequestionExtension. Also can you view /sitecore/admin/showconfig.aspx and make sure it's actually "" in what Sitecore is building at its config.
    – Chris Auer
    Jun 14, 2017 at 2:18
  • Sorry - that was a typo with Media.RequestionExtension. I can only view the config using showconfig on the Authoring server unfortunately
    – Steve Ward
    Jun 16, 2017 at 6:28
  • I am also having this problem and so far have not found any solutions. Did you end up solving it?
    – Ky.
    Sep 26, 2019 at 22:16
  • are you refering to Media.RequestExtension ? if its blank sitecore will return default file original extension. Feb 16, 2021 at 10:39


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Browse other questions tagged or ask your own question.