Moodle Plugins directory: Certificate Image Generator | Moodle.org
Certificate Image Generator
📌 Local Certificate Image Generator
Instant Shareable Certificate Images for Moodle
🧩 What This Plugin Does
This plugin automatically converts Moodle Custom Certificate PDFs into images and provides a public share link, allowing learners to showcase their certificates instantly.
✔ Key Features
-
🖼 Instant Image generation when a learner views their certificate
-
🔗 Share button added directly on certificate view page
-
🌍 Public share link — no login required
-
📱 Works with WhatsApp, Facebook, LinkedIn previews (OG metadata)
-
🧩 No modification to core mod_customcert plugin
-
⚡ No cron needed — real-time processing
-
🛠 Uses Poppler (pdftoppm / pdftocairo) for PDF → Image conversion
-
🔐 Secure: uses random share codes (no personal data in URL)
🛠 Requirements
-
Moodle 4.2+
-
Custom Certificate plugin installed (mod_customcert)
-
Poppler utilities installed
Check:pdftoppm -v
📂 Installation
-
Upload the ZIP via:
Site administration → Plugins → Install plugins -
Click Continue through validation
-
Purge caches
🚀 How It Works
-
User views certificate → PDF is generated by mod_customcert
-
Plugin detects PDF and creates an image using Poppler
-
Adds a Share Certificate button
-
Learner gets a public page to showcase their achievement
Example share link:
https://yourmoodlesite.com/local/certimagegen/certificate.php?code=f4zji20Bho
🎯 Why Use This Plugin?
Give your learners a professional way to:
-
Share certificates on LinkedIn
-
Send proof on WhatsApp or email
-
Display achievements on resumes & portfolios
Just like Coursera, Udemy, LinkedIn Learning — inside Moodle 🎉
Comments