The widget:editor directive is applicable in the fields.ini file. It specifies the type of HTML editor that should be used. This directive is only used when widget:type is set to htmlarea?. Xataface currently supports FCKEditor, TinyMCE, and NicEdit.
By default image uploads are disabled in these WYSIWYG editors.
Enabling Image Uploads in FCKEditor
Create a directory named uploads inside your application directory. e.g.
cd /path/to/myapp/uploads
Make the uploads directory writable by the webserver. e.g.
chmod 777 /path/to/myapp/uploads
Edit the lib/FCKeditor/editor/filemanager/connectors/php/config.php file inside your xataface directory so that:
$Config['Enabled'] = true ;
$Config['UserFilesPath'] = '/url/to/myapp/uploads/' ;
// The path portion of the URL to your uploads directory.
// e.g. if your uploads directory is accessible at
// http://example.com/myapp/uploads, then this value should
// be /myapp/uploads/
$Config['UserFilesAbsolutePath'] = '/path/to/myapp/uploads/' ;
// The absolute file system path to your uploads directory.
// e.g. if your uploads directory is located at
// /home/myhome/www/myapp/uploads, then this value should be
// /home/myhome/www/myapp/uploads
Now when you click on the "Add Image" link in your HTML editor, it will allow you to upload images and browse existing uploaded images.