title: Maintain the aspect ratio(Landscape/Portrait) of images clicked by device's camera
body: <p>Got stuck in a issue with creating responsive slider. I have created slider and it's working fine. What is the issue is I am making slider for images clicked by camera.</p>
  
  <p>There is a button under slider which clicks new image and then store that image in Database using SQLite and then It will fetch that images from Database and add into the slider.</p>
  
  <p>It works fine with Landscape images clicked by camera. I'm getting portrait images clicked in slider but it's stretching the image with the width of slider. I want to know that how to maintain ratio of images in slider as I clicked.</p>
  
  <p>Thank you.</p>