[EXTDAM-237] S3: Option to store width & height in the asset metadata Created: 18/Feb/21  Updated: 10/Dec/21  Resolved: 17/Mar/21

Status: Closed
Project: External DAMs
Component/s: None
Affects Version/s: None
Fix Version/s: 1.2.0

Type: Improvement Priority: Neutral
Reporter: Jesus Alonso Assignee: Jesus Alonso
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
relation
is related to EXTDAM-331 In S3, fix the delivery endpoint remo... Closed
is related to EXTDAM-326 S3 Provider Asset Reference Resolver ... Open
Template:
Acceptance criteria:
Empty
Task DoD:
[X]* Doc/release notes changes? Comment present?
[X]* Downstream builds green?
[X]* Solution information and context easily available?
[X]* Tests
[X]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Documentation update required:
Yes
Epic Link: Imaging and External DAM
Sprint: Cloud Service 2, Cloud Service 3
Story Points: 3

 Description   

Currently S3AssetMetadata does not provide either width or height

@Override
public Long getHeight() {
    return 0L;
}

@Override
public Long getWidth() {
    return 0L;
}

AC

  • Depending on a configuration variable, the width & height of an image is stored in the corresponding s3 item as metadata.
  • Then, the metadata is used in S3AssetMetadata
  • This works only for new assets created through Magnolia.

Generated at Mon Feb 12 01:53:14 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.