custom certificate - Error

custom certificate - Error

by Ruwan Kahawattage -
Number of replies: 4

Hi,

When I try to preview custom certificate I get following error

Exception - TCPDF ERROR: [Image] Unable to get the size of the image: [localcachedir]\505e32f3-6216-4812-8c67-a535a86e1a73\089ce646-416e-47c3-bffd-d193e3c679c4/target

I tried many suggestions given in the group. But still getting the error,

Moodle Version - 3.7.1

Regards,

Ruwan

Average of ratings: -
In reply to Ruwan Kahawattage

Re: custom certificate - Error

by Helen Foster -
Picture of Core developers Picture of Documentation writers Picture of Moodle HQ Picture of Particularly helpful Moodlers Picture of Plugin developers Picture of Testers Picture of Translators

Hi Ruwan,

I got that error when editing the certificate and I tried to add a QA code element. After deleting the QA code element, the certificate preview displayed fine.

In reply to Helen Foster

Re: custom certificate - Error

by Ruwan Kahawattage -

Hi Helen,

I think that was the issue in mine too. I set a specific height and width for QR (16X16) and it started working.

Thanks for the reply.

Average of ratings: Useful (1)
In reply to Ruwan Kahawattage

Re: custom certificate - Error when adding QR code element [Solved]

by Helen Foster -
Picture of Core developers Picture of Documentation writers Picture of Moodle HQ Picture of Particularly helpful Moodlers Picture of Plugin developers Picture of Testers Picture of Translators

Good to hear that the problem is solved Ruwan! Thanks for posting your solution. smile