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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T23:33:19+00:00 2026-05-25T23:33:19+00:00

Basically what I am asking is, is there a way to have say a

  • 0

Basically what I am asking is, is there a way to have say a 1000×1000 pixel image and simply have some sort of code, whether html, css, or anything else to only download a resized verison of 100×100 pixels. Is there any way to do this? I would like to know before resizing each of my pictures and uploading them and linking those photos to the original larger version. 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-05-25T23:33:19+00:00Added an answer on May 25, 2026 at 11:33 pm

    You can’t do it with HTML/CSS but it is possible with a server side language like PHP. Here’s a script that will allow you to resize images.

    The catch is that resizing images can be a server intensive process. You should try to make sure that once you’ve created a resized version of an image, it’s cached on the server for subsequent requests.

    Along those lines, the flow should be:

    1. Image request comes in.
    2. Does the resized thumbnail exist in the server’s cache? If yes, serve the thumbnail.
    3. If no, create the thumbnail, place it in the server cache and serve it.

    Note: James brought up a good point in the comments. If the images you’re resizing are going to change (updated/edited), you’ll need to keep track of their large image’s last modified date when you create the thumbnail (as part of the filename or in a database).

    That way, when you check the cache, you’ll be able to tell if the thumbnail needs to be regenerated.

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

Sidebar

Related Questions

Let's say I have saved this kind of data (some text '.date(d).' some text)
I am asking because the way I have it right now seems really strange.
Is there a way to run code BEFORE model retrieval? I know about the
This might be rediculous, asking about such a huge bit of code...but basically I
I now have the following code, which calls a WCF service, it get some
What is the proper way of validating data? I mean say you have an
There's a way to preload a modal view controller without showing it? I'm asking
Say you have a button whose command property is bound to some ICommand of
I'm basically asking why the following lines of codes do not compile: type IGenericType<'a>
I hope this question is not 'controversial' - I'm just basically asking - has

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.