Photos do not load correctly

We use Html, AngularJs 1.6.X, Dropzone.JS 4.3 , Upload Image and Azure Blob Storage.

In client snapshots:

  • Rotate according to their EXIF ​​information
  • Resized with a maximum size of 1280 x 960
  • Uploaded to Azure Blob

There are cases when images are loaded with an increase in the upper left corner.

Any ideas on diagnosing and fixing the problem?

Thanks in advance.

+5
source share
1 answer

After some attempts, I was able to pinpoint the problem for the Load-Image.js scaling method.

I'm not sure what causes the problem, but replacing the library with another, the custom version of Image-Uploader fixed the problem.

Hope this helps someone else.

+5
source

Source: https://habr.com/ru/post/1270676/


All Articles