Closed JohnyProkie closed 3 years ago
Good afternoon / pěkné odpoledne
I'm glad you like this plugin and I'm happy for your contribution! Sadly due to work this week I'm unable to go through the pull request anytime soon. Hopefully I'll find more time during the weekend. Sorry for waiting. :)
All fine, take your time :)
Thanks for your contribution and patience! :)
Good afternoon! / Hezké odpoledne :) I love your gallery, but I needed some preview functionality + lazy loading seems to be a nice extra feature, so I did these changes:
:preview-count
is set and integer, it will render specified number of pictures from gallery as preview. If:preview-count=0
none are displayed.lazy-loading
to false, e.g.lazy-loading=false
.idea
folder to.gitignore
, handy if you work with intellij IDEs (PhpStorm, WebStorm and others)Usage:
Renders only two lazy loaded pictures as preview from whole gallery
Same as above, with eager loading.