CKFinder - Sample - Standalone

CKFinder may be used in standalone mode inside any page, to create a repository manager with ease. You may define a custom JavaScript function to be called when an image is selected (double-clicked).

BasePath = '../../' ; // The path for the installation of CKFinder (default = "/ckfinder/"). $finder->SelectFunction = 'ShowFileInfo' ; // The default height is 400. $finder->Height = 600; $finder->Create() ; // It can also be done in a single line, calling the "static" // Create( basePath, width, height, selectFunction ) function: // CKFinder::CreateStatic( '../../', null, null, 'ShowFileInfo' ) ; ?>