Image manager physical path

2 posts, 0 answers
  1. Darren
    Darren avatar
    36 posts
    Member since:
    Jan 2008

    Posted 31 Jul 2013 Link to this post


    I put the physical path in Image manager

                <ImageManager 
                    ViewPaths="C:\MyData\Temp\images\pub"
                    UploadPaths="C:\MyData\Temp\images\pub"
                    DeletePaths="C:\MyData\Temp\images\pub" 
                    MaxUploadFileSize="512000">
                </ImageManager>

    It gave me this error:

    'C:\MyData\Temp\images\pub' is not a valid virtual path.



    Is there anyway I can use physical path instead of virtual path for image manager. The reason is we have 3 different websites need to access the same DB and image folder.

    I am using 2011 Q2.

    Darren
  2. Rumen
    Admin
    Rumen avatar
    14075 posts

    Posted 01 Aug 2013 Link to this post

    Hello,

    To provide such ability, you should implement a custom file browser content provider as shown in the following KB article: Use RadFileExplorer with physical and shared folder's paths. You can see how to attach a custom provider to RadEditor's File Browser dialogs (Image, Document, Media and other) in this live demo: Custom File Dialog Content Provider.

    Best regards,
    Rumen
    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