@smeijer one of the benefits of not having having the images in row elementes I think!
possibly @neptunian , the demo looks awesome :)
hi, is it possible to change the layout of Gallery?
@pzoli1988 what do you have in mind
the only thing that can change really are the amount of columns.
@neptunian When resizing that sortable example in codesadbox.io I got this: Invariant Violation Maximum update depth exceeded. This can happen when a component repeatedly calls setState inside componentWillUpdate or componentDidUpdate. React limits the number of nested updates to prevent infinite loops.
@mpartipilo thanks i'll do some testing. i've thought about putting a debounce on the window resize but i like how it looks like its animating when you resize it! not really necessary to let it call so many times though.
Hello guys, wanted to ask if there was any way I could pass in the aspect ratio for the set of photos given to the Gallery component
@FredEb that's what width and height are for
Hey all - does anyone have tips for limiting the maximum height of the Gallery container?
@FredEb that's all height and width attributes are provided for. the code determines the aspect ratio based on those attributes or you can just pass in 1, 3 or whatever your ratio is... it's the same thing.
@whitneyseiler you should be able to just do that with CSS? Wrap it in a containing div with a max-height?
Hi @neptunian, how are you?
I have worked on your code to add just one feature: thumbnails. But when I was doing it, I realize that I could improve many more things like the tests behaviors.
I created a PR with this features/improvements.
I don't know why the test doesn't work in travis yet, because on my localhost it's running ok
Arrrgg... why can't I get images to render without require('image.jpg')? I'm using local images.
Is it possible for the image gallery to be a horizontal scroll, rather than a vertical scroll?
@shurnster if you define the width of your container wherever, the Gallery will adjust to it, which I imagine would automatically create a horizontal scrollbar. you should be able to control this on your end.
Ok, got it. Thanks, @neptunian
Hi everyone, hi @neptunian --- is it possible to hover and zoom on an individual image? Thanks!