added wysiwyg upload images functionality