Image manager using CDN

2 posts, 0 answers
  1. Tom
    Tom avatar
    7 posts
    Member since:
    Jan 2014

    Posted 07 Jan 2014 Link to this post

    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.
  2. Ianko
    Admin
    Ianko avatar
    1940 posts

    Posted 09 Jan 2014 Link to this post

    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.
Back to Top