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 8509983
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T03:34:57+00:00 2026-06-11T03:34:57+00:00

Users join a site I’m building and will update an image (or several). The

  • 0

Users join a site I’m building and will update an image (or several).

The image (especially if main image – any any image can be this or changed to this) the image will be displayed in different sizes – total of 5 different sizes.

1 - full original image - lightbox image
2. - cropped large - main profile image
3. - cropped medium - search image
4. - cropped smaller - display of multiple users image
5. - cropped very small - chat image

All images will be changed to jpg and compressed to 80% and the user will do the cropping using Jcrop.

I wanted to know what would be the most efficient method to have these images.

My current plan is to save the original and post crop create 4 more images.
This means for each image there will be 5 images.

Is there a better way to do this?

Should I make the last 3 (3/4/5) all be the same image just sized differently with CSS?

I’ve heard about a PHP function to change the image size on the fly but I’ve also heard this is heavy on the processing and might be inefficient in its own way.

thoughts? advice?

thankyou

  • 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-11T03:34:59+00:00Added an answer on June 11, 2026 at 3:34 am

    Your solutions sounds right. Store somewhere image resize settings, then upload image, create required images, crop, resize etc. Keep the original, so in case later you will need to add another size or make other changes.

    You could only store original file name into database, like image.jpg, then before displaying add specific resized image prefix like: image_croped_large.jp.

    As of choosing CSS i would resize images, won’t use CSS , because image quality will be better, and image size will probably be smaller.

    And it’s cheaper to store few more images, than download big pictures.

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

Sidebar

Related Questions

On my site, users can create teams (clans) and invite other users to join
This is for the friends module on my site, where users can make friends
I recently started creating a site where users will be able to join groups
So my site's main page display's applications for a PMP. Users can rate these
this is the mysql query SELECT * FROM users AS up JOIN users AS
i have this SELECT COUNT(1) cnt, a.auther_id FROM `posts` a LEFT JOIN users u
I have this working query: $q = $this->db->query('SELECT u.name FROM users u JOIN user_group
I want to create Unique ID for my site users in this format pubID-john_34032
On my site (aimed at PS3 gamers), users can select the 3 games they're
i am trying to develop a site where users can become friends of each

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.