We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
width
height
the |thumbnail filter and thumbnail function allow the width or height to be omitted, so that the resizing is relative.
|thumbnail
thumbnail
For example, source.jpg is 200x100
source.jpg
record|image|thumbnail(null, 50) returns /thumbs/320×50/stock/image_23532.jpg, BUT the width is actually relative (100)
record|image|thumbnail(null, 50)
/thumbs/320×50/stock/image_23532.jpg
The location should be /thumbs/100x50/stock/image_23532.jpg in this case.
/thumbs/100x50/stock/image_23532.jpg
The text was updated successfully, but these errors were encountered:
@bobdenotter as discussed, this is a no-go. Thanks.
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
the
|thumbnail
filter andthumbnail
function allow the width or height to be omitted, so that the resizing is relative.For example,
source.jpg
is 200x100record|image|thumbnail(null, 50)
returns/thumbs/320×50/stock/image_23532.jpg
, BUT the width is actually relative (100)The location should be
/thumbs/100x50/stock/image_23532.jpg
in this case.The text was updated successfully, but these errors were encountered: