I am using CkFinder 3, after uploading successfully an image I need to be able to detect after an User click the "Chose" button:
- file name / id
- url
- width and height for original image
At the moment I am using the files:choose
but I cannot find this information on the cb event.
Any idea how to solve it? A sample of code would be appreciate thanks.
CKFinder.modal( {
connectorPath: 'https://api.mysite.com/lib/ckfinder/core/connector/php/connector.php',
resizeImages: false,
startupFolderExpanded: true,
chooseFiles: true,
width: 1000,
height: 800,
language: 'en',
onInit: function( finder ) {
finder.on( 'files:choose', function( evt ) {
} );
}
} );