Mecanik / cloudflare-image-resizing-prestashop

CloudFlare Image Resizing worker for PrestaShop.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Cloudflare Image Resizing worker for PrestaShop

Rewrites images on the fly so you can use the Cloudflare Image Resizing service.

Please read my full article to learn more: Cloudflare Image Resizing for PrestaShop.

Current features

  • Rewrites all src and srcset tags
  • Rewrites all link tags for icons
  • Rewrites all src tags for product "quick view"
  • Rewrites all background image url's for all inline CSS
  • Rewrites all background image url's for all external CSS
  • BONUS: removes potentially malicious script from ETS themes

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.

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 the consultation page.

Support me

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

About

CloudFlare Image Resizing worker for PrestaShop.

License:Apache License 2.0


Languages

Language:JavaScript 100.0%