title: Google Python Image Library - How to resize an image based on its width?
body: <p>I have this code to make a resize of an uploaded image as a thumbnail.</p>
  
  <pre><code>project.thumbnail = db.Blob(images.resize(self.request.get("img"),188,96))
  </code></pre>
  
  <p>However, it does not do what I want. It always resize the image to have the fixed height of 96.</p>
  
  <p>Instead, I want to have all the resized images to have the same width of 188.</p>
  
  <p>What should I do?</p>
  
  <p>Thank you,</p>