This is a migrated thread and some comments may be shown as answers.

Pdf content image in editor

1 Answer 61 Views
Editor
This is a migrated thread and some comments may be shown as answers.
vikram
Top achievements
Rank 1
vikram asked on 23 Dec 2008, 09:46 AM
Hi,
    How can I paste the image contents from PDF file in the rad editor as it is done in the MS Word document.
Thanks
Vikram Kumar

1 Answer, 1 is accepted

Sort by
0
Rumen
Telerik team
answered on 23 Dec 2008, 01:25 PM
Hi Vikram,

When you copy an image from external location such as MS Word document or a PDF file, then its src points to your hard disk, which is not accessible in internet.

In order to use images in a web page, they need to be accessible using HTTP protocol - that is, it means they must be uploaded to a web server (which can be your own computer of course, only that the images are provided by the web server software, and not by the operating system).

Unfortunately the automatic image upload to the server is not possible with javascript code, because Javascript cannot access the local file system from outside - it would be a major security violation.
The automatic image upload cannot be implemented without using ActiveX or some other software, installed on the client, but we do not use either technique because of browser compatibility and that the ActiveX components are forbidden by the corporate networks.

What we suggest is to manually upload the image using the Upload functionality of the RadEditor's Image Manager dialog and insert it into the content area after that.

Best wishes,
Rumen
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
Editor
Asked by
vikram
Top achievements
Rank 1
Answers by
Rumen
Telerik team
Share this question
or