-
Notifications
You must be signed in to change notification settings - Fork 354
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Images sometimes don't load on 1.5.4 #85
Comments
I think with revalidate function : var bLazy = new Blazy({selector:'img',container:'#frame1'});setTimeout(function(){bLazy.revalidate();},300); It's better... |
I'm getting the exact same issue, reloading page fixes it. |
Hey @tuurbo Do you have a live example, jsfiddle or similar? |
@dinbror Looks like the image is being downloaded, because i can see it in the chrome tools network tab, but it isn't replacing the src attribute with the image url. Theres a link inside to a live site with the issue http://pastebin.com/T9p6x21i Edit: Sometimes it can take 10 to 20 different page loads to see the issue, and it can be all images or just 1 image. |
Did some tests on my local env and it seems the success callback isn't being fired for ever image, but the image is being downloaded. Example:
|
@dinbror I think i found the issue... https://productforums.google.com/forum/#!topic/chrome/p51Lk7vnP2o Would make sense, since i just started noticing the issue , yet i've been using v1.5.4 for a while.. |
@tuurbo very interesting, thanks. However I can't reproduce it on your page. Are you on a mac or pc? What OS? |
Windows 10 |
So, same problem with last version of Chrome 50.0.2661.86 (64-bit) on iMac (El Capitan). Solved with : ;setTimeout(function(){bLazy.revalidate();},300); |
finally, not solved :( |
Could you please test with version 1.6.1 RC: |
Hi dinbror, I test it : http://www.insidebasket.com/blazy-test.php (you can check this URL) At the first view, I think it works great, without setTimeout(function(){bLazy.revalidate();},300);. Could you confirm that ? Is it possible to have a minify JS ? Thanks you ! |
Fixed in v.1.6.1 |
Fixed in chrome v 50.0.2661.94? Will verify later |
Hello mate sorry for troubling you but i may have found a bug related to this problem, when first loading the page or visiting for the first time also being cached by browser, it wont load the first images, reloading the page fixt it i dont know it may be a bug or my particular implementation Thanks in advance 👍 |
Hello Support,
I use your beautiful script (js minify 1.5.4) and JS :
<script>var bLazy = new Blazy({selector:'img',container:'#frame1'});bLazy.revalidate();bLazy.destroy();</script>But sometimes if you refresh the page http://www.insidebasket.com, images don't load... If you refresh again, it's ok. I don't know how to solve this.
Could you help me ?
Thanks you
The text was updated successfully, but these errors were encountered: