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

[Solved] Image manager physical path

1 Answer 233 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Darren
Top achievements
Rank 1
Darren asked on 31 Jul 2013, 11:54 PM

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

1 Answer, 1 is accepted

Sort by
0
Rumen
Telerik team
answered on 01 Aug 2013, 01:06 PM
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.
Tags
Editor
Asked by
Darren
Top achievements
Rank 1
Answers by
Rumen
Telerik team
Share this question
or