dinbror / blazy

Hey, be lazy! bLazy.JS is a lightweight pure JavaScript script for lazy loading and multi-serving images. It's working in all modern browsers including IE7+.
http://dinbror.dk/blazy
MIT License
2.63k stars 356 forks source link

Issue with B-lazy not loading images on my subpages #128

Closed mschristensencph-zz closed 7 years ago

mschristensencph-zz commented 7 years ago

Hello,

Amazing job on this script, I really love it! I truly hope you are able to help me. I am no advanced frontender, but I do have some experience, but apparently not enough :'(..

I have stumbled upon an issue with the portfolio I am trying to build, and it seems like this has been an issue before (1. Images won't (always) load at all, without calling revalidate() or 2 B-Lazy doesn't fire sometimes when page has been visited ).

I have a demo running. Here you can see what I mean, when you click on the "Pengi" case image. You will see that images on the new page won't load and if you click "Start animation" on the subpage (will take you back to index page), then the images on the homepage aren't there anymore.

How big of a mess have I made or am I just missing some minor thing?

Kind regards, Morten.

mschristensencph-zz commented 7 years ago

My friend solved my issue. It wasn't with Blazy, but with my page transition. :)