01
Quick start
- 1
Install and activate the plugin in WordPress.
- 2
Open Media → Optimizer Settings and keep the recommended defaults.
- 3
Upload an image or video normally. The job is added to the background queue automatically.
- 4
Check progress under Media → Media Optimizer.
02
Requirements
Image processing remains available when video tools are missing. The Environment panel reports each capability separately, so one unavailable feature does not hide the rest of the plugin.
03
Image processing
JPEG, PNG, static GIF and WebP sources are analyzed from their real file contents. The plugin creates only formats supported by the server and publishes a derivative only when it meets the configured minimum saving.
- Full-size and registered WordPress image sizes
- Theme profiles:
hero,cardandgallery - Alpha transparency preserved in WebP and AVIF
- Responsive
<picture>and CSSimage-set()helpers
04
Video processing
Compatible H.264 MP4 uploads are kept as-is. Other video attachments can be converted to a browser-safe MP4, with an optional VP9/Opus WebM source generated from the same attachment. Themes and ACF still store only one media ID.
Maximum side 1920 px
Quality balanced
Maximum FPS 30
Audio keep
WebM opt in
Poster enabled
05
Theme integration
Keep a single attachment ID in the theme or ACF. The plugin resolves optimized media and always retains the original as a fallback.
<?php
// Responsive image markup with WebP / AVIF sources.
echo akita_media_picture($attachment_id, [
'profile' => 'hero',
'alt' => get_post_meta($attachment_id, '_wp_attachment_image_alt', true),
]);
// Video and poster URLs with safe fallbacks.
$video_url = akita_media_video_url($attachment_id);
$poster_url = akita_media_poster_url($attachment_id, 'large');
ACF image, gallery and file resolvers are included. WPML translations share optimized files when they point to the same physical source while keeping translated title and alt text.
Open the complete theme integration guide06
Background processing
The default queue is powered by WP-Cron and requires no SSH access. Jobs are small, repeatable and protected against duplicate execution.
If WP-Cron is disabled or loopback requests fail, the diagnostics page explains the issue. Image and video queues remain separate so a long video conversion does not block image delivery.