How to crop the image before uploading it with Cropper JS & PHP

preview_player
Показать описание
In this tutorial, we will learn how to crop the image before uploading it with Cropper JS & PHP.

Рекомендации по теме
Комментарии
Автор

many thanks for the wonderful tutorial

hasinmahjabeen
Автор

Hey, thanks for this video. It is useful to me. But I request you to create a next step of this after cropping the cropped file should automatically fit into a frame. The frame is also an image. There Is multiple frame.i can change frame dynamically on server to see which is perfect for that image.


Please it's a request if you can then please make a video on this.

Thanks!

vikashkumavat
Автор

Hey, hi ! Is there anyway to change the shape of the cropping tool..Which part of the code should we change to crop an image in a triangle shape...Kindly help

NivedhithaDP
Автор

how to get that cropped image in canvas or para tag.

sebastianrodrigues
Автор

Hi. I need the source code. May you help me ?

akifguldemir
Автор

I can not change width and height. If i set width: 100, height: 150, After upload it will be 100x100

smnahidurrahman
Автор

how to do it in flask please suggest me?

moonsheikh
Автор

Hello rudranshi, how can we use bootstrap 5 for this script?

suleymanack
Автор

How to make so you can just be able to choose the area, not change Width and Height.

derekkroeker
Автор

how to do fix height and width ??if i fixed different height and width but after upload height and width are same size.what is the problem??

rashidulislamrasel
Автор

how to change the selection tool from square to rectangle.

bazmhassanpkofficial
Автор

Hello rudranshi, I need some help. Can I contact you ?

darioalves
Автор

You talk so much about Bootstrap. Do we need Bootstap for this?

kornelijekovac
Автор

There is no option to download these files

barjinderkumar
Автор

Hi! I'm getting an error Uncaught Error: The first argument is required and must be an <img> or <canvas> element.

erkash