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

Image browser and remote URL's

1 Answer 290 Views
Editor
This is a migrated thread and some comments may be shown as answers.
JohnVS
Top achievements
Rank 1
JohnVS asked on 31 Jul 2013, 03:44 PM
We have been investigating the use of Kendo's Editor in our cloud server environment, but we require an image browser to go with it. The complication is that we are using load balancing, so we don't have one server with one relative path to upload to. We use Azure Storage blob containers to store our users' files, so any URL where files would be located would be remote.

Is there any way to use a remote URL to handle images with the image browser for the Editor?

(if I left out any information you need, please let me know)

1 Answer, 1 is accepted

Sort by
0
Dimo
Telerik team
answered on 02 Aug 2013, 12:03 PM
Hi John,

The Kendo UI Editor uses internally a Kendo UI Upload for uploading the user images.

In order to support asynchronous upload to a different domain, you need to allow this explicitly on that domain's server. For more information about cross-domain AJAX, please refer to:

https://developer.mozilla.org/en-US/docs/HTTP/Access_control_CORS

http://blogs.msdn.com/b/carlosfigueira/archive/2012/02/20/implementing-cors-support-in-asp-net-web-apis.aspx


The important property to set is Access-Control-Allow-Origin.

You can also take a look at the following forum post:

http://www.kendoui.com/forums/kendo-ui-web/upload/cross-domain.aspx#ozaPSFPckE6PFstJh8diYQ

Regards,
Dimo
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Tags
Editor
Asked by
JohnVS
Top achievements
Rank 1
Answers by
Dimo
Telerik team
Share this question
or