Skip to content

Optional extensions in Thumbor URLs #11

Description

@erral

I am testing Thumbor usage for a project and one of the things that our project manager at the client said was that the URLs do not have extensions and that their SEO guy is really picky about this.

I asked Gemini for help and made some changes in plone-pgthumbor to add an option (vía environment variables) to force creating URLs with extensions. I have also modified zodb-pgjsonb-thumborblobloader to support URLs with extensions.

In my case I force creation of WEBP images (I haven't used the filter(webp) option and only rely on the extension), but we can add it to the URL too to force creation of WEBP images, and we can even implement to force creation of AVIF files if wanted.

Would this be a valuable addition to plone-pgthumbor ?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions