Image loading
-
Hi
in past when I open a page with a lot of pictures all of them load even i open tab in background, but recently I noticed i have to scroll down and image one by one loads, its really annoying.
Im using latest snapshot. x64 -
@siamak5561 Probably it's a memory-saving measure, it's called Lazy Loading.
Are you able to give an example of such a page?
I think it can be overridden by a flag:
vivaldi://flags/#enable-lazy-image-loading
But this might cause performance issues, as well as not work on all pages who use different techniques for the same. -
@Pathduck I just disable the flag but not working, pictures still lazy loading.
lazy loading is website related or its a feature by vivaldi? -
@Gwen-Dragon said in Image loading:
@siamak5561 The delayed loading may happen because a website only loads the images you can see in viewport.
Can you explain more, what is viewport?
-
@siamak5561 said in Image loading:
@Pathduck I just disable the flag but not working, pictures still lazy loading.
lazy loading is website related or its a feature by vivaldi?It's a website feature. It is usually controlled by the website and not the browser.
It would really help if you post a URL that gives you trouble so others can check it, like I asked above.Did you read the article I posted above?
Here is some more reading for you to understand how it works:
https://en.wikipedia.org/wiki/Viewport
https://davidwalsh.name/loading-lazy
https://www.geeksforgeeks.org/what-is-lazy-loading/
https://imagekit.io/blog/lazy-loading-images-complete-guide/
https://developers.google.com/web/fundamentals/performance/lazy-loading-guidance/images-and-videoYou don't need to read the whole articles and example code, just read the first paragraphs to get the idea
-
-