| 开发者 | sandeepjainlive |
|---|---|
| 更新时间 | 2026年9月5日 18:11 |
| PHP版本: | 5.6 及以上 |
| WordPress版本: | 7.1 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
Yes. Add multiple files using the mmbyapi_file_upload[] field.
Yes. Use the optional mmbyapi_alt_texts[] field. ALT text is matched to files by array index.
Yes. Enable Image Optimization in the plugin settings and configure the desired quality and maximum dimensions.
No. The maximum width and height settings are used to limit oversized images. Smaller images are not enlarged by the optimization process.
Yes. Image optimization can be disabled from the plugin settings.
Yes. Duplicate detection uses a SHA-256 content hash to identify matching files.
Yes. Provide the optional post_id field with the ID of the existing WordPress post.
No. Authentication is optional and disabled by default for backward compatibility. For production environments, authenticated uploads are recommended.
The API returns a result for each file. When a request contains both successful and failed uploads, the endpoint returns HTTP 207.
Yes. The REST API makes it suitable for headless WordPress, Next.js, React, mobile apps, and other external applications.