upload and choose images through redactorJS