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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T02:59:18+00:00 2026-05-25T02:59:18+00:00

Lazy loading images doesn’t work in IE 9.0.8112.16421. Here is my code and example

  • 0

Lazy loading images doesn’t work in IE 9.0.8112.16421.

Here is my code and example how it works:
http://jsfiddle.net/BbA9M/46/

When I open it in IE9 lazy loading images don’t work, but when I click F12 and open developer tools and then refresh page, it’s working great.

I tried to add

<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE9" />    

to my head, but it didn’t help.

Have you got any idea what should I do to run this code correctly in IE9?

—
EDIT

When I change this part of code:

if(deferred) {
$(objImg).animate({opacity: 0.1}, 250, function(){
objImg.src = deferred;
console.log('Lazy loading img:', objImg.getAttribute('deferred'));
}).animate({opacity: 1.0}, 1000);                        
}         

to shorten:

if(deferred) {
objImg.src = deferred;                                     
}    

Then it works. Here is example: http://jsfiddle.net/BbA9M/53/
Something is probably wrong with JQuery effect or IE9 has a strange issue.

—
EDIT

I’ve found solution. IE9 doesn’t support this line when developer tools is off:

console.log('Lazy loading img:', objImg.getAttribute('deferred'));
  • 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-25T02:59:19+00:00Added an answer on May 25, 2026 at 2:59 am

    Well… based on your solution, you could add:

    if(console && console.log) {
         console.log('Lazy loading img:', objImg.getAttribute('deferred'));
    }
    

    Normally the console is only present when you use a debugger (or a debugging script). Happy coding!

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

Sidebar

Related Questions

Apple just released some sample code on lazy loading images in a UITableView a
I have a situation where I'm lazy loading images from the www. It's a
I just found out that lazy loading in Entity Framework only works from the
I have a custom baseadapter which does some lazy loading of some images, and
I'm using lazy loading images based on this question . I'm implementing a search
I'm looking for a JQuery plugin that supports lazy loading images. The Lazy Load
I recently ran into a problem with dynamically (lazy) loading images within elements (UIViewController-Subclasses)
I'm doing some lazy loading of images into an array when the app has
I'm in search of most popular and working lazy loading images plugin for jQuery
I'm working with lazy loading a Gallery of images (one class for the Gallery

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.