Portal Engine Questions on portal engine and web parts.
Version 5.x > Portal Engine > problem with image path View modes: 
User avatar
Member
Member
Jason - 12/28/2010 11:19:08 AM
   
problem with image path
I create a page that contains a static html web part with a link to a simple image:

<img src="/CMSTemplates/images/image.gif" />


When I view the page in the browser the src path get "~" added to it, and the image is not found:

<img src="~/CMSTemplates/images/image.gif" />

Any idea why ~ is being added?

Thanks!
Jason


User avatar
Member
Member
Jason - 12/29/2010 9:15:02 AM
   
RE:problem with image path
This seems to be a possible bug with the static HTML WYSIWYG editor. I set the CMSWYSIWYGFixXHTML property to false in the web.config and it fixed the problem.

http://devnet.kentico.com/docs/devguide/index.html?output_filters.htm