Socket
Socket
Sign inDemoInstall

exif-rotate-js

Package Overview
Dependencies
Maintainers
1
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

exif-rotate-js

When you use input file, you can see preview images.


Version published
Weekly downloads
1.3K
decreased by-20.83%
Maintainers
1
Weekly downloads
 
Created
Source

exif-rotate-js

When you use input file, you can see preview images.

WHAT'S THIS MODULE

  • preview on file upload images.
  • use file API, correct to mobile.
  • resize image's file size and size.

HOW IT'S WORKS

npm install exif-rotate-js
var ExifRotate = require('exif-rotate-js');
ExifRotate.onChangeFile('{options}');
<div id="container">{here_is_uploaded_images}</div>
<input type="file" id="{file_elem_id}" multiple>

METHODS

NameArgumentDescription
onChangeFileObjectPreview images. Setting Options

OPTIONS

See lib/configs.js

onChangeFile

elem_id
  • Type: string
  • Default: null
max_size
  • Type: number
  • Default: 720
container_id
  • Type: string
  • Default: container

Keywords

FAQs

Package last updated on 04 Oct 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc