Setting autoresize and maxsize of Image before uploading

Last post 12-13-2004, 9:24 AM by Adam. 1 replies.
Sort Posts: Previous Next
  •  12-13-2004, 8:57 AM 2997

    Setting autoresize and maxsize of Image before uploading

    Where can I find these properties ?
  •  12-13-2004, 9:24 AM 2998 in reply to 2997

    Re: Setting autoresize and maxsize of Image before uploading

    Per,


    Those properties have been to move to Security security policy configuration files (CuteSoft_Client/CuteEditor/Configuration/Security/Default.config).

    Cute Editor 4.0 allows developers to assign a pre-defined set of permissions by group or individual. This prevents a normal user to access the administration functionality.

    The details of permissions are specified by an XML security policy file. Each level maps to a specific file. The default mappings:

    • admin—maps to admin.config
    • default—maps to default.config
    • guest—maps to guest.config

    default.config

     
     <security name="RestrictUploadedImageDimension">true</security>
     <security name="AutoResizeUploadedImages">true</security>
     <security name="MaxImageWidth">640</security>
     <security name="MaxImageHeight">480</security>
     <security name="MaxImageSize">100</security>
     <security name="MaxMediaSize">100</security>
     <security name="MaxFlashSize">100</security>
     <security name="MaxDocumentSize">100000</security>
     <security name="ImageGalleryPath">~/uploads</security>


    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

View as RSS news feed in XML