-
Type: Bug
-
Status: Resolved
-
Priority: Minor
-
Resolution: Fixed
-
Affects Version/s: 10.10
-
Fix Version/s: 10.10-HF20, 11.1, 2021.0
-
Component/s: Web UI
-
Backlog priority:600
-
Team:GANG
-
Sprint:nxGang Sprint 11.1.21, nxGang Sprint 11.1.22
-
Story Points:2
picture:views height and width is recorded twice. Under certain conditions the height and width shown in the info object can differ from the 'other' dimensions. Update https://github.com/nuxeo/nuxeo-web-ui/blob/master/addons/nuxeo-dam/elements/nuxeo-picture-formats.js#L84 so that picture:views/info/height and picture:views/info/width is used instead of picture:views/height and picture:views/width
Changing this line in the getAdditionalFormats function should do it:
dimensions: `${view.info.width} x ${view.info.height}`,
- is related to
-
NXP-28274 Don't assume picture dimensions prior to conversion
- Resolved
- Is referenced in