timtnleeProject / vuejs-clipper

Vue.js image clipping components using Vue-Rx.

Home Page:https://timtnleeproject.github.io/vuejs-clipper/#/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

cross-origin props do not work

ErenPhayte opened this issue · comments

Describe the bug
Trying to set cross-origin=anonymous doesn't work at all. The img doesn't have the property so we can not crop S3 bucket images.

To Reproduce
Steps to reproduce the behaviour:

  1. Use any image from another origin that has the correct headers (Access-Control-Allow-Origin: *) or an S3 image.
  2. Try to crop an image and save it.

Expected behaviour
The image should crop.

Screenshots
Screenshot 2021-03-05 at 11 59 50

Additional context
By manually adding the correct attributes to the img it does work. But the prop to control it on a plugin level doesn't work

Screenshot 2021-03-05 at 17 02 58

Screenshot 2021-03-05 at 17 03 24