Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

My blog do NOT generate lazyload img in hexo generate #87

Closed
iChrAlpha opened this issue Dec 21, 2019 · 1 comment
Closed

My blog do NOT generate lazyload img in hexo generate #87

iChrAlpha opened this issue Dec 21, 2019 · 1 comment

Comments

@iChrAlpha
Copy link

After I install this plugin into my hexo blog, then I add the keywords to theme's _config.

But as I clean the cache, use hexo clean && hexo g, it did not make any sense.

I love this idea to lazyload image so much that how can I use it up correctly.

P.S. I am actually not good at coding since I am in the mathematical domain, so may be poor in capability. Pardon.

@ertrzyiks
Copy link
Collaborator

Hey @ChrAlpha, this plugin does not generate any assets if that's what you expected. It also does not cover the full integration into the blog, there is a separate issue #51 to make it simpler. In the current shape, it's more like a helper that allows you to build your own lazy loading version.

To use it you need to update your theme with something similar to what is described here https://github.com/hexojs/hexo-filter-lqip#front-end-integration

You can grasp the idea how to do that also by reviewing the example blog https://github.com/ertrzyiks/hexo-lqip-example

Is your blog's source code publicly available?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants