-
Notifications
You must be signed in to change notification settings - Fork 406
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
No docs #82
Comments
Hello. |
Is fabric.js a depdendency? I resolved the error @aaronhill6 was having by including the file on $(document).ready, but then it complains about fabric.js. I include fabric.js, but then it complains about canvas. It is not clear how to include darkroom into an all-javascript application. |
Never mind. I was trying to include canvas.js via require(). Once I included it using a script tag it began to work. Thanks for your work on this. I do think that pointing out that fabric.js is a dependency would be helpful in the documents |
Hello, I agree with @rashkov, this is one point which make me hesitate to choose your crop utility copare to other which seems... not as good. But they are well documented. Can you write a bit of documentation? Especially on the plugins. Thanks in advance! |
Has anyone successfully written extensions for this? If so could you share? |
I would like to know how (or if it's possible) to output a jpg instead of a png when hitting Save. |
Nevermind. I figued out how. It looks like its found in the .toDataURL() call, which takes options. It would be nice if that could be specified in the configuration of the instance though. Maybe I'll look into adding that. |
@tejaswigowda, if you are still trying to use this utility, I'd recommending looking at PR #105 for help. Looking at the differences really helped me. |
can we use Darkroom with fabric v2.3.4?? |
use cdn for fabric.js |
This plugin looks like it would be pretty cool, but without any documentation, it's basically worthless. I used bower to install it in my project, initialized Darkroom.js on an image and got a "Cannot read property 'extend' of undefined" error on this line in the constructor:
this.options = Darkroom.Utils.extend(options, this.defaults);
Since there is not even any documentation about how Darkroom expects to be installed in a project (e.g. what file(s) to include), I have no way of even telling if I did it correctly. So I uninstalled the plugin and used another one. I look forward to trying this plugin out once there is some documentation.
The text was updated successfully, but these errors were encountered: