This repository has been archived by the owner on Feb 22, 2023. It is now read-only.
[Feature] Add image width and height to the API response #156
Labels
💻 aspect: code
Concerns the software code in the repository
✨ goal: improvement
Improvement to an existing user-facing feature
🟩 priority: low
Low priority and doesn't need to be rushed
🚦 status: awaiting triage
Has not been triaged & therefore, not ready for work
Problem
We have the information about image width and height in our database, however the API response does not include it.
Description
Adding image width and height information will help the frontend rendering.
Alternatives
Currently, the size is calculated after the images are loaded, which adds unnecessary calculations and causes additional layout shifts.
Additional context
Implementation
The text was updated successfully, but these errors were encountered: