Coder Social home page Coder Social logo

Lazy loading of images about styleguides HOT 3 CLOSED

benbrignell avatar benbrignell commented on August 24, 2024 1
Lazy loading of images

from styleguides.

Comments (3)

maban avatar maban commented on August 24, 2024 1

Done!

from styleguides.

whitingx avatar whitingx commented on August 24, 2024

Wonder if it would also be useful to automate this screenshot process for when new resources are added.

Could use one of the screenshot>image API services available (e.g. http://www.page2images.com/website_thumbnail_api_document) to remove the manual step of adding individual screenshots.

As this could be done off the URL used to link to the style guide resource it would have the benefit of being able to set a refresh time to ensure the screenshot is always up-to-date. Might also be possible to use this to highlight when resource URLs change - if the screenshot API fails the resource link could be checked/updated.

from styleguides.

benbrignell avatar benbrignell commented on August 24, 2024

@whitingx at a quick glance I'm not sure if this particular suggestion would be suitable, however a solution like this would be worth considering but I think it best sit as it's own issue/suggestion.

As for lazy loading @maban, as you've tagged this 'help wanted' I recently used this https://github.com/kaizau/Lazy-Load-Images-without-jQuery which was quite lightweight and has no dependencies, which I could use on styleguides if that's easier.

from styleguides.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.