title: Image Scale AFnetworking
body: <p>how can I change the size of my image display on the UIImageview, I am downloading the images with AFNETWORKING and it fits the size of the UIImageView. </p>
  
  <p>But I want to show only half of the image , just like the Facebook app you see only one portion of the image click on the image view the full image . thanks </p>
  
  <pre><code>UIImageView *posterImage = [[UIImageView alloc]init]; 
      posterImage.frame = CGRectMake(index * showsScrollView.bounds.size.width + 50, 40, 225, 337);
  
      [showsScrollView addSubview:posterImage];
      // 6.5 - Asynchronously load the image        
      NSURLRequest *request = [NSURLRequest requestWithURL:[NSURL URLWithString:posterUrl]];
      [posterImage setImageWithURLRequest:request placeholderImage:[UIImage imageNamed:@"page.png"]
                                  success:^(NSURLRequest *request, NSHTTPURLResponse *response, UIImage *image) {
                                      [[AFNetworkActivityIndicatorManager sharedManager] decrementActivityCount];
                                  } failure:^(NSURLRequest *request, NSHTTPURLResponse *response, NSError *error) {
                                      [[AFNetworkActivityIndicatorManager sharedManager] decrementActivityCount];
                                  }];
  
      [[AFNetworkActivityIndicatorManager sharedManager] incrementActivityCount];
  </code></pre>
  
  <p>Thanks.</p>