Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

https://github.com/Mecanik/cloudflare-image-resizing-worker

Cloudflare Image Resizing worker for WordPress
https://github.com/Mecanik/cloudflare-image-resizing-worker

cloudflare cloudflare-image-resizing cloudflare-workers image-resizing resize-image resize-images wordpress

Last synced: 2 months ago
JSON representation

Cloudflare Image Resizing worker for WordPress

Lists

README

        

# Cloudflare Image Resizing worker for WordPress
Rewrites images on the fly so you can use the [Cloudflare Image Resizing](https://blog.cloudflare.com/announcing-cloudflare-image-resizing-simplifying-optimal-image-delivery/) service.

This is an alternative solution to my [WordPress](https://github.com/Mecanik/cloudflare-image-resizing) plugin.

Please read my full article to learn more: [Cloudflare Image Resizing for WordPress](https://mecanik.dev/en/posts/cloudflare-image-resizing-for-wordpress/).

## Current features
* 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

### Assistance
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 email or if you cannot do so open an issue.

### Contribution
Feel free to contribute with your own functions/methods. Just make sure you tested it properly.

### Special Thanks
These are the people that spent time and effort to test and help improve the plugin, as well as sponsoring development.

### Support me
Buy me a coffee to give me more energy and write more code :)