Image upload cropping problem

Inside the project, I encountered a module that needs to upload an avatar, and encountered many problems.

1. Bear the brunt, old problems, compatibility problems, many plug-ins now deal with image plug-ins do not support ie7.8.9

2. The file path problem, the major browsers are not the same, Google can basically get it and display it. ie7.8.9 will not work. Safari browser is not the same. Stupid for five minutes. . . .

3. The most stable method is to upload a picture on the front end => follow the picture to six points => crop in the background => save the database => pass it to the front end => display it on the interface; ok perfectly bypasses the compatibility problem, But it's troublesome.

Then find a way that is only compatible with ie10,11,chrom,safar,open,frefox browsers . mind not to choose;

http://www.jq22.com/jquery-info18167 //Plugins inside the jquery plugin library

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325369990&siteId=291194637