1.2.0 • Published 10 months ago

jnt-image-toolkit v1.2.0

Weekly downloads
-
License
ISC
Repository
github
Last release
10 months ago

Image Toolkit

This is intended to be used on sites hosted by JNT Company. This is created and maintaned specifically for our internal use. Non-customized version is available at matiasgali/guillotine

Requirements

  • Bootstrap 5
  • jQuery

Installation

npm install jnt-image-toolkit

JS

require('jnt-image-toolkit/app.js');

SCSS

@import 'jnt-image-toolkit/app.scss';

HTML

Required HTML

  • data-height
  • data-width
  • class="image-toolkit"
  • hidden input with an ID of name_transformation
    • the ID may also be specific in the file input with data-transformation
<input type="file" class="image-toolkit" name="photo" data-height="500" data-width="500" />
<input type="hidden" name="photo_transformation" id="photo_transformation" />
1.2.0

10 months ago

1.1.1

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago