Skip to content
This repository was archived by the owner on Mar 17, 2021. It is now read-only.
This repository was archived by the owner on Mar 17, 2021. It is now read-only.

Retain query string in the final file output path #364

@Powell-v2

Description

@Powell-v2

Feature Proposal

Hi there,

Currently any query string gets stripped away from the output path: path/to/image.webp?q=/width_50/quality_50 becomes path/to/image.webp. As far as I can tell, there is neither a placeholder representing query string (e.g. [name].[hash:8].[ext][querystring]), nor an option allowing to retain it.

Seems like a straightforward change as resource's query string is available under this.resourceQuery property, however I'm not really sure why it's removed in the first place and how it might affect existing projects.

I'll be happy to submit a PR - just need to gain the context first.

Thank you!

Feature Use Case

Major use case for this feature is custom processing applied to images post-deploy by Image CDN services. It's typically done via query strings.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions