diff --git a/src/_config/shortcodes/image.js b/src/_config/shortcodes/image.js index 03bfc02..0ef9c1a 100644 --- a/src/_config/shortcodes/image.js +++ b/src/_config/shortcodes/image.js @@ -75,7 +75,7 @@ export const imageShortcode = async ( height: lowsrc.height, alt, loading, - decoding: 'async' + decoding: loading === 'eager' ? 'sync' : 'async' }); const imageElement = caption