completed:^(UIImage *image, NSError *error, SDImageCacheType cacheType, NSURL *imageURL) {
float a = image.size.width;
float b = image.size.height;
NSLog(@"----width--%f----height--%f-------",a,b);
if ([ymData.showImageArray count] == 1) {
// [imageView sizeToFit];
imageView.frame = CGRectMake(20 + 5*(i%3) + showImageH*(i%3), TableHeader - 3 + 5 * ((i/3) + 1) + (i/3) * showImageH + hhhh + kDistance + (ymData.islessLimit?0:30), a/4, b/4);
// showImageH = imageView.frame.size.height;
_ShowImage_HH = 150;//600/4;
}else{
_ShowImage_HH = 80;
imageView.clipsToBounds = YES;
}
imageView.contentMode = UIViewContentModeScaleAspectFill;
float a = image.size.width;
float b = image.size.height;
NSLog(@"----width--%f----height--%f-------",a,b);
if ([ymData.showImageArray count] == 1) {
// [imageView sizeToFit];
imageView.frame = CGRectMake(20 + 5*(i%3) + showImageH*(i%3), TableHeader - 3 + 5 * ((i/3) + 1) + (i/3) * showImageH + hhhh + kDistance + (ymData.islessLimit?0:30), a/4, b/4);
// showImageH = imageView.frame.size.height;
_ShowImage_HH = 150;//600/4;
}else{
_ShowImage_HH = 80;
imageView.clipsToBounds = YES;
}
imageView.contentMode = UIViewContentModeScaleAspectFill;