openstax / os-webview

:books: Front-end web application for the OpenStax web site

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Use image-cdn to optimize image size

RoyEJohnson opened this issue · comments

Description

JP pointed out that we have a service now that will optimize images by size, quality, and format.
https://github.com/openstax/image-cdn

This can be used by the FE to make images the appropriate size for the website even if what is uploaded in the CMS is too large for whatever reason.

Acceptance Criteria

Lighthouse on the home page indicates several images (pluses, Student_Final, Instructor_Final, and the Rice logo) are improperly sized and could save 50% smaller in terms of data. It should not indicate any image-sizing issues.