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

Images where not scaled correctly #2

Open
thomasgraf opened this issue Jul 30, 2017 · 0 comments
Open

Images where not scaled correctly #2

thomasgraf opened this issue Jul 30, 2017 · 0 comments

Comments

@thomasgraf
Copy link

Adding custom scales results in incorrectly scaled images when the scales where used.
The scaling function scaleImage/scalePILImage in plone.scale (used in version 2.1.1) knows 3 keywords . Up, down, thumbnail.

However, the function scaleImage from the image view called with the keyword thumb which results in incorrectly scaled images where parts are cropped. I assume it resizes and crops as if the keyword down was given.

thomasgraf added a commit to thomasgraf/kotti_image that referenced this issue Jul 30, 2017
Images scale now correct to a bounding box without cropping anything.
thomasgraf added a commit to thomasgraf/kotti_image that referenced this issue Jul 30, 2017
Images scale now correct to a bounding box without cropping anything.
thomasgraf added a commit to thomasgraf/kotti_image that referenced this issue Oct 26, 2017
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

1 participant