Giter Club home page Giter Club logo

Comments (8)

mike-suggitt avatar mike-suggitt commented on June 24, 2024

It already does?....I'm using a remote URL as part of my demo page

from ngimgcrop.

jaesung2061 avatar jaesung2061 commented on June 24, 2024

I get this message.

Image from origin 'http://rackcdn.com' has been blocked from loading by Cross-Origin Resource Sharing policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://finit-media.app:8000' is therefore not allowed access

from ngimgcrop.

mickeyckm avatar mickeyckm commented on June 24, 2024

I'm having the same issue as well.

from ngimgcrop.

rodrigoreis22 avatar rodrigoreis22 commented on June 24, 2024

I'm having the same issue when I try to show the current image on the canvas. It worked before.

from ngimgcrop.

nchudleigh avatar nchudleigh commented on June 24, 2024

Having the same issue, I believe you can set cross origin attributes on the canvas element?

https://developer.mozilla.org/en-US/docs/Web/HTML/CORS_enabled_image

going to try out some changes and if they work ill make a pull request for a CORSenabled option.

from ngimgcrop.

fastf0rward avatar fastf0rward commented on June 24, 2024

Hi @nchudleigh , did you ever get this working? We've run into the same wall :(.

from ngimgcrop.

nchudleigh avatar nchudleigh commented on June 24, 2024

I am sorry to say that no I didn't find a fix. Though if I do I will come back and post the solution. I fear it may be more complicated than I thought. Might take some hacky fixes but I will be forced to figure it out in the next few weeks. Stay tuned.

from ngimgcrop.

fastf0rward avatar fastf0rward commented on June 24, 2024

We were trying to load the original image (image="" property) from our S3 bucket, without having any Cross Origin settings on the bucket. We ended up configuring Cross Origin settings:

http://docs.aws.amazon.com/AmazonS3/latest/dev/cors.html

Now it all works.

from ngimgcrop.

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.