miromannino / Justified-Gallery

Javascript library to help creating high quality justified galleries of images. Used by thousands of websites as well as the photography community 500px.
http://miromannino.github.io/Justified-Gallery/
MIT License
1.69k stars 299 forks source link

Images not arranging properly #209

Closed voletiv closed 4 years ago

voletiv commented 7 years ago

I have tried to render your plugin on my website, but even with default settings, I am not able to get a properly arranged grid. This is a screenshot of my website, with 5 images of different sizes to be arranged in a grid: screen shot 2017-01-16 at 1 07 08 pm

Please let me know how to fix this! Thank you!

NicolasGuilloux commented 7 years ago

It happens to me too. I fixed it by checking the path to the CSS file or check if you don't overload it with a custom CSS. Please check this line <link rel="stylesheet" href="assets/css/justifiedGallery.min.css" /> to be sure that there are no mistake ;)