Website demos are using Fabricjs 5.3.x and I spent hours trying to figure out why image upload of PNG and SVG was not working #10134
designlook
started this conversation in
General
Replies: 1 comment 2 replies
-
Migrating the website is taking long, there are updated demos here: |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I was looking at the code here in this demo
http://fabricjs.com/clipping
And re-used code to build an uploader and spent hours and could not figure out why it was not working. There was no errors in console and I spent hours trying different things until I stumbled upon this discussion today and finally understood why the code was not working (the demo was actually using fabricjs 5.x code). There was a link to a stackblitz in that discussion and the code there finally clued me in on why my code was not working. It needs the then(img)
It would be really helpful if demos included a demo with fabricjs 6.x where it shows an upload button as well as input to a URL and show how upload of png, jpeg, gif would work via upload as well as via a URL.
Also would be great if the demos could be labeled with what version of fabricjs it's running. I was assuming all the demos were all using version 6.x
Beta Was this translation helpful? Give feedback.
All reactions