title: Managing image renditions on CQ5 / AEM DAM upload for responsive pages
body: <p>Basic Challenge is as follows...please help if you can:</p>
  
  <p>AEM 6 DAM - we want the DAM to automatically create various image renditions for each of mobile, tablet and desktop breakpoints. We want to preserve aspect ratio. We do not want to mandate the size/aspect ration of images that are uploaded to the DAM or used on the site.</p>
  
  <p>There don't seem to be many sizing options apart from assigning both exact Width and Height for each rendition in pixels.</p>
  
  <p>Will this mean that images are stretched or cropped if they don't fit the size exactly? Or, hopefully, does AEM give precedence to the WIDTH and allow the height to flow to maintain aspect ratio?</p>
  
  <p>Your help on this, and on how best to execute this simply using the workflow so that the renditions are created automatically on upload, would be much appreciated.</p>
  
  <p>Thanks,
  Sentry1</p>
  
  <p>UPDATE:::::: It appears that editing the 'Thumbnail' step of the out of the box Workflow for "DAM Update Asset" with [height,width] of the rendition in question actually preserves the aspect ratio whatever the initial height and width and creates a rendition based on whichever of the H or W is the smaller. Does anyone agree?</p>