eimagefinder Input field with CKFinder Image Browser

  1. Requirements
  2. Usage
  3. Extra

This widget will generate an input box (), with a "Select" button which when clicked will bring CKFinder's window allowing one to browse through the file repository.

There is no integration with CKEditor (there are other extensions that will do that, e.g. http://www.yiiframework.com/extension/ckeditor-ckfinder.

Please note, CKFinder is not free, but it is worth the cost in my experience.


CKfinder from http://ckfinder.com/download - version 2.1 is included with the current package.


  1. Extract the entension to your /protected/extensions folder.
  2. Edit the extension file and change the following to suit your needs:
// Please change the config below to suit your needs
		$this->uploadPath = dirname(Yii::app()->request->scriptFile) .'/themes/frontend/uploads/';
		$this->uploadUrl = Yii::app()->getRequest()->hostInfo . Yii::app()->baseUrl.'/themes/frontend/uploads/';
  1. Invoke the widget in your view as below.
  1. Once everything is working, open CKFinder's config file to put the appropriate license in.


Suggestions/comments are welcomed.


Cassiano Surek - www.surek.co.uk

0 0
1 319 downloads
Yii Version: 1.1
License: BSD-2-Clause
Category: User Interface
Developed by: cass
Created on: Oct 11, 2011
Last updated: 11 years ago


show all

Related Extensions