Skip to content

Commit 9b5db21

Browse files
committed
Use image-scaler to serve the image in an appropriate size
1 parent a1ccf6f commit 9b5db21

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/index.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,13 @@
99
<meta property="og:type" content="article">
1010
<meta property="og:title" content="OpenStax | Free Textbooks Online with No Catch">
1111
<meta property="og:description" content="OpenStax offers free college textbooks for all types of students, making education accessible &amp; affordable for everyone. Browse our list of available subjects!">
12-
<meta property="og:image" content="https://assets.openstax.org/oscms-dev/media/images/240919_OpenStax_Students_Martin_272.original.webp">
12+
<meta property="og:image" content="https://images.openstax.org/apps/image-cdn/v1/assets.openstax.org/f=webp,w=640,h=480/oscms-prodcms/media/images/240919_OpenStax_Students_Martin_272.original.webp">
1313
<meta property="og:image:alt" content="OpenStax: OpenStax | Free Textbooks Online with No Catch">
1414
<meta name="twitter:card" content="summary_large_image">
1515
<meta name="twitter:site" content="@OpenStax">
1616
<meta name="twitter:title" content="OpenStax | Free Textbooks Online with No Catch">
1717
<meta name="twitter:description" content="OpenStax offers free college textbooks for all types of students, making education accessible &amp; affordable for everyone. Browse our list of available subjects!">
18-
<meta name="twitter:image" content="https://assets.openstax.org/oscms-dev/media/images/240919_OpenStax_Students_Martin_272.original.webp">
18+
<meta name="twitter:image" content="https://images.openstax.org/apps/image-cdn/v1/assets.openstax.org/f=webp,w=640,h=480/oscms-prodcms/media/images/240919_OpenStax_Students_Martin_272.original.webp">
1919
<meta name="twitter:image:alt" content="OpenStax">
2020
<link rel="preload" href="<%= process.env.API_ORIGIN %>/apps/cms/api/webview-settings/" as="fetch" crossorigin="anonymous">
2121
<link rel="preload" as="font" type="font/woff2" crossorigin="anonymous"

0 commit comments

Comments
 (0)