| 开发者 | 301st |
|---|---|
| 更新时间 | 2026年3月3日 05:09 |
| PHP版本: | 8.0 及以上 |
| WordPress版本: | 6.9 |
| 版权: | GPL-2.0+ |
| 版权网址: | 版权信息 |
wp cfimg sync commands for scripted workflows/wp-content/plugins/ or install via WordPress adminog_1200x630 with variant w=1200,h=630,fit=cover,f=auto_og_image_urlget_post_meta()Cloudflare Images is a paid add-on available on all Cloudflare plans. Pricing is based on images stored and served.
No. The plugin uploads a copy to Cloudflare Images. Your WordPress media files remain unchanged.
Yes. The plugin supports ACF image fields with ID, array, and URL return formats.
Flexible Variants allow on-the-fly image transformations via URL parameters (width, height, quality, format). The plugin detects if this feature is enabled on your account and adjusts the UI accordingly.
Cloudflare Images supports several fit modes for resizing:
fit=cover for consistent sizing. Use fit=scale-down when you want to limit max width without stretching small images.
Action Scheduler is optional but recommended for bulk syncing. It offloads image uploads to background jobs, avoiding timeouts on large sites. Action Scheduler is bundled with WooCommerce, or you can install it as a standalone plugin.
Absolutely. Delivery URLs are stored as standard post meta, so they're immediately available via REST API or WPGraphQL without any custom resolvers.
Your Cloudflare Images remain on Cloudflare, and the delivery URLs stay in post meta. You can continue using them or migrate to another solution.
cfi to cfimg (4+ chars required by WP.org)cfi_ to cfimg_ option/meta keyscfi_) and new (cfimg_) prefixed dataimages-sync-for-cloudflare to match WP.org slugimages-sync-for-cloudflare.php