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

RadEditor ExportToPDF Images

1 Answer 37 Views
Editor
This is a migrated thread and some comments may be shown as answers.
João
Top achievements
Rank 1
João asked on 20 Jan 2011, 06:35 PM
Hi.
I'm using the radEditor to convert some html content to pdf and I need to insert Images on it.
How can I do so using html?

I've tryed putting this
"<img src=\"C:\\SOURCES\\PortalIntranet\\Dev\\IntranetV3_1\\Modules\\SIGAQUM\\TemplatesRealatorios\\teste.png\" alt=\"\"/>"

but when I try to open the generated pdf it shows me a corruption on file error.

Thank you,

1 Answer, 1 is accepted

Sort by
0
Rumen
Telerik team
answered on 21 Jan 2011, 05:06 PM
Hello João,

You are trying to export an image which src point to a local hard drive, but it is not accessible due to security reasons.


The image files should be accessible via the HTTP protocol, which means that they should be uploaded on the server. You can upload the image from the hard disk to the server using the Upload functionality of the Image Manager. You can see how to enable it in this help article: Images.


Regards,
Rumen
the Telerik team
Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.
Tags
Editor
Asked by
João
Top achievements
Rank 1
Answers by
Rumen
Telerik team
Share this question
or