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

  • SEARCH
  • Home
  • 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 4335950
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 21, 20262026-05-21T10:44:25+00:00 2026-05-21T10:44:25+00:00

in my application i am getting images from the server and i am able

  • 0

in my application i am getting images from the server and i am able to display the images in image view….
but now i want to store the images getting from the server in a table view and display them while clicking in the table view cell . what i want is how to make the thumbnail of the image in order to display it in table view cell .if i display the image directly in table view cell it is some what appearing clumsy…. for that i want to make the thumbnail of that image and to display it in table view cell…

can any one please help me how to create thumbnail of a image programatically……

  • 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-05-21T10:44:26+00:00Added an answer on May 21, 2026 at 10:44 am
    - (void) createThumbView { float y_axis = Set y axis;
    
    int x = 0;
    
    int totalImgs = total images;
    
    int tempCnt = 0;
    
    for (int i = 0; i < totalImgs;)
    {
        float x_axis = set x axis;
    
        int loopCount = 0;
    
        if (totalImgs - tempCnt >= (no of images in row))
        {
            loopCount = (no of images in row);
        }
        else
        {
            loopCount = totalImgs % (no of images in row);
        }
    
        for (int j = 0; j < loopCount; j++)
        {
            MasksData *mData = [masksList objectAtIndex:x];
    
            UIButton *btn = [UIButton buttonWithType:UIButtonTypeCustom];
            btn.frame = CGRectMake(x_axis, y_axis, width, height);
            [btn setImage:[UIImage imageNamed:[NSString stringWithFormat:@"%@.png",mData.bgImage]] forState:UIControlStateNormal];
            btn.backgroundColor = [UIColor  clearColor];
            btn.tag = x;
            [scroll View addSubview:btn];
    
            //photoCount++;
            x_axis += width + some space;
    
            tempCnt++;
            i++;
            x++;
        }
    
        y_axis += height + some space;
    
        scroll View.contentSize = CGSizeMake(320.0, y_axis);
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am POSTING some data from an IPhone application want want to be able
I am getting image and some details from .net web server. I need to
I'm making a Windows Phone 7 application which involves getting large images from the
I am just getting started creating an AJAX application using server side push. I
I have an application where every now and then I'm getting a strange error.
I just installed an application on a win2003 server and I'm getting this error:
I am trying to send an image from a Java desktop application to a
I am writing remote desktop application. So I am transferring Images from one machine
I have an application that is loading html from a remote server in a
When i'm displaying image from url with using below code, application is taking too

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.