img partial test page
large-landscape.jpg subdir/pepsi.png uhaul.png uhaul.webp
height=50
height=300, img height < 300
This image should be blurry since it’s being scaled up.
width=50
width=500, img width < 500
This image should be blurry since it’s being scaled up.
width=50, height=50
Note: try to avoid img partial cropping; it can’t be cached by the img pre-processor since it can’t know the aspect ratio beforehand.
width=50, height=50, large image
height=100, large image
width=100, large image
width=800, large image
This one should have more variations than the above one.
webp source
Should be converted to png for the fallback. No width/height set, should have the natural dimensions set as the img attributes.
page resource in subdir
site resources asset
site resources asset in subdir