

Settings page
Media Toolkit makes your images smaller, so your website loads faster and your server doesn’t fill up.
Optimize all the images you already have in one go, convert new uploads to WebP, stop huge photos from being stored at full size and give your images clean file names.
Everything runs on your own server. No account, no API key, no limits. All settings are on one page under Media Media Toolkit.
Make existing images in your media library smaller with one click. See the progress for every image and how much disk space you saved.
Set a max size in pixels. Large images are downscaled when you upload them, so huge photos don’t fill up your server.
Save new JPEG & PNG uploads as WebP. WebP files are usually much smaller, so your pages load faster.
Set the quality your images are saved with, from 1 to 100. A lower value makes your files smaller, a higher value keeps more detail. Leave it empty to keep the WordPress default (82).
Give new uploads clean, SEO-friendly – or simply custom – filenames, built from the original name, the upload date, the author and more.
No bloat and no external services. Media Toolkit uses WordPress’ own image tools.
Change the final filename with the mediatoolkit_attachment_filename filter:
function prefix_media_toolkit_filename( $filename ) {
return 'my-site-' . $filename;
}
add_filter( 'mediatoolkit_attachment_filename', 'prefix_media_toolkit_filename' );
Run your own code after an original image was replaced:
function prefix_after_replace_original_image( $attachment_id, $metadata ) {
// Your code.
}
add_action( 'mediatoolkit_after_replace_original_image', 'prefix_after_replace_original_image', 10, 2 );
If you like Media Toolkit, make sure to check out our other products: