How to Change File Extension for Images on Cloudflare CDN?

Hello everyone,

I'm encountering an issue with a GIF image I uploaded to Cloudflare CDN. Here's the situation:

  1. I uploaded a GIF to Cloudflare CDN.
  2. When I try to share it on Discord, it's being sent as a static image.
  3. Opening the same link in a browser shows the animated GIF correctly.
  4. Discord only recognizes GIFs if they have a .gif file extension.
  5. The current URL doesn't include the .gif extension.
  6. Manually adding .gif to the URL results in a "malformed URL" error.
Is there a way to add or change the file extension for images stored on Cloudflare CDN without breaking the URL?

Any help or suggestions would be greatly appreciated. Thanks in advance!
Was this page helpful?