php - NicEdit upload on your own server


i have problem with uploading on my own server with nicEdit wysiwyg editor.

When you clikc on upload image you will upload image on other site. Here: imgur dot com

This is it:

I want to use them php script to upload image on my own server/domain. Can somebody tell me how to do it?

Here is the script:

Still show message "Failed to upload image".

In console on firebug show this one:

        try {
            top.nicUploadButton.statusCb({"error":"Invalid Upload ID"});
        } catch(e) { alert(e.message); }


POST is okay but i dont understand this. :(

Have anybody som good answer for me?

Thank you very buch. PS: sorry for my english. :)





Did you install the PHP APC library on your server? I think you need to generate this id.$id = $_POST['APC_UPLOAD_PROGRESS'];




NicEditor uses imgur as the default image upload service. The source code follows the API format described here:

My suggestion would be to implement the API request and response defined there.

People are also looking for solutions to the problem: php - PDF to JPG Imagic page selection


Didn't find the answer?

Our community is visited by hundreds of web development professionals every day. Ask your question and get a quick answer for free.

Ask a Question

Write quick answer

Do you know the answer to this question? Write a quick response to it. With your help, we will make our community stronger.

Similar questions

Find the answer in similar questions on our website.