-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Option to add an image to the background #5
Comments
Yeah please 👍 |
@christopherkade I could take a look at this one as well. Im not sure how easy it is to do, especially to create something moveable, but I could try and do the initial work. |
Hey @diveresque, of course, go ahead and have fun. I'm afraid |
Great :) will see how I go. A few questions:
|
As you can see here, I don't have any experience with image uploading with React sadly, |
Hi @christopherkade sorry it took me a while to get to this.. I started and have a basic dropzone set up, but just want to check im on the right track for the next part - thinking to use FileReader (Im not that familiar with it for this kind of usage) for the uploaded image and then try to display it in the Output, using something similar to what you have for the other inputs (color, title). Thoughts? |
Using react-dropzone and FileReader to allow user to upload image from computer onto background-image of the banner christopherkade#5
Users should be able to select an image from their computer and have it displayed as the background of the banner.
Another option would be to integrate something like Unsplash in order to retrieve free images directly through the app.
A few questions are important:
There is a problem with
html2canvas
not being able to generate a canvas based on an image though, so that would mean either changing the way we generate the canvas or dropping the idea.The text was updated successfully, but these errors were encountered: