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

Image manager using CDN

1 Answer 68 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Tom
Top achievements
Rank 1
Tom asked on 07 Jan 2014, 10:38 AM
Hi I am trying to adjust some code for the image manager so it points to a CDN.
Currently I have it pointing to a local folder:

imageManagerParameters.ViewPaths = New String() {"~/media/thumbnails"}
imageManagerParameters.UploadPaths = New String() {"~/media/thumbnails"}
imageManagerParameters.DeletePaths = New String() {"~/media/thumbnails"}



However if I enter a full URL I get an error
For example: imageManagerParameters.ViewPaths = New String() {"http://646464.rackcdn.com/thumbnails"}

Does anyone know a work around for this?
Thanks in advance.

1 Answer, 1 is accepted

Sort by
0
Ianko
Telerik team
answered on 09 Jan 2014, 03:29 PM
Hello Tom,

Retrieving files in the FileBrowser dialogs of the editor should be further implemented and customized accordingly the application's requirements. Currently the built-in content provider can be used only with folders existing in the used application.

More informaiton about custom content providers can be found in these materials:

Regards,
Ianko
Telerik
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to the blog feed now.
Tags
Editor
Asked by
Tom
Top achievements
Rank 1
Answers by
Ianko
Telerik team
Share this question
or