You have no items in your shopping cart.

Tuesday, July 16, 2019 3:21:13 PM

iis server blocking access to .webp files

Avatar

Posted: 3 months ago

#8778 Quote

Support

Posted: 3 months ago

#8778 Quote
So I'm trying to add .webp image support, which is run on iis.

now the image exists on the server and the file name is correct but when I try to load the image via url address in the browser I get the 404 error.

    404 - File or directory not found. The resource you are looking for might have been removed, had its name changed, or is temporarily unavailable.
Avatar

Posted: 3 months ago

#8779 Quote

Support

Posted: 3 months ago

#8779 Quote
It's beter add this config to your webconfig file

<configuration>
<system.webServer>
<staticContent>
<mimeMap fileExtension=".webp" mimeType="image/webp" />
</staticContent>
</system.webServer>
</configuration>

Powered by nopCommerce

Copyright © 2019 FoxNetSoft. All rights reserved