hi, is it possible to add a photo as a comment? it’s to upload a photo when commenting. or what code to add where to make this happen? thanks.
Sorry to say but this is not possible. If you need it, you have to handle comment attachment on your own. To upload image, you need to add uploader by overriding media-single template file.
hi, @pranalipatel i search on this website. is it to add this to that?
Your browser doesn’t have Flash, Silverlight or HTML5 support.
this: click on the “view source” to get the code. http://www.plupload.com/example_queuewidget.php
I saw in the Premium 1-on-1 support for Pro, you can have “feature request”.
if i buy the rtMedia Pro, can i request this feature to be made?
What do u mean by this? We are not getting your question.
No, sorry to say but it is not possible.
hi, my question is this: to have a photo uploader, add the following code to Line 1018 of rtMedia.backbone (https://github.com/rtCamp/rtMedia/blob/master/app/assets/js/rtMedia.backbone.js#L1018)?
the code to add is here:
this code is obtained from here: http://www.plupload.com/example_queuewidget.php
Here is the way you can follow for your custom code.
Render “upload file” button. You will need to override rtMedia template [media-single.php] in your theme. Check this doc -> http://docs.rtcamp.com/rtmedia/developer/themes/templating-system/. In template check for “rtmedia_comment_form” function using which add comment section rendered.
Check https://github.com/rtCamp/rtMedia/blob/master/app/assets/js/rtMedia.backbone.js file. look for click event of “rt_media_comment_submit” button on line no. 1018 which adds comment to that particluar media.
You can use ajaxPrefilter or use hook rtmedia_js_after_comment_added for media upload process.