Storing uploaded files in database or filesystem¶
The following example shows properties necessary to store uploaded files and images on the filesystem and not as default in the database.
The following parameters must be set in insight.properties
document.image.file.directory=/insight/storage
document.image.file.minsize=1000
document.image.original.storage=file
document.image.quality.middle=1024w,768h,0.5c
document.image.quality.small=150w,100h,0.5c
document.image.quality.small.storage=file
document.image.store.additional=middle,small
From a size of 1 kB original files and original images and images with the qualitiy 'small' will be stored on the filesystem in "/insight/storage" on the server. Images with the quality 'middle' will be stored in the database.