media path

4 posts, 0 answers
  1. Troika
    Troika avatar
    101 posts
    Member since:
    Feb 2013

    Posted 20 Dec 2013 Link to this post

    when I deploy the site then it don't recognize the image path but it works on localhost:

    I'm using this code to define paths:

    RadEditor1.ContentFilters = Telerik.Web.UI.EditorFilters.MakeUrlsAbsolute;

    string[] viewImages = new string[] { "~/images/content/pagina" };

    string[] uploadImages = new string[] { "~/images/content/pagina" };

    string[] deleteImages = new string[] { "~/images/content/pagina" };


    RadEditor1.ImageManager.ViewPaths = viewImages;

    RadEditor1.ImageManager.UploadPaths = uploadImages;

    RadEditor1.ImageManager.DeletePaths = deleteImages;


    so the idea is when open the media manager it goes automatically to that path.... but when deploy I get an empty path field

  2. Ianko
    Admin
    Ianko avatar
    1940 posts

    Posted 21 Dec 2013 Link to this post

    Hello,

    The problem could be related to the configured permissions of the folder. I suggest verifying that they are set correctly to full permissions for the corresponding users via the IIS manager.  

    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.
  3. Troika
    Troika avatar
    101 posts
    Member since:
    Feb 2013

    Posted 21 Dec 2013 Link to this post

    ok I will check that.

    then I can upload a image to there and when editor again it will show the image itself on the editor or the image url?

    I would like to show the image directly on editor so please if not indicate how can I show direct the image

  4. Ianko
    Admin
    Ianko avatar
    1940 posts

    Posted 24 Dec 2013 Link to this post

    Hello,

    I am not sure if I understand correctly your questions.

    When the Image Manager is set with correct configurations, the user should be able to upload, delete and insert images in the paths and the editor's content are. These files should be available in the set folder.

    If this is not the requested information, please get back to me with more information about how could I assist you further.

    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