Replies: 1 comment 9 replies
-
@lezan Can you help me understand what this buys you over passing the <Zoom zoomImg={{ alt, src: getImage(large) }}>
<GatsbyImage
className="image-zoom"
alt={alt}
image={getImage(small)}
/>
</Zoom> In case you didn't know: I recommend styling things by either overriding the selectors in https://github.com/rpearce/react-medium-image-zoom/blob/main/source/styles.css or by copying the CSS file and adding your own values. |
Beta Was this translation helpful? Give feedback.
9 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello @rpearce, just an idea about a new feature to extend the compatibility with the
gatsby-plugin-image
. It would be cool if it were possibility to use aGatbsyImage
component aszoomImg
props.Something like:
Beta Was this translation helpful? Give feedback.
All reactions