Skip to content

Missing "sizes" prop when using Next.js Image component #109

Discussion options

You must be logged in to vote

Thank you for catching this issue. The fix is now available in v2.0.4, and I've updated the example on the documentation website. To have the library produce the sizes attribute in this case, be sure to supply the sizes prop in the PhotoAlbum markup.

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Answer selected by igordanchenko
Comment options

You must be logged in to vote
1 reply
@igordanchenko
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants