-
Notifications
You must be signed in to change notification settings - Fork 14
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
Almost none of the images honour the dimension setting #10
Comments
I cannot see any issues depending on this plugin. |
Just in case:
|
Is dimension here the dimension in Photos.thumbnail() ?
…On 7 February 2017 at 12:24, domax ***@***.***> wrote:
Just in case: thumbnail() function does not make any
padding/color-filling in thumbnails - it just resizes an original image to
desired dimension you specify in options. Aspect ratio is preserved. To
compute a thumbnail size, it uses the following algorithm:
cf = dimension / max(image.width, image.height)
thumbnail.width = image.width * cf
thumbnail.height = image.height * cf
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#10 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ABiHXtx7WC6OYsSRV_mkDMQmHlJK3ZGfks5raDg8gaJpZM4L5KnD>
.
--
~~~~
|
Exactly |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello,
Even though I've explicitly specified dimension to be 150, all of the images
Please see the below screenshot from chrome://inspect.
The text was updated successfully, but these errors were encountered: