Altinn / Altinn/app-lib-dotnet
Support thumbnails in attachments
- Dominant language
- C#
- Stars
- 8
- Forks
- 27
- Avg merge
- 1h 21m
- Merged PRs (30d)
- 7
Description
### Description
Description
In the app-frontend-react repository I want to add a thumbnail file of the attachment in the attachment component. However, there will be a need to display up to and maybe more than 100 images in the attachment component. At the moment, backend is not supporting thumbnails(reduced files sizes) which means that we can only download full size images in the frontend repository. The support of thumbnails in the app-lib-dotnet is therefore necessary for this feature, if we have a number of files to display.
The use case

### Additional Information
Slack discussion link
https://altinndevops.slack.com/archives/C045EB3JA9X/p1714461684302109

Contributor guide
Research direction
No implementation files or tests are named. Start by tracing attachment handling in app-lib-dotnet and how it is consumed by the attachment component in app-frontend-react, using the linked use case and Slack discussion for context. Done means the backend can provide reduced-size thumbnail files so the frontend does not need to download full-size images when displaying many attachments.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- backend
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100