Images not appearing on XFormsStatistics

Vote:
 
I have an xform on a template which is used to create 'polls' type functionality. However when I show the statistics the images which create the bars on the graph are broken links. When I right click and look at their properties I see the url is 'http://localhost/em/images/ten.gif' - the 'ten.gif' image is in the images directory under localhost but of course there is not going to be any 'en' folder as this is the EpiServer language. Anyone got any ideas ??? Thanks Jim
#12769
Mar 25, 2008 18:35
Vote:
 
Greetings Jim! I have tried to recreate your problem but with no success. The link to the image which you described contains the section /em/. Was this correct or was it just a misprint of /en/? Are you using friendly url:s or not? Are these the only resources that have a broken link on your web site?
#14863
Mar 25, 2008 18:46
Vote:
 
Hello again! If you are running a multi langugage site with friendly url you probably have to add the WebControl FriendlyUrlRegistration to your pages. In our 4.6x templates we add the following to the header.ascx-file:
#14864
Mar 25, 2008 18:46
Vote:
 
Hi Linus, To answer your questions , yes I am using friendly urls, I am also using the component in the header. Yes the image links do contain /en/ (when I typed /em/ this was a mistake). Anyway, when I view the source of the page, the image source is actually a relative url, and looks something like ../images/ten.gif, for some reason this is getting translated into http://localhost/en/images/ten.gif, so it looks like it is a friendly url or globalisation issue. Any more ideas you have would be most welcome. Jim
#14865
Mar 25, 2008 18:46
* 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.