
Media Toolkit – Image Optimizer, Resize & WebP Converter
v1.1David Vongries · 2023年3月2日 上架
Bulk-optimize your images, convert uploads to WebP, set a max image resolution and change your image filenames.
- 正在使用
- 10+
- 评分
- 4.0 / 5
- 累计下载
- 3,736
- 最近更新
- 2026年11月9日
贡献者
截图
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.
Features
🧹 Bulk optimize your existing images
Make existing images in your media library smaller with one click. See the progress for every image and how much disk space you saved.
📐 Max image size
Set a max size in pixels. Large images are downscaled when you upload them, so huge photos don’t fill up your server.
🖼️ Convert to WebP
Save new JPEG & PNG uploads as WebP. WebP files are usually much smaller, so your pages load faster.
🎚️ Image quality
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).
✏️ Rename image files
Give new uploads clean, SEO-friendly – or simply custom – filenames, built from the original name, the upload date, the author and more.
🪶 Lightweight
No bloat and no external services. Media Toolkit uses WordPress’ own image tools.
How to use it
- Go to Media Media Toolkit.
- Choose your settings and save them. They apply to every image you upload from now on.
- To apply them to the images you already have, click Optimize existing images. Please back up your uploads folder first.
Advanced
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 );
What’s next?
If you like Media Toolkit, make sure to check out our other products:
- Page Builder Framework – A fast & minimalistic WordPress theme designed for the new WordPress era.
- Ultimate Dashboard – The #1 WordPress plugin to customize your WordPress dashboard and admin area.
- Better Admin Bar – The plugin to make your clients enjoy WordPress. It replaces the default admin bar to provide the best possible user experience when editing & navigating a website.
- WP Video Popup – Add a YouTube, Vimeo or Rumble video popup to WordPress. Lightweight, privacy-friendly lightbox that works with any page builder.

