forum

[Archived] [web] Pictures on Userpages not always loading

posted
Total Posts
6
Topic Starter
shiyuri
<deleted>
Lyawi
I also noticed that, happens only in Chrome to me. Let me try to clear my cache and you too, please.
Lacrimosa
Happens to me as well in chrome. However, scrolling down and up the page seems to reload the image, thus making it visible.
Topic Starter
shiyuri
<deleted>
oliebol
when loading page, the userpage content is aparently loaded in dynamically via https://osu.ppy.sh/pages/include/profil ... ?u=6661094

img tag there looks like
<img class="lazy-load" src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==" data-src="https://i.ppy.sh/1926382c56261aa897e464d41c0e04cc55f25939/687474703a2f2f692e696d6775722e636f6d2f78416c617155682e706e67" alt="Image"/><div class="pack-msg">

I have a feeling that that "lazy-load" thing doesnt really work well when the content its in is also dynamically loaded or something....

EDIT: can confirm now that if I open up a incognito window and open up the page it consistently doesnt load the image, but if I manually tun the javascript function "applyAfterLoad()" the image apears. When looking at source that function does the lazy-load resolving

That thing is normally called in the body onload handler. Which is too soon, since the userpage-content hasnt been properly loaded in yet by that time. I asume that next time it works since it will fetch stuff from cache and thus is faster and thus it is on time to be included by the body onload handler
kai99
I think I've seen a duplicate thread, I just can't find it. This happens to me as well; Chrome on mac.
Please sign in to reply.

New reply