Problem in uploading image using fckeditor in asp.net2.0

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • archu007
    New Member
    • May 2007
    • 28

    Problem in uploading image using fckeditor in asp.net2.0

    Hi frds

    In my application i'm trying to do cms

    so i hav used the fck editor2.2 with asp.net2.0 its working fine for the text but when we try to upload the image its getting struck how to resolve this

    plz help me out in this its very urgent

    thank u in advance

    archu
  • archu007
    New Member
    • May 2007
    • 28

    #2
    Hi frds I got the solution but don't knw whether it is the right way or not

    I have used fckeditor2.2 with asp.net2.0

    1)My application name is "SampleApplicat ion"

    2)in this application i have place "fckeditor" folder and

    also placed the dlls( related to fckeditor) in bin folder of "SampleApplicat ion"

    3)Go to the folder fckeditor ->editor->images

    in this u create a folder for storing the files/images which are uploaded

    I hav created a folder called "UserFilesUploa d" in images folder



    4)Now place the following statement in web.config file of the application

    <appsettings>

    <add key="FCKeditor: UserFilesPath" value="/SampleApplicati on/fckeditor/editor/images/UserFilesUpload " />

    </appsettings>

    5)Now run the application when u upload the image it will be seen in preview

    when u click ok it will be stored in the folder which u have created

    and displayed to the user or front page



    Note:1) nothing to be changed in the code of js files of fckeditor

    2)just create folder in this " fckeditor/editor/images/ "

    3)giv the whole path in the <addkey > of web.config file



    Hope this will be helpful to all those who r facing this problem

    gudluck

    thank u

    Archu

    Comment

    Working...