horizontal-grid-packing
horizontal-grid-packing copied to clipboard
use width/heigh attribute or 1:1 if as fallback
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.