scaleFactor

the multiplier factor of the quality of an HTML canvas image

boolean scaleFactor;

Example

var vault = new dhx.Vault("vault_container", { 
    uploader:{
        // obligatory, the path for upload
        target:"/upload"
    },
    scaleFactor: 2
});


Default value:

4
Details

This configuration option can be used in the grid mode to change the quality of the image preview which presents an HTML canvas.

scaleFactor:1 means that a canvas-based image has the width and height equal to 98x98 px. By default the scaleFactor is set to 4, so the size of the canvas image is 98x4=392 => 392x392 px.

See also
Back to top