What this module does
Upendo Image Optimizer lets website visitors compress, resize, and convert images. Visitors add images, choose the output format, quality, target file size, and size, compare the result with the original, and then save or download the optimized files.
Images are optimized in the visitor's browser with codecs bundled in the module. They are not uploaded, and no third-party service is used. The only exception is the server path for very large files on tier 3, described below.
Supported files
- Accepted images: JPG (
.jpg or .jpeg), PNG, WebP, GIF, AVIF, and BMP. Only the first frame of an animated GIF is used.
- Output formats: JPG, PNG, or WebP. Same as original keeps JPG, PNG, and WebP in their format. GIF, AVIF, and BMP become WebP.
- ZIP files: Tiers that include ZIP files can add a ZIP of images. Up to 200 files are read from each ZIP file.
- SVG files: Never accepted, on any tier.
Who is who
- Visitors are everyone who opens the page, signed in or not. A visitor can use the optimizer only when one of their security roles is assigned to a tier.
- Superusers also see the Settings and Reports tabs. The server checks for a superuser on every settings and reports request, so other users, including site administrators, cannot use them.
All of these people must also have View permission for the page and module.
Tiers
Every website has three tiers. They apply to every Image Optimizer module on that website. Each tier is assigned one or more security roles, and a visitor gets the highest tier any of their roles matches. Higher tiers include everything below them. A visitor whose roles match no tier sees a message saying they do not have access.
The default tiers are:
|
Tier 1: Free |
Tier 2: Pro |
Tier 3: Unlimited |
| Conversion limit |
5 per day |
1,000 per month |
No limit |
| Max MB per image |
4 MB |
50 MB |
1 GB |
| Images per batch |
5 |
10 |
10 |
| Default roles |
All Users |
None |
Administrators |
Superusers can change the names, limits, and roles. The features of each tier are fixed by its level:
| Feature |
Tier 1 |
Tier 2 |
Tier 3 |
| Optimize or convert to JPG, PNG, WebP |
Yes |
Yes |
Yes |
| Quality, resize, target size, before/after compare |
Yes |
Yes |
Yes |
| Processed in the browser |
Yes |
Yes |
Yes |
| CAPTCHA once per batch |
Yes |
No CAPTCHA |
No CAPTCHA |
| ZIP uploads and ZIP download |
No |
Yes |
Yes |
| Remove EXIF data |
No |
Yes |
Yes |
| Custom file names |
No |
Yes |
Yes |
| Remembered settings (signed-in visitors) |
No |
Yes |
Yes |
| Priority support link |
No |
Yes |
Yes |
| Files over the browser limit processed on the server (signed-in visitors) |
No |
No |
Yes |
The server counts every conversion. A visitor cannot get more conversions by clearing cookies or changing the browser.
Large files processed on the server
Files larger than the browser limit are not processed in the browser. The default browser limit is 100 MB. For signed-in tier 3 visitors, JPG, PNG, and WebP files over that limit, or too large for the visitor's browser, are uploaded and optimized on the server instead. The server processes two files at a time for each website. The result is kept on the server for one hour and deleted after it is downloaded.
Privacy
- Images optimized in the browser never reach the server. Only conversion counts and sizes are reported.
- Raw IP addresses are never stored. Networks, device fingerprints, and the visitor cookie are stored only as one-way codes made with a secret that belongs to the website.
- The browser user agent is stored with each conversion for reporting.
- An hourly maintenance task deletes conversion metrics after 13 months, quota counters after 62 days, and conversion reservations after 7 days.
- Files sent to the server are kept in a private folder that the web server never serves, and are deleted after download or after one hour.
Device fingerprinting can have privacy implications, for example under GDPR and ePrivacy rules. Each abuse-protection signal can be turned off on the Settings tab. Review this with your legal advisor before going live.
Required setup
- Tiers and roles: On the Settings tab, review the three tiers, add roles to each, and save.
- reCAPTCHA keys: Tier 1 needs reCAPTCHA v2 checkbox keys. Upendo Contact Form uses the same keys, so a website that already has them set needs nothing more.
- Upgrade and support pages (optional): Set the pages that the Upgrade, See plans, and Get priority support links open.
- VPN and data-center detection (optional): Enter a free MaxMind account ID and license key to limit free conversions from hosting and VPN networks.
Known limitations
- Single web server: Recovery of interrupted server jobs assumes one web server. In a web farm, a server job interrupted on one server may not be picked up by another.
- Network signals cover 7 days: Conversion reservations are kept for 7 days, so the network signals in Reports cover only that period.
- Refusals are not recorded: Conversions refused because a limit was reached or a network is blocked do not appear in Reports.
Attribution
This product includes GeoLite2 data created by MaxMind, available from https://www.maxmind.com. The attribution is shown on the Settings and Reports tabs and must stay visible.