made image resize from ckeditor into a function
Merge branch 'master' of https://github.com/withcenter/x