All Projects → zpfz → Rverify.js

zpfz / Rverify.js

Licence: mit
✅❎ A lightweight image rotation verification plugin.

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Rverify.js

Jqueryrotate
jQueryRotate - plugin to rotate images by any angle cross-browse with animation support
Stars: ✭ 157 (+375.76%)
Mutual labels:  image, rotation, rotate
Vonage Java Sdk
Vonage Server SDK for Java. API support for SMS, Voice, Text-to-Speech, Numbers, Verify (2FA) and more.
Stars: ✭ 75 (+127.27%)
Mutual labels:  verify, verification
Igrphototweaks
Drag, Rotate, Scale and Crop
Stars: ✭ 212 (+542.42%)
Mutual labels:  image, rotation
verify-apple-id-token
Verify the Apple id token on the server side.
Stars: ✭ 49 (+48.48%)
Mutual labels:  verify, verification
Ucrop
Image Cropping Library for Android
Stars: ✭ 11,003 (+33242.42%)
Mutual labels:  image, rotation
Flutter image editor
Flutter plugin, support android/ios.Support crop, flip, rotate, color martix, mix image, add text. merge multi images.
Stars: ✭ 181 (+448.48%)
Mutual labels:  image, rotate
Android Play Safetynet
Samples for the Google SafetyNet Attestation API
Stars: ✭ 195 (+490.91%)
Mutual labels:  verify, verification
Flutter advanced networkimage
flutter advanced network image provider
Stars: ✭ 282 (+754.55%)
Mutual labels:  image, rotate
VerificationCode
简单的滑动验证码JS插件 图片验证码
Stars: ✭ 15 (-54.55%)
Mutual labels:  verify, verification
email-checker
Provides email verification on the go.
Stars: ✭ 116 (+251.52%)
Mutual labels:  verify, verification
Extended image
A powerful official extension library of image, which support placeholder(loading)/ failed state, cache network, zoom pan image, photo view, slide out page, editor(crop,rotate,flip), paint custom etc.
Stars: ✭ 1,021 (+2993.94%)
Mutual labels:  image, rotate
Imaging
Imaging is a simple image processing package for Go
Stars: ✭ 4,023 (+12090.91%)
Mutual labels:  image, rotate
Immudb
immudb - world’s fastest immutable database, built on a zero trust model
Stars: ✭ 3,743 (+11242.42%)
Mutual labels:  verify, verification
FanLayout
可定制性超强的圆弧滑动组件
Stars: ✭ 28 (-15.15%)
Mutual labels:  rotate, rotation
Rotatable
Helper class to make any view rotatable
Stars: ✭ 295 (+793.94%)
Mutual labels:  rotation, rotate
Zmjimageeditor
ZMJImageEditor is a picture editing component like WeChat. It is powerful and easy to integrate, supporting rendering, text, rotation, tailoring, mapping and other functions. (ZMJImageEditor 是一个和微信一样图片编辑的组件,功能强大,极易集成,支持绘制、文字、旋转、剪裁、贴图等功能)
Stars: ✭ 470 (+1324.24%)
Mutual labels:  image, rotation
Laravel Image Optimizer
Optimize images in your Laravel app
Stars: ✭ 873 (+2545.45%)
Mutual labels:  image
Jukeboks
Jukeboks is a fast viewer / player app
Stars: ✭ 21 (-36.36%)
Mutual labels:  image
Egjs
Javascript components group that brings easiest and fastest way to build a web application in your way.
Stars: ✭ 871 (+2539.39%)
Mutual labels:  rotate
Ng Lazy Load
Lazy loading images with Angular.
Stars: ✭ 12 (-63.64%)
Mutual labels:  image

RVerify.js

✅❎ A lightweight image rotation verification plugin.

Build Downloads Version License

Installation

Add RVerify.js and RVerify.css to your project.

<script src="RVerify.js"></script>
<link rel="stylesheet" href="RVerify.css"/>

You can get the corresponding CDN link from unpkg or jsdelivr.

RVerify.js is available via npm.

npm install --save rverify

Basic usage

Simply call action() to activate the verification modal.

RVerify.action(function(res){
  console.log(res);
});

res will return 3 different codes:

  • 0: Verify failed.
  • 1: Verify successful.
  • 2: No action.(Return the code when the modal is closed before it successfully verified.)

Configuration

You can configure some parameters through RVerify.configure({}).

mask

Type: Number
Default: 0.5

Set the mask transparency.

RVerify.configure({
  mask: 0.5
})

maskClosable

Type: Boolean
Default: false

Set whether click the mask can be closed.

RVerify.configure({
  maskClosable: true
})

closeIcon

Type: String
Default: (SVG CODE)

Set the modal close icon.

RVerify.configure({
  closeIcon: '(Please copy the SVG code)'
})

NOTE: It's recommended to set the SVG icon width and height to 20px.

sliderIcon

Type: String
Default: (SVG CODE)

Set the modal slider icon.

RVerify.configure({
  sliderIcon: '(Please copy the SVG code)'
})

NOTE: It's recommended to set the SVG icon width and height to 20px.

extraIcon

Type: String
Default: (SVG CODE)

Set the modal extra icon.

RVerify.configure({
  extraIcon: '(Please copy the SVG code)'
})

NOTE: It's recommended to set the SVG icon width and height to 15px.

tolerance

Type: Number
Default: 10

Set the verification tolerance range.(Range: 5°~45°)

RVerify.configure({
  tolerance: 10
})

NOTE: In order to ensure a friendly verification effect, its value ranges from 5° to 45°.

duration

Type: Number
Default: 500

Set the modal delay closing time.(Unit: ms)

RVerify.configure({
  duration: 1000
})

title

Type: String
Default: 身份验证

Set the modal title.

RVerify.configure({
  title: 'Authentication'
})

text

Type: String
Default: 拖动滑块,使图片角度为正

Set the modal text.

RVerify.configure({
  text: 'Drag the slider to make the image angle positive.'
})

extra

Type: String
Default: null

Set extra features at the bottom of the modal.

RVerify.configure({
  extra: 'View on Npm'
})

extraColor

Type: String
Default: #4E6EF2

Set extra features text color at the bottom of the modal.

RVerify.configure({
  extraColor: '#1ca280'
})

extraLink

Type: String
Default: https://github.com/zpfz

Set extra features link at the bottom of the modal.

RVerify.configure({
  extraLink: 'https://www.npmjs.com/package/rverify'
})

zIndex

Type: Number
Default: 9999

Set the modal z-index.

RVerify.configure({
  zIndex: 1000
})

album

Type: Array
Default: []

Set the modal randomly displayed image album.

RVerify.configure({
  album: [
    'https://rverify.vercel.app/assets/1.jpg',
    'https://rverify.vercel.app/assets/2.jpg',
    'https://rverify.vercel.app/assets/3.jpg',
    'https://rverify.vercel.app/assets/4.jpg',
    'https://rverify.vercel.app/assets/5.jpg',
    'https://rverify.vercel.app/assets/6.jpg',
    'https://rverify.vercel.app/assets/7.jpg',
    'https://rverify.vercel.app/assets/8.jpg',
    'https://rverify.vercel.app/assets/9.jpg',
    'https://rverify.vercel.app/assets/10.jpg'
  ]
})

NOTE: An image needs to be set at least.

Contributors

This project exists thanks to all the people who contribute.

Feng L.H. Guojun Chen WampyCakes

License

RVerify © 2020-present, Feng L.H. Released under the MIT License.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].