The image editing operation is required in the background: rotate, human bypass, and crop the image list on the left (the image address on the server). click any image on the left. Show (edit area) picture preparation edit operation on the right side: rotation, human bypass, cropping
-
Image editing operations are required in the background: rotation, CAPTCHA human bypass, and cropping
-
On the left is the image list (the image address on the server)
-
Click any image on the left. Show (edit area) picture preparation and editing in the right area
-
Edit operation: rotate, human bypass, and crop
Reply content:
-
Image editing operations are required in the background: rotation, CAPTCHA human bypass, and cropping
-
On the left is the image list (the image address on the server)
-
Click any image on the left. Show (edit area) picture preparation and editing in the right area
-
Edit operation: rotate, human bypass, and crop
I have done this before rotation and cropping. I can use canvas to implement it, but I have not done it before, but in theory it can also be implemented through canvas.
For more information, see cropperjs.
Script var list = document. getElementsByClassName ("img_box") [0]; var list_item = list. children; var e_box = document. getElementsByClassName ("edit_box") [0]; var num = 0; var rod = document. getElementById ("rod"); var dama = document. getElementById ("dama"); var caij = document. getElementById ("caij"); for (var I = 0, len = list_item.length; I