Closed
Description
Keeping track of the feedback so far:
- Fix flashing of no-src image when using next/image #18195 Lazy loading flickers a
<img>
with empty or not foundsrc
icon - Make lazy-loading the default for next/image #18123 Images that are rendered in a
flexbox
are not lazy loaded (@timneutkens) - Make lazy-loading the default for next/image #18123 Lazy loading has to be the default (@timneutkens)
- Make lazy-loading the default for next/image #18123 Throw error when
width
andheight
are missing andunsized
is not set (@styfle) - Change Image component lazy=true to loading=lazy #18138 Rename
lazy=true
toloading=lazy
to match web standard (@styfle) - Update Image Optimization API to prevent upscaling image #18147 Prevent upscaling images, API should never return an image width larger than the source image width (@styfle)
- Add docs for Image Optimization #18107 Add documentation for
next/image
and automatic image optimization (@styfle) - Update redirect query encoding #18149 Correctly encode the
url
parameter (@ijjk) - Add missing w param fallback #18151 Add missing
w
param for old browsers like IE that dont supportsrcset
(@styfle) - Add support for string width/height on Image component #18178 Add support for string
width
andheight
attributes (use parseInt and error) (@styfle) - Add next/image default loader errors #18152 Errors from image optimization need to be surfaced, ie better message when absolute url is not in
domains
(@ijjk) - Lazy loading can probably be converted to effect + state (@atcastle @devknoll)
- Add config limit checks for image optimizer #18217 Limit maximum number of
images.domains
andimages.sizes
to 50, maximum value of size to 10000 - Bypass image optimization for vector images #18179 Ignore svg for optimization (vector images can be considered already optimized) (@styfle)
- #5321 Only enable Vercel API in
@vercel/next
whenloader=default
(@styfle) - Image Optimization API should 404 when loader is not default #18211 Only enable Next API when
loader=default
(@styfle) - Fix Image
srcset
to ensure the component'swidth
is the largest possible image #18236 Fixsrcset
to ensure the componentswidth
is the largest possible image (@styfle) - Separate config into
deviceSizes
andiconSizes
#18267 SeparatedeviceSizes
andiconsSizes
(@styfle) - Add support number quality on Image Component #18224 The
quality
attribute should allow number or string likewidth
(@ykzts) - Fix trailing slash for default image loader #18298 Fix redirect in
next dev
for/_next/image/
to/_next/image
(@styfle) - E2E tests to compare
next dev
and Vercel deployments - Add err.sh for image config errors #18424 Add err.sh for missing images domain #18325 Add err.sh links for all errors
- Deploy to nextjs.org (start with
/next/conf
) (@leerob) - Deploy to vercel.com (start with
@geist/image/new
)
Metadata
Metadata
Assignees
Labels
No labels