horizontal-grid-packing icon indicating copy to clipboard operation
horizontal-grid-packing copied to clipboard

use width/heigh attribute or 1:1 if as fallback

Open sinky opened this issue 9 years ago • 0 comments

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 avatar Aug 30 '16 09:08 sinky