Giter VIP home page Giter VIP logo

awesome-image's Introduction

中文

AwesomeImage is a universal image component that supports lazy/progressive/responsive/automatic webp which compatible with Vue2/Vue3/NUXT.

It can also be paired with the official WebGL filter library or a custom WebGL filter component, or the WebGL transition component for an awesome image display or button effect.

Document

AwesomeImage

Features

  • Lazy loading —— set when to load the image and placeholder image separately

  • Responsive loading —— load images of different sizes based on screen width

  • Progressive loading —— load a 48px blured image as placeholder, then display the image smoothly

  • SSR —— support server-side rendering, if specify non-lazy loading for the first screen, it will load the images before hydrate. And compatible with the progressive effect, improve the first screen loading experience

  • WEBP compatibility —— you can use the auto-webp property to add a webp compatible notation when using an image service that does not support automatic webp

  • WebGL filter —— WebGL Filter Component can be used in AsImage component to processe image More

  • WebGL transition —— you can use the webgl image transition component AsTransition to switch image with awesome webgl effect. Support GLTransitions and custom WebGL image transitions More

  • Custom image url generator —— @awesome-image/services has built-in image url generator rules such as fastly and upyun, you can customize other image url generator functions More

Demo

Demo

Show Case

Lazy / Responsive / Progressive / SSR

WebGL Filter (@awesome-image/filter-fake3d)

WebGL Transition

Development

Installation

pnpm i

Build workspace

pnpm run build

Develop package

// @awesome-image/image
pnpm -C ./packages/image/ dev

// @awesome-image/transition
pnpm -C ./packages/transition/ dev

// @awesome-image/services
pnpm -C ./packages/services/ dev

// @awesome-image/filter-glitch
pnpm -C ./packages/filters/glitch/ dev

awesome-image's People

Contributors

newbeea avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

awesome-image's Issues

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.