[RESPDAM-70] DAM Focal: error in image resizing when using xHeight Created: 18/Jul/22 Updated: 21/Dec/22 Resolved: 08/Nov/22 |
|
| Status: | Closed |
| Project: | DAM Focal |
| Component/s: | None |
| Affects Version/s: | 2.3 |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Neutral |
| Reporter: | Carlos Cantalapiedra | Assignee: | Raphael Falvo |
| Resolution: | Not an issue | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Attachments: |
|
||||
| Issue Links: |
|
||||
| Template: | |||||
| Acceptance criteria: |
Empty
|
||||
| Task DoD: |
[ ]*
Doc/release notes changes? Comment present?
[ ]*
Downstream builds green?
[ ]*
Solution information and context easily available?
[ ]*
Tests
[ ]*
FixVersion filled and not yet released
[ ] 
Architecture Decision Record (ADR)
|
||||
| Bug DoR: |
[ ]*
Steps to reproduce, expected, and actual results filled
[ ]*
Affected version filled
|
||||
| Date of First Response: | |||||
| Team: | |||||
| Description |
Issue descriptionWhen using dam-focal with no width param (only xHeight) the image is cropped Steps to reproduce
Expected resultsThe image is properly scaled Actual resultsThe image is cropped WorkaroundN/A Development notesWhen dam-focal is used with only width param (Widthx), it works as expected. E.g, for this call: .imaging/focalarea/800x/dam/jcr:08c17349-65dd-4a5c-a3b9-5287221c9fe4/christin-hume-Hcfwew744z4-unsplash.jpg the image dam-focal returns is 800width.jpeg When dam-focal is used with only height param (xHeight), it crops the image. E.g, for this call: .imaging/focalarea/x800/dam/jcr:08c17349-65dd-4a5c-a3b9-5287221c9fe4/christin-hume-Hcfwew744z4-unsplash.jpg the image dam-focal returns is 800height.jpeg |