You have to enable file uploads in the WYSIWYG plugin settings.
Then, in order to upload the images when posting, you have to click on the picture icon in the CKEditor toolbox. That will open a modal window. There, you have to click on the Upload tab, select the image and then click on the Send it to the server button