Coder Social home page Coder Social logo

angular-qiniu-imageview2's Introduction

angular-qiniu-imageview2

AngularJS component for preprocessing image URL from qiniu.com(七牛云存储)

Installation

  1. bower install --save L42y/angular-qiniu-imageview2

  2. including script file provided by dependency angular-qiniu-image into your application

  3. including angular-qiniu-imageview2.js script file provided by this component into your application

  4. adding l42y.qiniu.image and l42y.qiniu.imageview2 as a module dependency to your application

Usage

<img width="200"
     height="400"
     qiniu-image="{{ object.image.url }}"
     qiniu-imageview2
     qiniu-imageview2-mode="1"
     qiniu-imageview2-format="webp,jpg" <!-- use a secondary fallback format -->
     qiniu-imageview2-quality="100">

Changelog

  • 1.0.0

    use qiniu-image instead of qiniu-imageview2 for setting image URL

License

WTFPL

angular-qiniu-imageview2's People

Contributors

l42y avatar

Watchers

 avatar  avatar  avatar

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.