Go to Web.config file and find a setting named “Media.RequestExtension” and remove the extension value.
Sample:
<!-- MEDIA - REQUEST EXTENSION
The extension to use in media request URLs. If the value is not set, the Extension field of the individual media items will be used (ie. JPG, GIF, etc.)
Default value: "ashx"-->
<setting name="Media.RequestExtension" value="ashx" />
Remove ashx
from the value.
<setting name="Media.RequestExtension" value="" />
Sample:
Before
change : /~/media/Images/logo.ashx
No comments:
Post a Comment