Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use the next/image #118

Open
fariborz0015 opened this issue Jan 23, 2023 · 3 comments
Open

Use the next/image #118

fariborz0015 opened this issue Jan 23, 2023 · 3 comments
Labels
question Further information is requested

Comments

@fariborz0015
Copy link

hello my friend ,

thank you for your great package

my main stack is NextJs developing and i need in improve performance case in my project to use the next js local image tag from "next/image"

is exist any way to pass the this component as a node to lazyLoad component to use this node for load image replace html image tag ?

@moyongshi
Copy link

Next.js has handled very good! you don't need this package

@monolithed
Copy link

monolithed commented Sep 18, 2023

@moyongshi, both projects are dead. Have you tried to set srcSet in Next.js? It's not possible

@jotacodestudio
Copy link
Collaborator

@fariborz0015 thanks for your question. We are not very familiar with Next.Js, but have you tried wrapping the next/image component with LazyLoadComponent? You could use the LazyLoadImage implementation as a reference, but changing <img> with the Next.Js image component.

@jotacodestudio jotacodestudio added the question Further information is requested label Oct 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

4 participants