Server IP : 202.29.229.35 / Your IP : 18.227.190.228 Web Server : Apache System : Linux aapanel2 4.15.0-213-generic #224-Ubuntu SMP Mon Jun 19 13:30:12 UTC 2023 x86_64 User : www ( 1001) PHP Version : 5.5.38 Disable Function : passthru,exec,system,putenv,chroot,chgrp,chown,shell_exec,popen,proc_open,pcntl_exec,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru,pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,imap_open,apache_setenv MySQL : ON | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /www/wwwroot/www.ivecr2.ac.th/stdcard/cropper/src/js/ |
Upload File : |
Cropper.DEFAULTS = { // Defines the aspect ratio of the crop box // Type: Number aspectRatio: NaN, // Defines the percentage of automatic cropping area when initializes // Type: Number (Must large than 0 and less than 1) autoCropArea: 0.8, // 80% // Outputs the cropping results. // Type: Function crop: null, // Add extra containers for previewing // Type: String (jQuery selector) preview: '', // Toggles global: true, // Bind the main events to the document (Only allow one global cropper per page) responsive: true, // Rebuild when resize the window checkImageOrigin: true, // Check if the target image is cross origin modal: true, // Show the black modal guides: true, // Show the dashed lines for guiding highlight: true, // Show the white modal to highlight the crop box background: true, // Show the grid background autoCrop: true, // Enable to crop the image automatically when initialize dragCrop: true, // Enable to create new crop box by dragging over the image movable: true, // Enable to move the crop box resizable: true, // Enable to resize the crop box rotatable: true, // Enable to rotate the image zoomable: true, // Enable to zoom the image touchDragZoom: true, // Enable to zoom the image by wheeling mouse mouseWheelZoom: true, // Enable to zoom the image by dragging touch // Dimensions minCropBoxWidth: 0, minCropBoxHeight: 0, minContainerWidth: 300, minContainerHeight: 150, // Events build: null, // Function built: null, // Function dragstart: null, // Function dragmove: null, // Function dragend: null // Function }; Cropper.setDefaults = function (options) { $.extend(Cropper.DEFAULTS, options); };