Kaspars Dambis Kaspars Dambis WordPress, Electronics & Home Automation

Menu
  • Blog
    • Latest Posts
    • Video Blog
    • All Posts
    • Subscribe
  • Projects
  • About
    • About Me
    • Now
    • Uses
    • Reads
    • Contact
Home → Notes →

On February 12, 2025 at 14:48

February 12, 2025

Ever wanted to mock the Cloudflare Image API locally? Here is a sample WordPress plugin that enables cdn-cgi/image/... routes locally and supports only image resizing.

Here is the code: https://gist.github.com/kasparsd/ad32dd602cc72fc824547f484d34449e which I created when testing the Image Pilot plugin integration. https://wpelevator.com/plugins/image-pilot

  • Previous Post

  • Next Post

No related posts.

Subscribe to My Newsletter

Blog Topics

  • Cryptography
  • Design
  • Development
  • Electronics
  • Home Automation
  • Linux
  • Meta
  • Observatory
  • Passive House
  • Publishing
  • Video Blog
  • Web Performance
  • WordPress
Kaspars Dambis
  • Blog
  • About
  • Contact
  • Latviski
  • GitHub
  • WordPress.org
  • Twitter
  • Mastadon
  • Bluesky
  • Micro.blog
  • YouTube
  • Instagram
  • Flickr

Powered by WordPress and List Theme.