lzane/hexo-light-gallery

How to enable lg-zoom plug-in

Closed this issue · 0 comments

Sorry to trouble you.
I want to know how to enable the lg-zoom plug-in?
I download the lg-zoom.js and put it in \source, then edit the _config.yml like this

lightgallery:
    # if you don't specify the css or js source, the default cdn will be used.
    # css: # css source url
    # js: #js source url
    # sorry that I can not find any cdn hosting following plugins,
    # please self-host the plugin js and add url here
    plugins:
        # lg-thumbnail:
        lg-zoom:"http://localhost:4000/lg-zoom.js/dist/lg-zoom.min.js"

But it can't work.
Hope you could give me some advices.