I want to add a photo to the certificate that the student has previously uploaded. I can find the image no problem using this:
If I put that url in it displays the photo. So the I put this url in to the certificate code like this:
I then get this error: FPDF error: Missing or incorrect image file
Because of the way Moodle 2.0 now stores uploaded files I don't think I can do a direct link to the image itself since it is now encrypted before being stored in the moodledata directory.
Any suggestions on how I could refer to a file that the student has uploaded or even to their user photo? I would like to use the certificate module to produce ID cards automatically without them hving to be manually formatted every time.