#1693·imgproxy

Feature Request: Set last URL segment as the Content-Disposition filename when using Base64-encoded source URL

Author: moewareCreated Jul 13, 2026Updated Jul 13, 2026

Would it be possible to have a new setting which uses the last segment (content after the last slash) in the URL, the "SEO-friendly filename", as the filename in the Content-Disposition header when using Base64-encoded source URLs?

I'm currently naming images with UUIDs in the object storage and making use of IMGPROXY_BASE64_URL_INCLUDES_FILENAME to set dynamic filenames in their public URLs, as the names may change anytime, instead of "renaming/copying/re-uploading" actual objects frequently. So being able to save those images with the same filename seen in the URL would be great. This is already achievable by supplying the filename processing option, but then I would be making the URL unnecessarily longer by inserting the same name twice.

Obrigado ✌️