Skip to content

Docs: Specify that src will reference to the first declared size #101

@edgarshurtado

Description

@edgarshurtado

Hi,

I'd like to contribute to improving the documentation for this great plugin.

It's only a detail but I haven't been able to find in the docs that if some sizes are set like [300, 600, 1200], the first one will be the one used for src attribute. So in my case, IE was using the 300px image instead of the bigger one. To fix this I had just to put 1200 as the first array element.

Could this be added to the docs?

Thank you!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions