cancel
Showing results for 
Search instead for 
Did you mean: 

Inserting images

tonizz
Champ in-the-making
Champ in-the-making
when you try to insert an image to a web content, in the 2.1 release you can browse the web content to search the image and select it with clicks. Up to here, everything is ok, But when you select it the route writed for alfresco is something like "/images/logo.jpg", when you submit the page the picture is not, you get a broken link because the route is not ok, the route should not start with the character "/", with this character, the navigator is searching in the SERVER ROOT and not in the APPLICATION ROOT.

do you think that it is a bug or am I wrong and I am not performing in the correct way????

Thanks.
1 REPLY 1

arielb
Champ in-the-making
Champ in-the-making
the image picker inserts a web application root relative path.  if you are using this in a webapp that is not the ROOT webapp, you'll have to preface links with the contextPath to get the links to resolve properly in your renditions of the form instance data.