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
This is what I'm running (the image is from here):
from sorl.thumbnail.shortcuts import get_thumbnail thumbnail = get_thumbnail( 'https://upload.wikimedia.org/wikipedia/commons/0/09/Closing_panel_of_PyCon_Asia_Pacific%2C_Ngee_Ann_Kongsi_Auditorium%2C_Singapore_Management_University_-_20100611.jpg', '200x200', crop='smart', ) print(thumbnail.size)
This is the output:
[30, 200]
This is what I would expect the output to be:
[200, 200]
This is what I have installed:
Django==3.1 Pillow==7.2.0 sorl-thumbnail==12.6.3
The text was updated successfully, but these errors were encountered:
No branches or pull requests
This is what I'm running (the image is from here):
This is the output:
This is what I would expect the output to be:
This is what I have installed:
The text was updated successfully, but these errors were encountered: