-
Notifications
You must be signed in to change notification settings - Fork 504
Open
Labels
affects: 8.xIssue impacts 8.x releasesIssue impacts 8.x releasesaffects: 9.xIssue impacts 9.x releasesIssue impacts 9.x releasesaffects: mainIssue impacts "main" (latest release).Issue impacts "main" (latest release).bugcomponent: CollectionCollection display or editingCollection display or editingcomponent: CommunityCommunity display or editingCommunity display or editinghelp wantedNeeds a volunteer to claim to move forwardNeeds a volunteer to claim to move forward
Description
Describe the bug
Community and collection logos are rendering at 500px x 500px, so images originally in landscape or portrait aspect ratios appear stretched either horizontally and vertically (or both). This appears to primarily affect responsive viewers - devices such as android etc may display as intended.
Tested on DSpace 8.1 and 9 (demo site).
To Reproduce
Steps to reproduce the behavior:
- Edit a collection or a community and add an image to serve as the logo. The image should be formatted in portrait or landscape (example image attached).
- View the collection and observe that the image is stretched horizontally or vertically (for example https://demo.dspace.org/handle/10673/1595).
Expected behavior
Community and collection logo images should retain the aspect ratio of the original image.
Metadata
Metadata
Assignees
Labels
affects: 8.xIssue impacts 8.x releasesIssue impacts 8.x releasesaffects: 9.xIssue impacts 9.x releasesIssue impacts 9.x releasesaffects: mainIssue impacts "main" (latest release).Issue impacts "main" (latest release).bugcomponent: CollectionCollection display or editingCollection display or editingcomponent: CommunityCommunity display or editingCommunity display or editinghelp wantedNeeds a volunteer to claim to move forwardNeeds a volunteer to claim to move forward
Type
Projects
Status
📋 To Do
