react-medium-image-zoom show high quality image onclick #460
levantu28091997
started this conversation in
General
Replies: 2 comments 1 reply
-
@levantu28091997 If you can provide an example I can test, I'm happy to try to help debug it. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Thanks @rpearce . |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I use the library react-medium-image-zoom
My code:
<Zoom classDialog="custom-zoom" zoomImg={{ src: articleData?.srcset, srcSet: articleData?.srcset }} key={
photo-featured}> <ImageMS src={articleData?.srcset} alt={
teaser image} priority={true} service="icms" width={1340} height={756} className={clsx( "rounded-lg aspect-video object-cover", "w-full mb-2.5", )} /> </Zoom>
Can someone tell me, how can the zoom not exceed the original size of the image?
Like the sample example: https://rpearce.github.io/react-medium-image-zoom/?path=/story/img--small-src-size
Thanks !
Beta Was this translation helpful? Give feedback.
All reactions