How to set up Media module with image editor?
Take a look at the article "Crop, rotate, and scale embedded images".

You have to install Media crop module. Some details about this module (from its project page):


  Adds cropping, rotating and scaling to the media module's image embed
  function. Only available for images local to the server (not for
  remote images), and only when adding media via CKeditor.