Moodle Plugins directory: Image optimization: Versions: 1.0.1 | Moodle.org
Image optimization
Administration tools ::: tool_imageoptimize
Maintained by
Igor Sazonov
Images compression/optimization on uploading or updating Moodle hooks
Image optimization 1.0.1
Moodle 3.8
Released: četvrtak, 28. svibnja 2020., 21:12
Image optimize/compress tool for Moodle
Save your hard disk space. Image optimize/compress tool is a Moodle plugin that makes sizes of uploaded images files smaller (from 10% to 80%) without cutting a quality on a Moodle based create and update hooks.
Requirements
Moodle
Moodle version 3.8+
Working with Moodle 3.8+ is possible because of MDL-35773.
Server
UNIX backed OS (not Windows or MacOS for the moment): Ubuntu/Debian, CentOS, Fedora.
PHP
PHP version 7.2.0+
Install
Server packages
Debian/Ubuntu
```$bash sudo apt-get install jpegoptim
sudo apt-get install optipng
sudo apt-get install pngquant
sudo apt-get install gifsicle
sudo apt-get install webp
#### Fedora/RHEL/CentOS
```$bash
sudo dnf install jpegoptim
sudo dnf install optipng
sudo dnf install pngquant
sudo dnf install gifsicle
sudo dnf install libwebp-tools
PHP
PHP core exec() function enabled (excluded from disable_functions directive in php.ini)
Code install
- Download with any cases below
- Go to Moodle plugin page and download ZIP file with the latest version
- Download here
- As an administrator go this way:
Site administration -> Plugins -> Install plugins
- Drop or choose a ZIP file to the ZIP package field, click Install plugin from the ZIP file
Credits
- The plugin using composer package spatie/image-optimizer. Thanks to Freek Van der Herten
- jpegoptim
- OptiPNG
- pngquant
- Gifsicle
- WebP
Languages
- English
- Russian
- Spanish
License
Moodle admin tool ImageOptimize is licensed under GNU General Public License v3 (or later).
Author
Version information
- Version build number
- 2020052800
- Version release name
- 1.0.1
- Maturity
- Stabilna inačica
- MD5 Sum
- 2128a5c5d00eb368e1e5981cd3cfcc46
- Supported software
- Moodle 3.8
- The more recent release 1.0.2 (2020060800) exists for Moodle 3.8
Version control information
- Version control system (VCS)
- GIT
- VCS repository URL
Default installation instructions for plugins of the type Administration tools
- Make sure you have all the required versions.
- Download and unpack the module.
- Place the folder (eg "mytool") in the "admin/tool" subdirectory.
- Visit http://yoursite.com/admin to finish the installation