Altinn / Altinn/app-lib-dotnet

Support thumbnails in attachments

Open
#686 1 comment 0 reactions 0 assignees View on GitHub
kind/feature-request status/triage
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

![image](https://github.com/Altinn/app-lib-dotnet/assets/143729834/a84a557e-55b1-4ac9-a8e1-18fe603504fa)

### Additional Information

Slack discussion link


https://altinndevops.slack.com/archives/C045EB3JA9X/p1714461684302109

![image](https://github.com/Altinn/app-lib-dotnet/assets/143729834/808ad896-0204-4182-9157-962e8ae50b98)

Contributor guide

Open the contributing 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.