when a student select an image to save, if student is blind I need to do some processing on the image and convert it to braille recognizable format and then save it.But with moodle file api i don't know how to access the image.(because in this case i need to find and have access to image when user select it and I want to do processing on that image)
$url = $CFG->wwwroot/pluginfile.php/$forumcontextid/mod_forum/post/$postid/image.jpg
If it is possible with above code, can you please explain me these paramaters and how to set them? for example how to get $CFG, $forumcontexid and $postid?
Thanks a lot!