I'm using NicEdit for a website of mine and it does what I want but I need to tweak the picture upload feature and my knowledge of javascript is next to zero, basically what I need is upload the images to my website (now the script upload the images to a third party website, imgur.com) and I need to be able to change the size of the images (ideally, I need to keep the full size image and display a thumb size picture on the post).

Any help would be greatly appreciated.