Summary
The default size for displaying images in Laserfiche WebLink can be customized.
Resolution
View the Settings.inc file and modify the values of DEFAULT_SCALE, DEFAULT_XLENGTH, and DEFAULT_YLENGTH. Settings.inc is located in the ASPs folder of your WebLink installation folder. By default, the path should be C:\Program Files\Laserfiche\WebLink\ASPs.
Important: Be aware that users will be unable to zoom in or out while DEFAULT_SCALE is set to "fit." You must change it back to a numerical value to enable zooming in and out.
To set the default scale
Const DEFAULT_SCALE = "fit"
Const DEFAULT_XLENGTH = 1000
Const DEFAULT_YLENGTH = 1000
Note: Setting DEFAULT_SCALE to "fit" will scale the image to the values defined by DEFAULT_XLENGTH and DEFAULT_YLENGTH. Alternatively, you can specify DEFAULT_SCALE as a percentage (multiplied by 100). DEFAULT_XLENGTH and DEFAULT_YLENGTH determine the horizontal and vertical size for an image, respectively. The value is specified in pixels.