Knowledgebase
How do I restrict the size and type of files that can be uploaded through the Asset Manager?
Posted by Frank Calabretta on 14 January 2013 02:55 PM
You can change the settings that restrict file types & sizes that can be uploaded using the Asset Manager:

To restrict the file types that can be uploaded, follow these steps:

  1. Open the file: cmsv3/shared_library/tools/wysiwyg_editor/assetmanager/i_upload_object_FSO.asp
  2. Scroll down to the bottom of the page to Line 235
  3. Add or remove the specific file types by modifying the variable: oUpload.AllowedTypes. Separate all specified file types with a pipe i.e. "gif|jpg|png|wma|wmv|swf|doc|zip|pdf|txt|ico"
  4. Save and upload to your server

To restrict the file size that can be uploaded, follow these steps:

  1. Open the file: cmsv3/shared_library/tools/wysiwyg_editor/assetmanager/i_upload_object_FSO.asp
  2. Scroll down to the bottom of the page to Line 237
  3. Define the maximum allowable file size by modifying the variable oUpload.MaxFileSize. Value must be specified in bytes
  4. Save and upload to your server

(0 vote(s))
This article was helpful
This article was not helpful

Comments (0)
Help Desk Software by Kayako dmxready.helpserve.com