Hello to all!
I make a site for practice on LAN.
And then it was time to download avatars. I want to do the type uploaded photo -> selected area -> saved to the server. Well, as in the VC. Found ways to isolate. Jcrop etc. But the problem with these methods was that if the user uploaded a photo with a size of 1980х1024
(well, much shorter), then a scroll bar appears in the browser (below). In CSS, fixed a couple of lines. Added max-width: 600px;
(for example), but if you select an area and save another area. ps I hope you understand.
or how classmates can do. In short, are there any solutions for uploading avatars with size checks?
So that you can select the area of the photo and then save it. Avatars on my site 200х200px
.