Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Not sure why lazy loading isn't working

Posted on 2013-06-10
8
Medium Priority
?
515 Views
Last Modified: 2013-06-11
I've spent most of the day on this and still don't know why lazyloading doesnt work...

I right clicked, selected "inspect element". Looked at the Network tab but looks like the images all get loaded at page load...

Not sure the way I'm loading the lazyload is wrong or what. Can someone take a look at this?

Thanks for any help you can offer...

http://dev07.web.newbalance.demandware.net/on/demandware.store/Sites-newbalance_us-Site/undefined/Search-Show?cgid=101000
0
Comment
Question by:Camillia
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 4
8 Comments
 
LVL 10

Accepted Solution

by:
Ishaan Rawat earned 2000 total points
ID: 39236678
You know why its not working....

Because your images ares o small about 11.6 kbs...
which loads in milliseconds...

Thats why you are not able to see the image loading...

try it with a bigger size image... then see if its working or not...
0
 
LVL 7

Author Comment

by:Camillia
ID: 39237481
Where did you see the images are 11.6 (small)...in Netwrok tab?

Is there a way to slow down the page load to see if it's working...lazyload has threshold..can that be used? http://www.appelsiini.net/projects/lazyload

How can I do this..it's from my manager:
- basically the lazy load works after the page loads. Try this - do a javascript break point prior to where you do the lazy load call... See if you can see the images NOT being loaded, that will be a good test.  

How can I add that JS break?
0
 
LVL 10

Expert Comment

by:Ishaan Rawat
ID: 39237492
no the shoes images...
0
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 
LVL 7

Author Comment

by:Camillia
ID: 39237518
Yeah, do u know how to do this? if not, i'll open another question. Thanks

How can I do this..it's from my manager:
- basically the lazy load works after the page loads. Try this - do a javascript break point prior to where you do the lazy load call... See if you can see the images NOT being loaded, that will be a good test.
0
 
LVL 10

Expert Comment

by:Ishaan Rawat
ID: 39237544
Or you can do this....

apply lazy load to your website...

Add 8, 9 large size images...
one after the other...

and see if the images load after you scroll on them... then lazy load is working perfectly....
0
 
LVL 7

Author Comment

by:Camillia
ID: 39237707
this is a vendor app...so i cant easily make changes. I'll close this question and open another one with my question above. Thanks
0
 
LVL 10

Expert Comment

by:Ishaan Rawat
ID: 39237714
Ok...
As you wish./..
0
 
LVL 7

Author Comment

by:Camillia
ID: 39237789
i think i found a large image to try...from vendor. I know I've closed this question, but i'll see if i can try it.
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article discusses how to create an extensible mechanism for linked drop downs.
Today, the web development industry is booming, and many people consider it to be their vocation. The question you may be asking yourself is – how do I become a web developer?
The viewer will learn how to dynamically set the form action using jQuery.
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…
Suggested Courses

610 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question