HI!
I am learning how to create custom plugin(module) for moodle. and right now i am not clear how to upload images in that. Actually i am trying to create a module in which user can upload image using addElement('file') functionality.
Can anyone help me how to do it?
Kamal