Git Product home page Git Product logo

Comments (3)

bcabanes avatar bcabanes commented on July 17, 2024

Hi @jamiemcl and thank you!
Unfortunately, i can't reproduce what you're explaining so could you create a plunkr or jsbin to show me your problem?
Normally, if you change the image, the directive should reload itself with the new image.

++

from angular-image-cropper.

andreafdaf avatar andreafdaf commented on July 17, 2024

I'm having a similar problem but when using big images, it never happens at the first try (even if the image is 10MB), but if you load big, small, big, small, a couple of times it always happens...

1

2

3

the above images were loaded in order, the first one is big, the second one is big (and there you see the problem), the third one is small so things go back to normal but after it happens the first time the directive never works fine again with images bigger than 520-550kB, if you load a small image it works fine but if the image is heavier than this threshold it gets zoomed way out, a big part of the image gets ignored (so most of the cropped image is black) and the center of this strangely cropped image gets pushed a lot towards up and left

from angular-image-cropper.

bcabanes avatar bcabanes commented on July 17, 2024

A new version is available. Closing.

from angular-image-cropper.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.