| 开发者 | binsaifullah |
|---|---|
| 更新时间 | 2026年5月11日 13:43 |
| PHP版本: | 7.4 及以上 |
| WordPress版本: | 6.9 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
/wp-content/plugins/binsaif-instant-image-optimizer directory, or install the plugin through the WordPress plugins screen directly.No. Since all optimization happens in your browser, there are no external services to connect to and no API keys required.
Currently, the plugin focuses on optimizing images at the moment of upload. Bulk optimization for your existing library is planned for a future update.
Yes, it works by intercepting the upload process at the browser level, making it compatible with most WordPress themes and plugins that use the standard WordPress media uploader.
<script> tags, <foreignObject>, event-handler attributes (on*), dangerous href/xlink:href URI schemes (javascript:, vbscript:, data:application/), and unsafe CSS constructs before saving.wp_get_attachment_image() and responsive image helpers work correctly for SVG attachments; srcset generation is disabled for SVGs (vector format needs no size variants)._biio_savings) alongside the existing attachment metadata, enabling reliable numeric sorting without serialized-field parsing.render() override matching the correct pattern.conversionTime is absent from stored metadata — added null guard before calling .toFixed().canvas.getContext('2d') could return null for very large images — added explicit null check before drawing to canvas.biio_metadata_queue).__biio_converted event flag removed; a single biio_converted flag is sufficient to prevent re-processing loops.is_admin() guard inside admin_enqueue_scripts hook (the hook already only fires in admin context).console.log / console.warn statements from production JS bundles.