metafizzy / flickity-docs

:memo: documentation for Flickity
28 stars 8 forks source link

Newbie - Images not showing #18

Closed abosarge closed 9 years ago

abosarge commented 9 years ago

Hi! I'm sure this is a user error, I'm pretty new to coding, but my images don't seem to be showing up. I'm not sure what I'm doing wrong, can you help? Thanks in advance. https://github.com/abosarge/Cookbook

desandro commented 9 years ago

I'm sorry to see you're having trouble with Flickity. Could you provide a reduced test case? See Submitting Issues in the contributing guidelines.

abosarge commented 9 years ago

Does this work? http://codepen.io/anon/pen/rOxVea I'm pretty new to this and want to make sure I'm giving you enough info. I have linkt to: flickity.pkgd.min.js flickity.css That seems to be creating the flickity structure, but the images are disappearing on the page.

desandro commented 9 years ago

Thanks for that! Looks like you need to use imagesLoaded option or the lazyLoad option

abosarge commented 9 years ago

Thanks! That solved it!

On Mon, Sep 14, 2015 at 1:28 PM, David DeSandro notifications@github.com wrote:

Thanks for that! Looks like you need to use imagesLoaded option http://flickity.metafizzy.co/options.html#imagesloaded or the lazyLoad option http://flickity.metafizzy.co/options.html#lazyload

— Reply to this email directly or view it on GitHub https://github.com/metafizzy/flickity-docs/issues/18#issuecomment-140153128 .