ntes-optimize-image

1.0.5 • Public • Published

缩图服务

USAGE

cnd http://static.ws.126.net/utf8/3g/libs/x.x.x/optImage.js

  optImage(url, width = 750, height = 2147483647, quality = 75)

会判断页面是否支持webp,图片不为gif时,自动使用webp

Readme

Keywords

none

Package Sidebar

Install

npm i ntes-optimize-image

Weekly Downloads

0

Version

1.0.5

License

ISC

Unpacked Size

6.28 kB

Total Files

5

Last publish

Collaborators

  • ybduan