I am currently working on task where I have to download user profile photos from moodle in a certain group. I get the urls of the photos by using: $source = moodle_url
$source = moodle_url