Masonry and column layout place all images in single column #129
-
most if not all of my photos are placed in a single column when I use the column or masonry layout. Rows doesn't even work. I am testing with random Google images, so the height and width are not always known. I accounted for that with a ternary that sets the dimensions to 400x300. Any idea why the layout is not distributing my images accordingly? Thanks. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Please see #120 for possible solutions when photo dimensions aren't known beforehand. |
Beta Was this translation helpful? Give feedback.
width
andheight
are required attributes in thephotos
array objects, and the documentation is pretty clear about it.Please see #120 for possible solutions when photo dimensions aren't known beforehand.