#StandWithUkraine

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

Related posts:

  1. Away Until February 2012
  2. RSS Feeds for WordPress Plugin and Theme Support Forum Topics and Replies
  3. Automatic Updates for Plugins and Themes Hosted Outside WordPress Extend
  4. Smarter Cleaner Gallery
  5. New Plugin: Numeric Shortlinks
  6. Develop and Work with WordPress Multisite Locally Using a Production Database
  7. Checkout Pilot for WooCommerce
  8. GitHub Gists SSH Access

Subscribe

Get notified via e-mail when I publish new blog posts:

Blog Topics

  • Cryptography
  • Design
  • Development
  • Electronics
  • Home Automation
  • Linux
  • Meta
  • Observatory
  • Passive House
  • Publishing
  • Video Blog
  • Web Performance
  • WordPress

IndieWeb Webring

  • ← Previous
  • IndieWeb πŸ•ΈπŸ’ Webring
  • Next β†’
Kaspars Dambis
Kaspars Dambis

Maker of things with passion for the web, electronics, personal finance and sustainable living. Blogging since 2007.

Kaspars Dambis
  • Blog
  • About
  • Contact
  • Latviski
  • GitHub
  • WordPress.org
  • Twitter
  • Mastadon
  • Bluesky
  • Micro.blog
  • YouTube
  • Instagram
  • Flickr

Powered by WordPress and List Theme.