title: i want to display image in fix size in table cell
body: <p>in my iphone application images are comming from xml feed and they have variant size,how can  i resize them to fix width and hight programmatically.</p>
  
  <p>my code is in which i want to display images in cell of same width and size.my image are comming from rss fedd.</p>
  
  <pre><code>int blogEntryIndex1 = [indexPath indexAtPosition: [indexPath length] -1];
  
  imgstring=[[blogEntries objectAtIndex: blogEntryIndex1] objectForKey: @"image"];
  NSURL *url = [NSURL URLWithString:imgstring];
  
  
  NSData *data = [NSData dataWithContentsOfURL:url];
  
  UIImage *img = [[UIImage alloc] initWithData:data];
  cell.imageView.image=img;
  </code></pre>
  
  <p>please help me out if you can thanks in advance.</p>