Kris-B / nanoGALLERY

image gallery simplified - jQuery plugin. Touch enabled, responsive, justified/cascading/grid layout and it supports pulling in Flickr, Google Photos and self hosted images.
https://nanogallery2.nanostudio.org/
439 stars 101 forks source link

Initial display as block instead of inline #61

Closed blondie2world closed 9 years ago

blondie2world commented 9 years ago

Hey, I'm a webdesign rookie, so I probably made some stupid mistake. I 've set up a nanoGallery inside a bootstrap modal. But my Flick'r folders don't show up in a row initially. The folders appear each on a new line (inline). After clicking through the galleries and returning to the main gallery, the thumbnails show up correctly. Any ideas on how to fix this? Thanks in advance! Greetings

Kris-B commented 9 years ago

Hi, Can you give me the URL of your page?

blondie2world commented 9 years ago

Hey, ingeturelinckx.com (photography section) Thank you for your help! Grtz

Kris-B commented 9 years ago

Hi! The container of the gallery is hidden when the gallery is first build, so the conatiner's width cannot nbe retrieved. Workaround: build the gallery not on document ready, but just after the container is displaued.

blondie2world commented 9 years ago

Hey, this is a logical explanation. I'll fix that! thank you very much for this solid solution! Great app!!

Kris-B commented 9 years ago

;-)