"Insert image" in Make Template editor assumes Uploads folder

Last post 11-07-2013, 10:55 AM by Symo. 4 replies.
Sort Posts: Previous Next
  •  10-29-2013, 11:17 AM 78219

    "Insert image" in Make Template editor assumes Uploads folder

    I am having the same sort of problem as described in thread 58757. 
    While creating or modifying a template (window title 'Make Template'), "Insert image" gives a server error "Could not find a part of the path 'path-to-root\Uploads'. (there is no uploads folder)
     
    Insert image works elsewhere, the problem is only in the template editor. 
     
    I set options programatically:

    Editor1.SetSecurityImageGalleryPath("/MyImages");

    Editor1.SetSecurityImageBrowserPath("/MyImages");

    Editor1.SetSecurityTemplateGalleryPath("/ MyTemplates");

      
  •  10-29-2013, 1:04 PM 78220 in reply to 78219

    Re: "Insert image" in Make Template editor assumes Uploads folder

    Hi oleko,

     

    Please try the code below

     

      Editor1.Setting["security:TemplateGalleryPath"] = "~/myTemplate";

     

    Regards,

     

    Ken 

  •  11-01-2013, 2:10 PM 78289 in reply to 78220

    Re: "Insert image" in Make Template editor assumes Uploads folder

    Sorry, same result
  •  11-07-2013, 3:02 AM 78318 in reply to 78289

    Re: "Insert image" in Make Template editor assumes Uploads folder

    oleko:
    Sorry, same result

     

    Try setting the path in Page_Init.

     

    protected void Page_Init(object sender, EventArgs e)
    { 
    
    

    } 


    asp.net Chat http://cutesoft.net/ASP.NET+Chat/default.aspx
    Web Messenger: http://cutesoft.net/Web-Messenger/default.aspx
    asp.net wysiwyg editor: http://cutesoft.net/ASP.NET+WYSIWYG+Editor/default.aspx
    asp wysiwyg html editor: http://cutesoft.net/ASP
    asp.net Image Gallery: http://cutesoft.net/ASP.NET+Image+Gallery/default.aspx
    Live Support: http://cutesoft.net/live-support/default.aspx

  •  11-07-2013, 10:55 AM 78321 in reply to 78318

    Re: "Insert image" in Make Template editor assumes Uploads folder

    I have the same issue. I don't understand why it needs an 'uploads' folder anyway? We'd just like the user to browse their machine for images to upload. Also does it insert them inline or just add them as a link?

     

    Surely it should be ImageGalleryPath for the images folder?

    EDIT getting really annoyed with FF adding <br> every time you backspace...

     

    EDIT2: Editor1.Setting["security:ImageGalleryPath"] = "~/temp";

    This doesn't work either..

View as RSS news feed in XML