HomePhabricator

Implement masonry and lazy loading on image results
68ebe373ca45Unpublished

Authored by StudentSydney on Dec 22 2017, 10:56 AM.

Unpublished Commit · Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

Description

Implement masonry and lazy loading on image results

-Use masonry to create vertical columns with horizontal numbering.
-Lazy image loading allows fast loading even with large results.
-Using lazysizes allows lazy images with unknown dimensions.
-Load iages shortly before user scrolls to them.
-Need to redo layout every time an img loads.

Bug: T166216
Change-Id: I6bd213078f58d9f1738995a179aca96386d9683e