Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Resize images #1256

Closed
zlodey321 opened this issue Mar 11, 2024 · 4 comments
Closed

Resize images #1256

zlodey321 opened this issue Mar 11, 2024 · 4 comments

Comments

@zlodey321
Copy link

Version: 3.22 amd64 (imagedarthsim/imgproxy in docker)
Use: S3
Link example: https://x.x/image/rs::320:::/quality:90/plain/s3://x-x/prod/x-1900x.jpeg
Expected action: resize image
action result: there is no resize of image and picture given as is , line from log:
INFO [2024-03-05T11:02:56Z] Completed in 426.299352ms /rs::640:::/quality:90/plain/s3://x-x/prod/6579f8141950d0f33d19584f-1900x.jpeg request_id=a69e5065bd59a6739ed4c9451c5d4410 method=GET status=200 client_ip=x.x.x.x processing_options="Format: webp; Quality: 90; PreferWebP: true; EnforceWebP: true" image_url="s3://x-x/prod/6579f8141950d0f33d19584f-1900x.jpeg"
Add : in another site , it is ok and processing_options in log looks like //processing_options="Width: 828; Format: webp; Quality
: 90;// ,seems issue is here , in width

@DarthSim
Copy link
Member

Hey @zlodey321!

It seems like you're missing the signature part of the URL, so imgproxy treats rs::320::: as a signature.

@zlodey321
Copy link
Author

Hey @DarthSim!
Thanks for kindly answer , but we did not sign urls .

@DarthSim
Copy link
Member

Please read the docs carefully:

The signature part should always be present in a URL. If the signature check is disabled (no key/salt pairs are provided), the signature part may contain anything (for example, unsafe or _).

@zlodey321
Copy link
Author

@DarthSim thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants