digitalfabrik / integreat-app

React JS and React Native App for Integreat
https://integreat.app
MIT License
45 stars 15 forks source link

Use correct images size #2277

Open jira-to-github-migrator[bot] opened 1 year ago

jira-to-github-migrator[bot] commented 1 year ago

User Story: As a user I want to use mobile data economically. As a user I want to get a fast response, also my internet connection is slow. As a user on desktop with good internet connection, I want to get images with a good resolution 

Motivation: A lot of images are downloaded in a "big" size and then are scaled down in the frontend. So with this feature we can increase loading time/performance, use mobile data of users economical and save resources in general.

Task:

Use browsers srcset (or size) solution to pick the appropriate image size. This is already implemented in web for events. Categories and pois (native and web) and events (native) are still missing.

Think of a good solution for native.

Additional information: Blocked by cms: https://github.com/digitalfabrik/integreat-cms/issues/2359

steffenkleinle commented 5 months ago

Possibly related to #2435.