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 .

    1 answer 1

    http://rubaxa.imtqy.com/jquery.fileapi/ - not for the sake of advertising (as long as it's only beta), I just can't remember such decisions as a memory.

    • Could you explain in more detail how it works? I spent 2 hours and did not understand. Does it save the photo that the user selects? Ps for more details please. And so far she is better than the rest - timurbegiev
    • Exactly, it saves exactly what the user has allocated, if you write something to ibnRubaXa@gmail.com I will help with the integration. - RubaXa
    • I wrote to you in the mail. Waiting for an answer. - timurbegiev
    • @RubaXa, very cool, plus you!) - nolka