Moodle plugin of the month – Image optimisation
Speed up the images on your site with this plugin…
This month we feature a more complex plugin, and definitely one for administrators.
With this Moodle admin tool plugin it is possible to save your hard disk space through optimisation (compressing) uploaded images sizes (up to 80%) without a huge loss in quality.
It works on a Moodle based create and update hooks. But you do have to install some additional tools on your server.
If you are using Ubuntu Server for example, this should make sense to most server admins…
- sudo apt-get install jpegoptim
- sudo apt-get install optipng
- sudo apt-get install gifsicle
- sudo apt-get install webp
As you can see, there are a few image optimisation application that need to be installed, and Moodle can then utilise these. You may also need to edit the main php.ini file as well.
Although the plugin documentation talks about saving disk space, the other obvious advantage is the speed at which these smaller images will render on the users screen – and this may in fact be far more important than the disk space aspect ?
You can install this plugin from:
https://moodle.org/plugins/tool_imageoptimize
Do you know you can read about and test almost 100 of the most useful and popular Moodle plugins on our https://plugins.moodlebites.com site, completely free !
- H5P periodic table – 8th September 2023
- Moodle 4.0 – 15th May 2022
- Moodle 4.0 other highlights – 14th May 2022
this plugin is not working
This plugin has specific server requirements, so it’s important to ensure your server has all dependency met.