Rewrites images on the fly so you can use the Cloudflare Image Resizing service.
This is an alternative solution to my WordPress plugin.
Please read my full article to learn more: Cloudflare Image Resizing for WordPress.
- Rewrites all src and srcset tags
- Rewrites all div tags with style, data-ultimate-bg, data-image-id attributes
- Rewrites all link tags for icons
- Rewrites all special/extra data-src, data-srcset, data-lazyload attributes
- Rewrites all href tags for light boxes
- Rewrites all background image url's for all inline CSS
- Rewrites all background image url's for all external CSS
- BONUS: Removes empty SVG tags added by WordPress for no reason
In your are in immediate need of commercial help/advice/assistance, I can offer you my assistance for a small fee. Please do contact me via my the consultation page or if you cannot do so open an issue.
Feel free to contribute with your own functions/methods. Just make sure you tested it properly.
These are the people that spent time and effort to test and help improve the plugin, as well as sponsoring development.
Buy me a coffee to give me more energy and write more code :)