Saturday, August 22, 2009

FCKeditor and Photo Upload

How to configure FCKeditor to upload photos?

Directory Structure:

|---Fckeditor
|---editor
|---filemanager
|---connectors
|---config.php

Open config.php to set the file uploading paths.
Search for two variables:
  • $Config['UserFilesPath'] // This path will appear in the url of the uploading manager.
  • $Config['UserFilesAbsolutePath'] // This path will use to upload the photos.
Example:

$Config['UserFilesPath'] = '/upload_img/' ;

$Config['UserFilesAbsolutePath'] = 'E:\nobleatom.com\upload_img' ;

Note: If you will sent specify the wrong folder for UserFilesPath. Images will not display at the frontend but your file will upload to E:\nobleatom.com\upload_img

No comments:

Post a Comment

All rights are reserved. Nobleatom.com
Software Development Services.
Contact me: khubabmazhar596@hotmail.com

Web Design Increase Page Rank Internet blogs DigNow.net web directory1Abc DirectorySeo friendly web directory