Re: Kupu editor insert image issue

Richard Frovarp <[email protected]> Fri, 24 Feb 2012 11:07:50 -0600
Newsgroups gmane.comp.cms.lenya.user
Message-ID <[email protected]>
On 02/23/2012 04:28 PM, Yasser wrote:
> Hi,
>
> I am using lenya 2.0.4. I created a new publication and when I try to 
> edit with kupu, I encounter an issue in adding an image.
>
> Here is what I did.
> 1) Created a new Asset(image) and published it. The generated url is 
> http://127.0.0.1/lenya/dtsps/authoring/index/image.gif
> 2) In kupu editor, I clicked on insert image icon and chose the image.
> 3) I saved the page and published it. Everything is fine so far.
> 4) When I edit the page again and save it, the image url gets appended 
> with itself as 
> http://127.0.0.1/lenya/dtsps/authoring/index/image.gifhttp://127.0.0.1/lenya/dtsps/authoring/index/image.gif 
> and the image doesn't render.
>
> This also happens when I click on the save icon more than once
>
> Is there a patch available for this?
>
> Thanks,
> Yasser
>

I'm not entirely sure how to fix the issue. However, I would simply 
avoid using Kupu. It is no longer being maintained. I would recommend 
adding TinyMCE using these instructions:

http://wiki.apache.org/lenya/HowToInstallTinyMCE3.x