title: How to resize images at upload in Magento (for real)?
body: <p>Could anyone tell me please which class/method in Magento should be overridden (in a plugin) in order to automatically resize images at upload please ?</p>
  
  <p>The aim is to set a max width/height in Magento Settings and then use these settings in this class/method.</p>
  
  <p>This question has been asked at least 2 or 3 times, but I don't consider "Magento automatically make different versions" as an acceptable answer for multiples reasons:</p>
  
  <ul>
  <li>backend users sometimes upload HD images like 10Mpixels or so</li>
  <li>10Mpixels images will NEVER (at least not until a few years) be necessary in a simple web shop</li>
  <li>it takes hard disk, backup disk and can fill disk quota quite quickly, locking up Magento</li>
  <li>it does not make sense to discuss "why" when the question is just "how"</li>
  </ul>
  
  <p>Thank you :)</p>