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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T19:32:26+00:00 2026-05-25T19:32:26+00:00

I just recently noticed that when you click an image on Yahoo! Image Search

  • 0

I just recently noticed that when you click an image on Yahoo! Image Search it first shows a low resolution image which then gradually turns into a high resolution image.

Example:
Yahoo! Image Search

When you click the link above and click through all the images you notice that they’re always showing a low resolution image first. Why are they doing it? Does the website appear to be loading faster to the user if they’re doing it this way?

Also, could someone please point me into the direction on how this is actually done (preferably by using JQuery, in the case that they’re using JavaScript to do it)?

  • 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-25T19:32:26+00:00Added an answer on May 25, 2026 at 7:32 pm

    They’re using a cache of thumbnails from this URL

    http://ts1.mm.bing.net/images/thumbnail.aspx?q=NUM&id=HASH
    

    where HASH and NUM are (somehow) references to a particular thumbnail.

    For example, NUM = 1148286928700 and HASH = d2f4bbf91a853cefbc18794b6eb9ecdd are a reference to this thumbnail.

    Of course, thumbnails are smaller in file size than bigger images, so Yahoo! loads from a cache of thumbnails first to give the user a glimpse of what the image is, and loads the full size image in the background.

    I suspect the technique they use is load the image in to a hidden img tag, and then bind to the load event of that image tag to a function which replaces the thumbnail src with the full size image src. Hence, when the (hidden) full size image is loaded, it replaces the thumbnail image we see on page load.

    Let’s assume the thumbnail image is loaded in to an img tag with an ID of main_image, and our full size image is loading (in the background) in a hidden img tag with an ID of secondary_image. Then we bind to the load event of #secondary_image, and replace the src of #main_image on load:

    $('#secondary_image').load(function() {
      // on big image load, replace the src of the thumbnail image
      $('#main_image').attr('src', $(this).attr('src'));
    }
    

    Then when the user wishes to view another image, we replace the src of #main_image with a different cached thumbnail, replace the src of #secondary_image with the large image, and bind the load event again (so ideally you’d create a function with the above code, and call this function whenever you changed the #secondary_image src.

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

Sidebar

Related Questions

I've just recently begun to use markdown and have noticed that any markdown within
We just recently upgraded from VS2005 to VS2010. I've noticed that unlike VS2005, when
I am reading windows eventlog using WMI and just noticed recently that time is
I've noticed that recently sites began to keep images in one big image. For
I have just noticed recently that my page title will reset to the standard
We just recently upgraded our application and noticed that we're getting runtime errors on
I am using the jquery.watermark.min.js plugin. I just recently noticed that it is submitting
I just recently noticed Dictionary.TryGetValue(TKey key, out TValue value) and was curious as to
I just recently noticed this behaviour. To put it shortly, it displays the commits
I've recently began using dTrace and have noticed just how awesome it is. Its

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.