Fixes #5043 Photo uploading from ckeditor