Changed the default size in the src attribute from 800px to 1200px. This ensures that the larger image size is used by default, addressing the issue of images appearing smaller than intended.
How To Test
Open the preview link to verify that images are displayed at their intended sizes.
Compare with the original design using the Wayback Machine to ensure consistency.
Resize the browser window to test the responsive behavior of the images.
page
preview
production
Making GSA’s public art collection more accessible
Summary
Updated the
img
shortcode to change the default size in thesrc
attribute from800px
to1200px
, ensuring images are displayed at their correct sizes.Also refactored markup to serve images responsively, previous code (
srcset
andsizes
) was not setup for responsive images.Preview
Link to Preview
Solution
Changed the default size in the
src
attribute from800px
to1200px
. This ensures that the larger image size is used by default, addressing the issue of images appearing smaller than intended.How To Test
Code with bug
Fixed code
Code before bug was introduced
Dev Checklist