Height set to 0 when using "Scale"

Created on 11 May 2021, about 3 years ago
Updated 13 September 2023, 10 months ago

Problem/Motivation

We're getting correctly scaled images based on width, but the height isn't scaling and cropping. The image style is recording height as 0. Looks like the JavaScript code is hard setting the height to 0. Changing this to el.offsetHeight seems to work, however then the "Minimum difference per image style" setting doesn't appear to apply to it (getting lots of image styles with varying heights.

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

πŸ’¬ Support request
Status

Closed: outdated

Version

2.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States greenSkin

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • πŸ‡§πŸ‡ͺBelgium weseze

    Closing because this ticket has become stale and outdated. Feel free to reopen if this is stil an issue thad needs fixing.

Production build 0.69.0 2024