DefaultRenditionHandler - if height is missing - calculate from width

Description

please check:

ratio = w / h;
h = w / ratio
w = ratio * h

Activity

Show:
SebastianS
August 29, 2017, 4:16 PM

test ok
fixed in 1.0.1-SNAPSHOT

Stefan Seifert
August 29, 2017, 3:20 PM

oh - you're right. the affected lines of code were not covered by a unit test.
should be fixed with https://github.com/wcm-io/wcm-io-handler/commit/081f71b9e3d2d6e196999ccda2aa5333c33c1ffd
please give it a test with media handler 1.0.1-SNAPSHOT

Fixed

Assignee

SebastianS

Reporter

SebastianS

Labels

None

Components

Fix versions

Affects versions

Priority

Major