Skip to main content

Module load

Module load 

Source
Expand description

Async load plumbing for the masonry grid.

load_with_fallback consults the shared ThumbnailCache, walking the quality::fallback_bucket chain on 404 so opt-in server features (e.g. fullsize generation) degrade gracefully to whatever the server has. collect_dims / propagate_dimensions keep the layoutโ€™s (w, h) view of each asset in sync with what eventually decodes.

Functionsยง

collect_dims ๐Ÿ”’
load_with_fallback ๐Ÿ”’
Try requested bucket, then walk fallback_bucket chain on 404. Only the 404 path is retried โ€” auth, network, etc. surface unchanged.
propagate_dimensions ๐Ÿ”’
Returns true if the AssetObject dimensions were filled in (relayout needed).