Skip to content
This repository was archived by the owner on May 6, 2020. It is now read-only.

Conversation

@sinky
Copy link

@sinky sinky commented Aug 30, 2016

If one image has no ratio attributes the grid will fail completely.

My solution:
If data-* attribiutes are missing (for example there is no way to add them), use width/height attributes.
In case of no ratio attributes use 1:1 as ratio.

So the grid will never fail.

@sinky sinky changed the title use width/heigh attribute or 1:1 if all other fails use width/heigh attribute or 1:1 if as fallback Aug 30, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant