title: Resizing image in Django using sorl-thumbnail
body: <p>I need to resize an image using the Django app sorl-thumbnail (<a href="https://github.com/mariocesar/sorl-thumbnail" rel="nofollow">https://github.com/mariocesar/sorl-thumbnail</a>).</p>
  
  <p>I tried the documentation and the only way to resize an image is by using the template tag but what I want is to change it in a view. </p>
  
  <p>This is because I need to upload a raw image and append the resized image into a modal using jQuery. Is there anyway to achieve this using sorl-thumbnail? I am seeing some solutions in PIL but they seem too complicated.</p>