The Media Optimizer makes your images and videos smaller so pages load faster. Open Media → Optimizer (also linked from the Elephanta menu).
| Media | Input formats | Convert to |
|---|---|---|
| Images | JPG, JPEG, PNG, WebP, AVIF, GIF, BMP | WebP, AVIF, JPG, PNG |
| Videos | MP4, MOV, WebM, M4V, AVI, MKV… | WebM, MP4 |
Media → OptimizerOptimize selection#Ways to optimize
- After upload: choose Ask me (a tray offers conversion after uploading), Convert automatically or Do nothing, separately for images and videos.
- In the Media Library: each attachment has an Optimize panel. The list view has an Optimization column, an Optimize row action and an Optimize with Elephanta bulk action.
- Bulk optimizer: filter by type and status, pick target formats, then optimize the selection or everything not yet optimized, with live progress and total savings.
#Quality presets
Each image is test-encoded on full-resolution crops and saved at the lowest quality that still meets the preset's visual target:
- High quality: almost no visible difference.
- Balanced: the best mix of size and quality (recommended).
- Maximum compression: the smallest files.
Large images can also be capped to a maximum side length.
#Video
Videos are converted with ffmpeg (VP9/Opus WebM or H.264/AAC MP4, quality-based, with optional resolution cap and audio removal) as a background job with progress. Without ffmpeg, the browser encodes WebM and uploads it.
#New file or replace
- Default: the conversion is added as a new media item with the same title, caption, description and alt text. The original stays untouched. In the media modal, the new file is selected automatically.
- Replace original: swaps the file in place on the same attachment, so every post using it keeps working. Old URLs in post content and Elementor layouts are updated.
In replace mode the original is kept in uploads/elephanta-optimizer/originals and can be restored with one click. A conversion that would make a file larger is skipped.
#Free and Pro
The free version includes 10 optimizations in total. A Pro licence makes optimization unlimited and adds the AI Background Remover.