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. |
Answered by
igordanchenko
Oct 13, 2023
Replies: 1 comment
|
Please see #120 for possible solutions when photo dimensions aren't known beforehand. |
0 replies
Answer selected by
igordanchenko
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
widthandheightare required attributes in thephotosarray objects, and the documentation is pretty clear about it.Please see #120 for possible solutions when photo dimensions aren't known beforehand.