Bonjour,

Voila j'ai installer ckeditor et kcfinder avec ces paramètres mais mon image uploader avec le serveur ne s'affiche pas elle est casse.

l'image upload avec ckeditor avec propriete serveur ne s'enregistre pas dans mon dossier.Et l'url afficher quand j'ai importer mon image n'est pas bonne.
/images/gmail.jpg

structure

racine
backend

-->upload-->images-->


une idée s'il vous plait?


config.js ckeditor

Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
/*
Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
 
/*CKEDITOR.editorConfig = function( config )
{
	// Define changes to default configuration here. For example:
	 config.language = 'fr';
	// config.uiColor = '#AADC6E';
	config.enterMode = CKEDITOR.ENTER_BR;
	config.extraPlugins = 'imgupload';
};
*/
 
/*CKEDITOR config*/
// -----------------------------------------------------------
// CONFIGURATION PERSONNELLE
// -----------------------------------------------------------
CKEDITOR.editorConfig = function( config )
{
	// -----------------------
	config.basicEntities 				= false; // évite les   inutiles
	config.allowedContent 				= true;	// accepte l'ajout d'attribut (class, style...) inline
	config.entities = false;
 	// Define changes to default configuration here. For example:
	 config.language = 'fr';
	// config.uiColor = '#AADC6E';
	//config.enterMode = CKEDITOR.ENTER_BR;
 
	extraAllowedContent: 'video[*]{*};source[*]{*}';
	// -----------------------
	/* KCEditor (GRATUIT !) : explorateur de fichiers */
/* => INDIQUEZ le CHEMIN correct ! */
	config.filebrowserBrowseUrl 		= 'kcfinder/browse.php?type=files';
	config.filebrowserImageBrowseUrl 	= 'kcfinder/browse.php?type=images';
	config.filebrowserFlashBrowseUrl 	= 'kcfinder/browse.php?type=flash';
	config.filebrowserUploadUrl 		= 'kcfinder/upload.php?type=files';
	config.filebrowserImageUploadUrl 	= 'kcfinder/upload.php?type=images';
	config.filebrowserFlashUploadUrl 	= 'kcfinder/upload.php?type=flash';
	/*config.filebrowserVideoBrowseUrl 	= 'kcfinder/upload.php?type=files';
 
	// -----------------------
	/* TOOLBAR PERSONNALISEE - ARTICLE */
	config.toolbar 		= 'ToolbarArticle';
	config.extraPlugins = 'video,videodetector';
	//config.extraPlugins = 'videodetector';
	//config.extraPlugins = 'video';
	config.toolbar_ToolbarArticle 		=
	[
	{ name: 'basicstyles', 	items : [ 'Bold','Italic','Underline','Strike','Subscript','Superscript','-','RemoveFormat' ] },
	{ name: 'paragraph', 	items : [ 'NumberedList','BulletedList','-','Outdent','Indent','-','Blockquote','-','JustifyLeft','JustifyCenter','JustifyRight','JustifyBlock' ] },
	{ name: 'links', 		items : [ 'Link','Unlink','Anchor' ] },
	{ name: 'editing', 		items : [ 'Find','Replace','-','SelectAll','-','SpellChecker', 'Scayt' ] },
	{ name: 'colors', 		items : [ 'TextColor','BGColor' ] },
	{ name: 'styles', 		items : [ 'Format' ] },
	{ name: 'clipboard', 	items : [ 'PasteText','PasteFromWord' ] },
	{ name: 'insert', 		items : [ 'Image','Video','VideoDetector','Flash','Table','HorizontalRule','Smiley','SpecialChar' ] },
	{ name: 'document', 	items : [ 'Source', 'ShowBlocks','Preview' ] }
	];
	// -----------------------
};
// -----------------------------------------------------------
et config.php

Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
<?php
 
/** This file is part of KCFinder project
  *
  *      @desc Base configuration file
  *   @package KCFinder
  *   @version 2.51
  *    @author Pavel Tzonkov <pavelc@users.sourceforge.net>
  * @copyright 2010, 2011 KCFinder Project
  *   @license http://www.opensource.org/licenses/gpl-2.0.php GPLv2
  *   @license http://www.opensource.org/licenses/lgpl-2.1.php LGPLv2
  *      @link http://kcfinder.sunhater.com
  */
 
// IMPORTANT!!! Do not remove uncommented settings in this file even if
// you are using session configuration.
// See http://kcfinder.sunhater.com/install for setting descriptions
 
$_CONFIG = array(
 
    'disabled' => false,
    'denyZipDownload' => false,
    'denyUpdateCheck' => false,
    'denyExtensionRename' => false,
 
    'theme' => "oxygen",
 
    'uploadURL' => "../documents/",
    'uploadDir' => "../documents/",
 
    'dirPerms' => 0755,
    'filePerms' => 0644,
 
    'access' => array(
 
        'files' => array(
            'upload' => true,
            'delete' => true,
            'copy' => true,
            'move' => true,
            'rename' => true
        ),
 
        'dirs' => array(
            'create' => true,
            'delete' => true,
            'rename' => true
        )
    ),
 
    'deniedExts' => "exe com msi bat php phps phtml php3 php4 cgi pl",
 
    'types' => array(
 
        // CKEditor & FCKEditor types
        'files'   =>  "swf flv avi mpg mpeg qt mov wmv asf rm mp4",
        'flash'   =>  "swf, mp4",
        'images'  =>  "*img",
 
        // TinyMCE types
        'file'    =>  "swf flv avi mpg mpeg qt mov wmv asf rm mp4",
        'media'   =>  "swf flv avi mpg mpeg qt mov wmv asf rm mp4",
        'image'   =>  "*img",
    ),
 
    'filenameChangeChars' => array(/*
        ' ' => "_",
        ':' => "."
    */),
 
    'dirnameChangeChars' => array(/*
        ' ' => "_",
        ':' => "."
    */),
 
    'mime_magic' => "",
 
    'maxImageWidth' => 0,
    'maxImageHeight' => 0,
 
    'thumbWidth' => 100,
    'thumbHeight' => 100,
 
    'thumbsDir' => ".thumbs",
 
    'jpegQuality' => 90,
 
    'cookieDomain' => "",
    'cookiePath' => "",
    'cookiePrefix' => 'KCFINDER_',
 
    // THE FOLLOWING SETTINGS CANNOT BE OVERRIDED WITH SESSION CONFIGURATION
    '_check4htaccess' => true,
    //'_tinyMCEPath' => "/tiny_mce",
 
    '_sessionVar' => &$_SESSION['KCFINDER'],
    //'_sessionLifetime' => 30,
    //'_sessionDir' => "/full/directory/path",
 
    //'_sessionDomain' => ".mysite.com",
    //'_sessionPath' => "/my/path",
);
 
?>
Merci.