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
How to handle image upload #324
Comments
@AttitudeMonger see these options https://github.com/Alex-D/Trumbowyg/blob/develop/plugins/upload/trumbowyg.upload.js#L14 These options is not covered in documentations: |
Thanks mate. I will try it out. :) |
I am not able to understand the exact format of the Ajax request to be sent. Going by the source code of this page: http://alex-d.github.io/Trumbowyg/js/main.js, the code appears to be:
And on inspecting the Ajax request response, I can see that the link key holds the value of the image URL, which maps to the data.link value for the urlPropertyName key above. But what about the uploading part? What do I specify in the |
I'm think you should search this in google. |
@AttitudeMonger you can add it into URL or add into |
The Trumbowyg example page shows the editor where user can upload an image, and then the image is rendered in the editor. On inspecting the HTML, the image seems to be hosted in imgur. For me, it will be in my host. How to handle the image upload event so that it can be uploaded to my server, and the image rendered in the editor with the path to the image path in my server?
The text was updated successfully, but these errors were encountered: