Skip to content

Lazy loading of attachment thumbnails #173

Open
@DangerOnTheRanger

Description

@DangerOnTheRanger

Now that loading="lazy" is supported among a decent chunk of web browsers, I think it would be good for Maniwani to use this attribute in areas where attachment thumbnails are used - the catalog, firehose, threads, and the board index.

Note that among browsers, at least Firefox disables lazy loading if JS is not enabled. I consider eager loading in that case to be a graceful enough degrade, so it should be okay. A JS fallback for Safari would be nice to have, but not necessary.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions