Adding more images in certificate

Adding more images in certificate

par Nutan Rajmlani,
Nombre de réponses : 3

Hi,

I want to add extra images apart from seal, sign, logo, border, water mark etc.

in my certificate. Then how it is ppossible. Please tell me.

Thanks,

Nutan

Moyenne des évaluations: -
En réponse à Nutan Rajmlani

Re: Adding more images in certificate

par Frank Erazo,

Nutan:

I'm not sure what the new settings maybe, but here are the settings I used in Photoshop.  

One thing I did was I downloaded one of the seals and images.  I opened both in Photoshop to examine their dimensions.  Then I simply multiplied each one by 5 to make a larger canvas.  That way I ensured the images were the same exact settings as the default ones.  

I know you can make adjustments to the code to compensate for different images, but I felt it was too much of a headache to go through that.  It seemed more efficient to simply upload images that matched the dimensions of all the others.  

Good luck.

Annexe MoodleCertSettings.png
En réponse à Frank Erazo

Re: Adding more images in certificate

par Nutan Rajmlani,

Thanks but i need it from coding coz not want to use photoshop. Is there any method to do it the please let me know. And how to change background color of a particular text in cerifiacte ?

Thanks,

Nutan

En réponse à Nutan Rajmlani

Re: Adding more images in certificate

par Mark Nelson,
Avatar Core developers Avatar Documentation writers Avatar Particularly helpful Moodlers Avatar Peer reviewers Avatar Plugin developers Avatar Testers

Hi Nutan,

All the display functionality is contained within the certificate type (mod/certificate/type/<thetypeyouareusing>/certificate.php). Here you will see a list of functions that control the output of the certificate, such as printing text and displaying images. Let me know if you need further help understanding the code.

Regards,

Mark