Crop Image Dengan Ajax di Laravel

-- /views/imagecrop/imagecrop.blade.php -- @extends('template') @section('main')

Laravel crop image before upload using croppie plugins

Select Image:

Upload Image

Preview Image

--Javascrip---

@stop

-- route.php -- Route::group(['middleware' => ['web']], function () {

$this->get('login', 'Auth\AuthController@showLoginForm'); $this->post('login', 'Auth\AuthController@login'); $this->get('logout', 'Auth\AuthController@logout'); Route::get('register', function() { return redirect('/'); });

Route::resource('imageCrop', 'ImageController');

});

avatar Timop
@Timop

1 Kontribusi 0 Poin

Dipost 7 tahun yang lalu

Belum ada Jawaban. Jadi yang pertama Jawaban

Login untuk ikut Jawaban