Insert Image preview are missing (Lenya 2.0.2)
Fülöp Levente-Balázs <[email protected]>
| Newsgroups | gmane.comp.cms.lenya.user |
|---|---|
| Organization | S.C. ArtSoft-Consult S.R.L. |
| Message-ID | <[email protected]> |
Hi all, I'm working on a project based on Lenya 2.0.2. I deployed it in the lenya-2.0.2 context path. When I try to insert an image using BXE editor, in the "Insert Image" popup the previews for the images are missing. Looking in the generated HTML source, the <img> tag src shows the context path doubled, and this is the reason why the previews are not displayed. Taking a deeper look, it seems, that o.a.c.e.InsertAsset class creates an 'asset2proxyUrl' map, where the assets URL are put as value, but, these URLs contains the context-path. Now, the .jx file use these URLs as the src for the <img> tag. And, the context path gets duplicated, because the pipeline from usecase.xmap use the "proxy" transformer at the end. My question is: how can be solved this problem? Thanks in advance, Levi