內容簡介
**摘要:**
BAY Image Size Scanner 是一個強大的 WordPress 外掛,旨在幫助您識別可能影響網站載入時間的大圖片。這個外掛掃描所有文章和頁面,找出圖片,分析其大小並以易於理解的格式呈現數據。
**問題與答案:**
- 這個 WordPress 外掛主要目的是什麼?
- BAY Image Size Scanner 主要設計用於幫助識別網站上可能影響頁面載入時間的大圖片。
- 這個外掛的主要功能有哪些?
- 掃描各種文章類型中的圖片(文章、頁面、自訂文章類型)
- 可以根據最小圖片大小進行篩選
- 包括或排除特色圖片
- 進行批次處理以改善大型網站的表現
- 顯示圖片尺寸和文件類型
- 將結果匯出為 CSV
- 響應式管理介面
- 遵守 WordPress.org 規範的代碼和適當的命名慣例
- 在 WordPress 上妥善處理文件以及上傳目錄
- 如何使用這個外掛?
- 進入 WordPress 管理頁面中的「工具 > Image Size Scanner」
- 選擇要掃描的文章類型
- 設定最小圖片大小篩選(可選)
- 選擇是否包括特色圖片
- 點擊「掃描所有頁面」以啟動批次掃描過程
- 在詳細圖像信息的表格中查看結果
- 如果需要,將結果匯出為 CSV 以進行進一步的分析
- 這個外掛符合哪些技術標準?
- 遵守 WordPress 編碼標準
- 使用 WordPress HTTP API 進行外部請求
- 實施適當的 nonce 驗證和能力檢查
- 使用批處理以有效處理大數據集
- 這個外掛的授權訊息是什麼?
- BAY Image Size Scanner 是免費軟件,根據由自由軟件基金會發布的 GNU 通用公共許可證的條款進行再發行和/或修改。希望 BAY 圖像大小掃描器對您有用,但沒有任何保證;甚至沒有適銷性或適於特定目的的默示保證。閱讀 GNU 通用公共許可證以獲取更多詳細信息。
外掛標籤
開發者團隊
原文外掛簡介
BAY Image Size Scanner is a powerful WordPress plugin designed to help you identify large images on your website that may be affecting page load times. The plugin scans all your posts and pages to find images, analyzes their sizes, and presents the data in an easy-to-understand format.
Key Features
Scan images across multiple post types (posts, pages, custom post types)
Filter by minimum image size
Include or exclude featured images
Batch processing for improved performance on large sites
Display image dimensions and file types
Export results to CSV
Responsive admin interface
WordPress.org compliant code with proper naming conventions
Secure file handling within WordPress uploads directory
Usage
Navigate to Tools > Image Size Scanner in your WordPress admin
Select the post types you want to scan
Set minimum image size filter (optional)
Choose whether to include featured images
Click “Scan All Pages” to start the batch scanning process
View the results in the table with detailed image information
Export to CSV if needed for further analysis
Technical Notes
WordPress.org Compliance
Version 1.0.4 introduces important changes for WordPress.org repository compliance:
* All functions, classes, and constants now use the ‘bayimsis’ prefix (7+ characters)
* File operations restricted to proper WordPress uploads directory
* Improved namespace management to prevent conflicts with other plugins
Developer Information
Minimum WordPress version: 5.0
Minimum PHP version: 7.0
Follows WordPress coding standards
Uses WordPress HTTP API for external requests
Implements proper nonce verification and capability checks
Batch processing to handle large datasets efficiently
License
BAY Image Size Scanner is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 2 of the License, or any later version.
BAY Image Size Scanner is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with BAY Image Size Scanner. If not, see https://www.gnu.org/licenses/gpl-2.0.html.
