Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8793255
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T23:05:58+00:00 2026-06-13T23:05:58+00:00

i am parsing json from SBJson parser and showing it in table view successfully.I

  • 0

i am parsing json from SBJson parser and showing it in table view successfully.I am using SDWebImage to cache images for offline support by using

  UIImageView *thumbImg = [[UIImageView alloc] initWithFrame:CGRectMake(5, 3, 50, 50)];
        thumbImg.tag = 1;
        thumbImg.contentMode = UIViewContentModeScaleAspectFill;
        thumbImg.layer.cornerRadius = 10;
        thumbImg.layer.masksToBounds = YES;
        thumbImg.layer.borderColor = [UIColor lightGrayColor].CGColor;
        thumbImg.layer.borderWidth = 1.0;
        [cell.contentView addSubview:thumbImg];

[thumbImg setImageWithURL:[NSURL URLWithString:myObj.thumbnailURL]
               placeholderImage:[UIImage imageNamed:@"Icon.png"]
                        success:^(UIImage *image) {
                            NSLog(@"success");
                        }
                        failure:^(NSError *error) {
                            NSLog(@"write error %@", error);
                        }];

and its showing perfectly in my 50×50 imageview. But the thumbnail images are big in size 400×600 approx. So my tableview is scrolling very slow due to large image thumbnails loading in imageview. How can i resize the image fetched by SDWebImage before caching so that next time when it load from cache it loads small size image.I have the function to resize the image but dont know where to add that code.I tried to resize by giving the image pointer which i got in success block but it had no effect.

Thanks

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-13T23:05:59+00:00Added an answer on June 13, 2026 at 11:05 pm

    Here!

    This library integrates SDWebImage with a Resize library

    https://github.com/toptierlabs/ImageCacheResize

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have recently started parsing JSON documents using SBJSON Parser, and I am able
Am am successfully parsing and sending JSON values from my client for my server
I'm attempting to retrieve a JSON file from an API for parsing. I'm using
I'm using the combination of json_encode (PHP) and JSON.parser (Javascript from json.org) for passing
I am parsing JSON from a URL & displaying it in a list view(ofc
After parsing the JSON response from a webservice using NSJSONSerialization , I use +isKindOfClass:
I have some objects that I'm parsing from json using native browser implementations. Some
i m parsing a json file and populating it in my table view what
I'm having an issue parsing JSON from a PHP server using NSJSONSerialization. JSLint says
I'm having difficulty parsing some JSON data returned from my server using jQuery.ajax() To

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.