Need help with image upload folder

Last post 07-04-2013, 7:03 AM by arronlee. 2 replies.
Sort Posts: Previous Next
  •  01-30-2013, 11:13 PM 76762

    Need help with image upload folder

    I would like to have all images uploaded to go into my virtual DNN folder /httpdocs/Portals/0/Uploads

    I have used in the config file ;

    <security name="ImageGalleryPath">~/Portals/0/Uploads</security>

    <security name="ImageGalleryPath">/Portals/0/Uploads</security> 

    <security name="ImageGalleryPath">~/Uploads</security> 

    <security name="ImageGalleryPath">/Uploads</security> 

    <security name="ImageGalleryPath">~/httpdocs/Portals/0/Uploads</security> 

    <security name="ImageGalleryPath">/httpdocs/Portals/0/Uploads</security> 
     

    And no matter what when I click the image upload buttoin it always defaults to  /httpdocs/Portals/0

    Any help appreciated! 

  •  01-31-2013, 12:42 PM 76764 in reply to 76762

    Re: Need help with image upload folder

    Hi RevPeter,

     

    1. Please open your web.config

     

     

    2. Find the section below, it should under the " <htmlEditor defaultProvider="CEHtmlEditorProvider" >" section.

     

     UseDNNRootImageDirectory="true"

     

    3. Change it to  

     

     UseDNNRootImageDirectory="false"

     

    4. Now your setting should work. By the way the config file for site host/admin is "\Providers\HtmlEditorProviders\CEHtmlEditorProvider\CuteSoft_Client\CuteEditor\Configuration\Security\Admin.config"

     

    Regards,

     

    Ken 

  •  07-04-2013, 7:03 AM 77649 in reply to 76762

    Re: Need help with image upload folder

    Hi RevPeter,

    I agree with Kenneth, change:  UseDNNRootImageDirectory="true" to  UseDNNRootImageDirectory="false",

    and then have a try.

    Ifitdoesn'tworkeither,you'd better ask some image processing SDK for help to upload images.

    Good luck and hope you success.


    Best Regards,
    Arron





    Next Tomorrow is Another Day.
View as RSS news feed in XML