Use the image size information provided by the API instead of making head requests #551
Labels
💻 aspect: code
Concerns the software code in the repository
✨ goal: improvement
Improvement to an existing user-facing feature
🟨 priority: medium
Not blocking but should be addressed soon
🧱 stack: frontend
Related to the Nuxt frontend
⛔ status: blocked
Blocked & therefore, not ready for work
Milestone
Blocked by https://github.com/WordPress/openverse-catalog/issues/521
Blocked by https://github.com/WordPress/openverse-api/issues/711
Problem
Currently, we are making a
head
request to the image source to get the image dimensions if they are not available in the API response. After the changes in the linked issues, we will get all the information from the API.Description
We will need to delete the code that makes a
head
request to the image provider to get the image dimensions 🎉The text was updated successfully, but these errors were encountered: