You've already forked imgproxy
mirror of
https://github.com/imgproxy/imgproxy.git
synced 2025-11-29 23:07:40 +02:00
Remove basic URL format
This commit is contained in:
@@ -14,7 +14,7 @@ encoded_url = base64.urlsafe_b64encode(url).rstrip(b"=").decode()
|
||||
# You can trim padding spaces to get good-looking url
|
||||
encoded_url = '/'.join(textwrap.wrap(encoded_url, 16))
|
||||
|
||||
path = "/{resize}/{width}/{height}/{gravity}/{enlarge}/{encoded_url}.{extension}".format(
|
||||
path = "/rs:{resize}:{width}:{height}:{enlarge}/g:{gravity}/{encoded_url}.{extension}".format(
|
||||
encoded_url=encoded_url,
|
||||
resize="fill",
|
||||
width=300,
|
||||
|
||||
Reference in New Issue
Block a user