Press "Enter" to skip to content

Angular Image Upload & Crop Javascript | ngx-img

ngx-img is a highly customizable image cropping and image loading component for Angular 5+ applications.

ngx image cropper, angular crop image before upload, angular image upload, image crop and upload in angular, upload image in angular

Feature-Rich Image With Pure JavaScript | Cropper.js

How to make use of it:

Installation:

npm install --save ngx-img

1. Once installed, you will need to import the main module:

import { NgxImgModule } from 'ngx-img';

2. The only part left is to list the imported module in your application module.

import { NgxImgModule } from 'ngx-img';

@NgModule({
  declarations: [AppComponent, ...],
  imports: [NgxImgModule.forRoot(), ...],  
  bootstrap: [AppComponent]
})
export class AppModule {
}

3. Other modules in your application can import a NgxImgModule:

import { NgxImgModule } from 'ngx-img';

@NgModule({
  declarations: [OtherComponent, ...],
  imports: [NgxImgModule, ...], 
})
export class OtherModule {
}

ngx-img – Angular Image Upload & Crop Plugin/Github


See Demo And Download

Official Website(harryy2510): Click Here

This superior jQuery/javascript plugin is developed by harryy2510. For extra Advanced Usages, please go to the official website.

Be First to Comment

    Leave a Reply

    Your email address will not be published. Required fields are marked *