Linux 软件免费装
Banner图

Raina Image Compression

开发者 rainafarai
更新时间 2025年12月4日 21:59
捐献地址: 去捐款
PHP版本: 7.4 及以上
WordPress版本: 6.9
版权: GPLv2 or later
版权网址: 版权信息

标签

jpg png webp image compression image optimization

下载

1.8 1.7 1.8.2

详情介绍:

Raina Image Compression is a powerful WordPress plugin that automatically optimizes images during upload while giving full control over compression, output format, and metadata. It is designed for site owners who want fast-loading pages, SEO-friendly images, and a reliable system that prevents users from uploading huge, unoptimized files. The plugin works with the built-in GD library and intelligently handles JPG, PNG, and WebP formats. It can also convert non-transparent PNGs to JPG, achieving better compression without visible quality loss. Ideal for multi-author sites or blogs managed by non-technical users, Raina Image Compression operates automatically in the background, optionally sends Telegram notifications, and keeps your image sizes under control. Key Features Smart Image Optimization Smart JPG Size Reduction (by KB Limit)\ When enabled, the plugin will try to reduce a JPG’s file size to stay below a specific kilobyte (KB) limit by dynamically lowering the quality level until the target is reached. ( ONLY FOR JPG and No transparent PNG ) Compress Only from Post Editor (Optional)\ Option to limit compression to images uploaded directly from the WordPress post editor, excluding other uploads from plugins or themes or media library. Post Type Filter Added a new option to select which post types the plugin should apply to. If none are selected, all post types will be processed. Keep Original File Copy Option to create a full-size copy of the original uploaded image in the media library for backup or archival purposes. Disable WP Auto-Generated Thumbnails Option to disable WP Auto-Generated Thumbnails. Save disk space by preventing WordPress from creating unnecessary image files. Automatic Metadata Filling\ Automatically fills ALT, Description, and Caption (Excerpt) fields using the parent post information — ideal for improving SEO with no extra effort. Admin Bar Toggle\ Easily enable or disable compression from the WordPress admin bar without entering the settings page, handy when you want to upload images related to the theme or the builder, basically content not associated with any post type. Telegram Notifications (Optional)\ If the “Notifications for Telegram” plugin is installed, you will receive a message for each processed image containing: Lightweight & Compatible Ideal Use Cases Summary Raina Image Compression was built to solve a common problem: users uploading excessively large images that slow down websites.\ It works quietly in the background, optimizing every image for size, speed, and SEO — so your site stays fast, clean, and professional.

安装:

  1. Upload the plugin files to the /wp-content/plugins/raina-image-compression/ directory, or install it directly from the WordPress Plugin Directory.
  2. Activate the plugin through the Plugins screen in WordPress.
  3. Go to Settings → Raina Image Compression to configure your compression options.
  4. Optionally, install the Notifications for Telegram plugin to receive Telegram alerts for image compression events.

屏幕截图:

  • Plugin settings page with compression controls.
  • Example Telegram notification for a compressed image.
  • Admin bar toggle for quick enable/disable.
  • Outputfile Options
  • Comparison between the original image 2Mb and the optimized version 79kb. Image width px: 1200, JPG quality 70.
  • Comparison between the original image 7Mb and the optimized version 55kb. Image width px: 1200, JPG quality 70.
  • Comparison between the original image 1Mb and the optimized version 91kb. Image width px: 1200, JPG quality 70.

常见问题:

Does this plugin require an external API or cloud service?

No. Raina Image Compression works entirely on your own server using WordPress’s built-in GD library. No data leaves your site.

Does it support WebP?

Yes. You can choose between JPG/PNG, WebP only, or hybrid modes that create both versions.

Can it automatically fill ALT text and captions?

Yes. When enabled, the plugin automatically sets ALT, Description, and Caption fields using the parent post title.

Will it change existing images?

It only compresses new uploads.

Does it work on shared hosting?

Yes. The plugin is lightweight and compatible with all common hosting environments that support the PHP GD library.

How does the Telegram notification feature work?

If you have the “Notifications for Telegram” plugin installed and configured, Raina Image Compression will send a Telegram message each time an image is processed, showing the filename, format, size reduction.

更新日志:

1.8.2 1.8 1.7