How to paste as image in editor?

pinEdit

How to paste as image in editor?


leeka 01-21-2010, 2:53
There is an important request from my client, they need to be able to copy the image from either Word or somewhere, and paste it into the pinEdit editor.

I have tried that with the current version, an empty box is created in the editor, but no image is showing, though the img src is pointing to the C:\Windows\Trash folder.

I'd like to know how we can allow the client to paste image in editor, instead of just using the "insert image" function?

Please advise. Thanks.

Re: How to paste as image in editor?


Pintexx Support 01-21-2010, 2:57
Hello,

this should normally work in intranet.
With IE7+ there might be a security issue so that local images are not displayed.

Regards,
Hans-Peter

Re: How to paste as image in editor?


leeka 01-22-2010, 8:18
The users are using IE7.
Is there anyway that we can overcome this issue? When the user pastes the image into the editor, is there a way or event for me to save the image to the server first?

Re: How to paste as image in editor?


Pintexx Support 01-25-2010, 9:44
Hello,

we know this problem and we had a lot of request for this.

The problem is that you have to access a local image from Javascript which is not allowed.

For this you need an ActiveX control or a Java applet.

There is currently no event after inserting an image but a workaround could be to create your own routine and replace the existing one.

Regards,
Hans-Peter