Files

  Previous topic Next topic JavaScript is required for the print function Mail us feedback on this topic! Mail us feedback on this topic!  

Store files in file system

Indicates if files should be stored in the file system.

Store files in database

Indicates if files should be stored in the database.

Generate thumbnails

Indicates if the CMS generates image thumbnails on the disk when a resized version of the image is displayed. This option only applies if files are stored in the file system. It improves site performance.

Files folder

The folder on the disk where the files are stored. You can use either

 

physical disk path - e.g. c:\myfiles\mysite
virtual path - ~/UploadedFiles

 

If you do not specify any value, the files are stored in folder ~/<site code name>/files.

BizForm files folder

If no value is entered, the files are stored in ~/<site code name>/BizFormFiles.

Maximum file size to cache

Specifies the maximum size of a file in kilobytes that is allowed to be cached.

Redirect files to disk

If checked, file requests are redirected to the physical file in the file system if possible.

Upload extensions

Allowed file extensions for the uploaded files. You can restrict the types of uploaded documents to (e.g. ‘gif;jpg;doc;pdf’). It allows you to block users from uploading potentially dangerous files, such as ASPX scripts. If no value is specified, all types of files can be uploaded.

Check if files are published

If checked, only files that are in the Published workflow step can be accessed from the live site when a workflow is applied to the document.

Check files permissions

If checked, document permissions are applied to the files.

File import folder

Path to folder used for storing files to be imported by the File import module.

Automatic image resize on upload (width, height, max side size)

Depending on which values you fill in, the functionality is the following when uploading images:

 

No values are entered - images will not be resized
Only width or only height - images will be resized so that the width/height matches the entered value; the other dimension is also resized so that the aspect ratio is kept
Both width and height - images will be resized so that both dimensions match the entered values; the aspect ratio is not kept in this case
Max side size - if one of the image's sides is larger than this value, the image will be resized so that its larger side's dimension matches the entered value; the aspect ratio is kept and width and height settings are not applied

 

More info on this page of Kentico CMS Developer's Guide.