Resizer v2: how to resize an external image whose URL requires query parameters? #101
Unanswered
iwebwolverine
asked this question in
Help
Replies: 1 comment
|
Hi @iwebwolverine, you need to use the 1- Hopes this helps. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Summary
We're using Resizer v2 with external (non–Photo Center) images via the Signing Service. Our source is a dynamic endpoint that has no path parameters, only query parameters, and those query params are required to retrieve the image. We can't get it to work and we're unsure whether Resizer v2 supports this case at all.
The source image
https://example-url?pSetup=WEBSITE&getprima&editionname=SPECIFIC_PARAM
There is no path segment identifying the image the
?pSetup=…&getprima&editionname=…query is what tells the origin which image to return.What we tried
/signing-service/v2/sign/resizer/{version}?value=<raw url>) → got ahash.Core question
When Resizer v2 fetches the external source image server-side, does it forward the source URL's own query parameters (
pSetup,getprima,editionname) to the origin, or does it strip them?Our origin needs those params to return the image, so if the resizer requests only
https://example-url.com/without the query, the fetch comes back empty/wrong and resizing fails.Follow-ups
auth,width,height,smart,quality, …) from arbitrary pass-through params, and forward only the unknown ones to the origin?Any confirmation, or a working example of a query-string external source, would be a big help. Thank you!
All reactions