Virtual Happy Hour this month, Jun 28, we'll be getting a sneak preview at our soon to launch SaaS CMS!

Try our conversational search powered by Generative AI!

Problem with displaying of images on EPiServer 5

Hi, I installed the EPiServer5 because our customer wanted development of its intranet on the new version of EPiServer, but found problems with displaying of images. Probably I set something wrong. 1. In the FileManagement I can upload image without any problem but if I want to insert the image from "editor" into some "XHTML property" of page, the field "Image file" in the "information" area within popup is always empty after choosing the image on "..." button. 2. The next problem is property "Image url". If I choose image and insert it into "Image url" property I got for example the "/Global/ari.jpg" but that image is broken on the site because the system can not find the file on "". I used the next settings in web config for configuration of virtual paths (they are default settings after installation of EPiServer5): ..... .... Am I working something wrong? Best Regards Vlada
Dec 07, 2007 12:11
i had the same problem - you need to: make sure you've added a wildcard application mapping in the IIS. Properties on the site, choose the tab Home Directory then click on the button Configuration. Look for a wildcard: * that is pathed to c:\windows\\framework\v2.0.50727\aspnet_isapi.dll your aspnet_isapi.dll in .net 2.0 frame work folder. Verify also that "check that file exists" is not checked.
Dec 07, 2007 13:42
Here's more info:
Dec 07, 2007 15:34
It works. :):) Thanks Paul.
Dec 07, 2007 15:36

I had simular problems.

But in my case there was made an configuration error. I will share this with you all:

It is crusial that the path attribute of the location node refers to the same name as specified in the virtualPath attribute of the provider node. (And not the name of the physicalPath, whitch was the case for me).

This is correct:

Provider node:
<add showInFileManager="true" virtualName="Global Files" virtualPath="~/Global/" bypassAccessCheck="false" maxVersions="3" indexingServiceCatalog="Web" physicalPath="C:\Inetpub\EPiServerFiles\Globals" name="SiteGlobalFiles" type="EPiServer.Web.Hosting.VirtualPathVersioningProvider,EPiServer"/>

location node:
<location path="Global">
<httpRuntime maxRequestLength="32768"/>
<!-- Setup the StaticFileHandler for the wildcard mapping to work in IIS6 -->
<add path="*" verb="GET,HEAD" type="EPiServer.Web.StaticFileHandler, EPiServer" validate="true"/>
<staticFile expirationTime="-1.0:0:0"/>

If you set the path to Globals, whitch is the name of the physical folder, the files will not show up. They will get broken. (Files with fileextention specified in the staticFileHandler section will function properly, though. Why I'm not sure.)  

Jun 11, 2008 9:43
This thread is locked and should be used for reference only. Please use the Episerver CMS 7 and earlier versions forum to open new discussions.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.