{"id":18507833,"url":"https://github.com/chenbin92/react-image-zoom","last_synced_at":"2026-04-29T17:01:36.718Z","repository":{"id":32856834,"uuid":"144456032","full_name":"chenbin92/react-image-zoom","owner":"chenbin92","description":"Image zoom for React ","archived":false,"fork":false,"pushed_at":"2022-12-08T21:37:31.000Z","size":6404,"stargazers_count":2,"open_issues_count":20,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-05-14T09:17:25.961Z","etag":null,"topics":["image-zoom","react"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/chenbin92.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-08-12T10:02:59.000Z","updated_at":"2019-05-08T03:17:37.000Z","dependencies_parsed_at":"2023-01-14T22:31:00.909Z","dependency_job_id":null,"html_url":"https://github.com/chenbin92/react-image-zoom","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/chenbin92/react-image-zoom","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chenbin92%2Freact-image-zoom","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chenbin92%2Freact-image-zoom/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chenbin92%2Freact-image-zoom/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chenbin92%2Freact-image-zoom/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/chenbin92","download_url":"https://codeload.github.com/chenbin92/react-image-zoom/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chenbin92%2Freact-image-zoom/sbom","scorecard":{"id":275978,"data":{"date":"2025-08-11","repo":{"name":"github.com/chenbin92/react-image-zoom","commit":"b934c0d0ee28c3a6b496022c30e3a8770cad3a56"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":1.7,"checks":[{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Code-Review","score":0,"reason":"Found 0/30 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"SAST","score":0,"reason":"no SAST tool detected","details":["Warn: no pull requests merged into dev branch"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Vulnerabilities","score":0,"reason":"119 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-6chw-6frg-f759","Warn: Project is vulnerable to: GHSA-v88g-cgmw-v5xw","Warn: Project is vulnerable to: GHSA-whgm-jr23-g3j9","Warn: Project is vulnerable to: GHSA-93q8-gq69-wqmw","Warn: Project is vulnerable to: GHSA-fwr7-v2mv-hh25","Warn: Project is vulnerable to: GHSA-67hx-6x53-jw92","Warn: Project is vulnerable to: GHSA-qwcr-r2fm-qrc7","Warn: Project is vulnerable to: GHSA-v6h2-p8h4-qcjw","Warn: Project is vulnerable to: GHSA-cwfw-4gq5-mrqx","Warn: Project is vulnerable to: GHSA-g95f-p29q-9xw4","Warn: Project is vulnerable to: GHSA-grv7-fg5c-xmjg","Warn: Project is vulnerable to: GHSA-x9w5-v3q2-3rhw","Warn: Project is vulnerable to: GHSA-hc9w-4p87-j549","Warn: Project is vulnerable to: GHSA-wg6g-ppvx-927h","Warn: Project is vulnerable to: GHSA-c6rq-rjc2-86v2","Warn: Project is vulnerable to: GHSA-257v-vj4p-3w2h","Warn: Project is vulnerable to: GHSA-pxg6-pf52-xh8x","Warn: Project is vulnerable to: GHSA-3xgq-45jj-v275","Warn: Project is vulnerable to: GHSA-p28h-cc7q-c4fg","Warn: Project is vulnerable to: GHSA-w573-4hg7-7wgq","Warn: Project is vulnerable to: GHSA-ff7x-qrg7-qggm","Warn: Project is vulnerable to: GHSA-vh7m-p724-62c2","Warn: Project is vulnerable to: GHSA-r9p9-mrjm-926w","Warn: Project is vulnerable to: GHSA-434g-2637-qmqr","Warn: Project is vulnerable to: GHSA-49q7-c7j4-3p7m","Warn: Project is vulnerable to: GHSA-977x-g7h5-7qgw","Warn: Project is vulnerable to: GHSA-f7q4-pwc6-w24p","Warn: Project is vulnerable to: GHSA-fc9h-whq2-v747","Warn: Project is vulnerable to: GHSA-vjh7-7g9h-fjfh","Warn: Project is vulnerable to: GHSA-4gmj-3p3h-gm8h","Warn: Project is vulnerable to: GHSA-3gx7-xhv7-5mx3","Warn: Project is vulnerable to: GHSA-6h5x-7c5m-7cr7","Warn: Project is vulnerable to: GHSA-rv95-896h-c2vc","Warn: Project is vulnerable to: GHSA-qw6h-vgh9-j6wx","Warn: Project is vulnerable to: GHSA-fjxv-7rqg-78g4","Warn: Project is vulnerable to: GHSA-8r6j-v8pm-fqw3","Warn: Project is vulnerable to: MAL-2023-462","Warn: Project is vulnerable to: GHSA-pfrx-2q88-qq97","Warn: Project is vulnerable to: GHSA-43f8-2h32-f4cj","Warn: Project is vulnerable to: GHSA-pfq8-rq6v-vf5m","Warn: Project is vulnerable to: GHSA-qqgx-2p2h-9c37","Warn: Project is vulnerable to: GHSA-7r28-3m3f-r2pr","Warn: Project is vulnerable to: GHSA-r8j5-h5cx-65gg","Warn: Project is vulnerable to: GHSA-2pr6-76vf-7546","Warn: Project is vulnerable to: GHSA-8j8c-7jfh-h6hx","Warn: Project is vulnerable to: GHSA-896r-f27r-55mw","Warn: Project is vulnerable to: GHSA-9c47-m6qq-7p4h","Warn: Project is vulnerable to: GHSA-6c8f-qphg-qjgp","Warn: Project is vulnerable to: GHSA-593f-38f6-jp5m","Warn: Project is vulnerable to: GHSA-x2rg-q646-7m2v","Warn: Project is vulnerable to: GHSA-jgmv-j7ww-jx2x","Warn: Project is vulnerable to: GHSA-76p3-8jx3-jpfq","Warn: Project is vulnerable to: GHSA-3rfm-jhwj-7488","Warn: Project is vulnerable to: GHSA-hhq3-ff78-jv3g","Warn: Project is vulnerable to: GHSA-4xc9-xhrj-v574","Warn: Project is vulnerable to: GHSA-x5rq-j2xg-h7qm","Warn: Project is vulnerable to: GHSA-jf85-cpcp-j695","Warn: Project is vulnerable to: GHSA-p6mc-m468-83gw","Warn: Project is vulnerable to: GHSA-29mw-wpgm-hmr9","Warn: Project is vulnerable to: GHSA-35jh-r3h4-6jhm","Warn: Project is vulnerable to: GHSA-xf5p-87ch-gxw2","Warn: Project is vulnerable to: GHSA-5v2h-r2cx-5xgj","Warn: Project is vulnerable to: GHSA-rrrm-qjm4-v8hf","Warn: Project is vulnerable to: GHSA-4xcv-9jjx-gfj3","Warn: Project is vulnerable to: GHSA-952p-6rrq-rcjv","Warn: Project is vulnerable to: GHSA-f8q6-p94x-37v3","Warn: Project is vulnerable to: GHSA-vh95-rmgr-6w4m","Warn: Project is vulnerable to: GHSA-xvch-5gv4-984h","Warn: Project is vulnerable to: GHSA-fhjf-83wg-r2j9","Warn: Project is vulnerable to: GHSA-r683-j2x4-v87g","Warn: Project is vulnerable to: GHSA-rp65-9cf3-cjxr","Warn: Project is vulnerable to: GHSA-hj48-42vr-x3v9","Warn: Project is vulnerable to: GHSA-9wv6-86v2-598j","Warn: Project is vulnerable to: GHSA-rhx6-c78j-4q9w","Warn: Project is vulnerable to: GHSA-h7cp-r72f-jxh6","Warn: Project is vulnerable to: GHSA-v62p-rq8g-8h59","Warn: Project is vulnerable to: GHSA-566m-qj78-rww5","Warn: Project is vulnerable to: GHSA-7fh5-64p2-3v2j","Warn: Project is vulnerable to: GHSA-hrpp-h998-j3pp","Warn: Project is vulnerable to: GHSA-29gp-92wp-94q8","Warn: Project is vulnerable to: GHSA-5q6m-3h65-w53x","Warn: Project is vulnerable to: GHSA-mvjj-gqq2-p4hw","Warn: Project is vulnerable to: GHSA-p8p7-x288-28g6","Warn: Project is vulnerable to: GHSA-c2qf-rxjj-qqgw","Warn: Project is vulnerable to: GHSA-m6fv-jmcg-4jfg","Warn: Project is vulnerable to: GHSA-h9rv-jmmf-4pgx","Warn: Project is vulnerable to: GHSA-hxcc-f52p-wc94","Warn: Project is vulnerable to: GHSA-cm22-4g7w-348p","Warn: Project is vulnerable to: GHSA-4g88-fppr-53pp","Warn: Project is vulnerable to: GHSA-4jqc-8m5r-9rpr","Warn: Project is vulnerable to: GHSA-g4rg-993r-mgx7","Warn: Project is vulnerable to: GHSA-4rq4-32rv-6wp6","Warn: Project is vulnerable to: GHSA-64g7-mvw6-v9qj","Warn: Project is vulnerable to: GHSA-vx3p-948g-6vhq","Warn: Project is vulnerable to: GHSA-3jfq-g458-7qm9","Warn: Project is vulnerable to: GHSA-r628-mhmh-qjhw","Warn: Project is vulnerable to: GHSA-9r2w-394v-53qc","Warn: Project is vulnerable to: GHSA-5955-9wpr-37jh","Warn: Project is vulnerable to: GHSA-qq89-hq3f-393p","Warn: Project is vulnerable to: GHSA-f5x3-32g6-xq36","Warn: Project is vulnerable to: GHSA-29xr-v42j-r956","Warn: Project is vulnerable to: GHSA-52f5-9888-hmc6","Warn: Project is vulnerable to: GHSA-72xf-g2v4-qvf3","Warn: Project is vulnerable to: GHSA-662x-fhqg-9p8v","Warn: Project is vulnerable to: GHSA-394c-5j6w-4xmx","Warn: Project is vulnerable to: GHSA-78cj-fxph-m83p","Warn: Project is vulnerable to: GHSA-fhg7-m89q-25r3","Warn: Project is vulnerable to: GHSA-332q-7ff2-57h2","Warn: Project is vulnerable to: GHSA-46c4-8wrp-j99v","Warn: Project is vulnerable to: GHSA-9m6j-fcg5-2442","Warn: Project is vulnerable to: GHSA-hh27-ffr2-f2jc","Warn: Project is vulnerable to: GHSA-rqff-837h-mm52","Warn: Project is vulnerable to: GHSA-8v38-pw62-9cw2","Warn: Project is vulnerable to: GHSA-hgjh-723h-mx2j","Warn: Project is vulnerable to: GHSA-jf5r-8hm2-f872","Warn: Project is vulnerable to: GHSA-wr3j-pwj9-hqq6","Warn: Project is vulnerable to: GHSA-g78m-2chm-r7qv","Warn: Project is vulnerable to: GHSA-c4w7-xm78-47vh","Warn: Project is vulnerable to: GHSA-p9pc-299p-vxgp"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-17T14:24:10.509Z","repository_id":32856834,"created_at":"2025-08-17T14:24:10.509Z","updated_at":"2025-08-17T14:24:10.509Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32435122,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-29T13:34:34.882Z","status":"ssl_error","status_checked_at":"2026-04-29T13:34:29.830Z","response_time":110,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["image-zoom","react"],"created_at":"2024-11-06T15:12:32.686Z","updated_at":"2026-04-29T17:01:36.688Z","avatar_url":"https://github.com/chenbin92.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# react-image-zoom\n\n\u003e Forked from  [react-medium-image-zoom](https://github.com/rpearce/react-medium-image-zoom)\n\nThis library is a different implementation of [Medium.com's image zoom](https://medium.com/design/image-zoom-on-medium-24d146fc0c20) that allows for a low-res and high-res images to work together for “zooming” effects and works regardless of parent elements that have `overflow: hidden` or [parents with transform properties](https://codepen.io/rpearce/pen/MEyOmb). Versions `\u003e=3.0.0` are compatible with [React.js](https://github.com/facebook/react) `\u003e=16.x`; if you need compatibility with `react@^0.14.0 || ^15.0.0`, please use version `2.x`.\n\nYou can [view the demo here](https://rpearce.github.io/react-medium-image-zoom/).\n\n![demo](https://user-images.githubusercontent.com/592876/30678463-7ef720f0-9ee6-11e7-925d-924da1b58157.gif)\n\n## Installation\n```\n$ npm install --save react-zoom-images\n```\n\n## Usage\n```js\nimport ImageZoom from 'react-zoom-images'\n\nfunction MyComponent(props) {\n  return (\n    \u003cdiv\u003e\n      \u003cp\u003eSome text...\u003c/p\u003e\n\n      \u003cImageZoom\n        image={{\n          src: 'bridge.jpg',\n          alt: 'Golden Gate Bridge',\n          className: 'img',\n          style: { width: '50em' }\n        }}\n        zoomImage={{\n          src: 'bridge-big.jpg',\n          alt: 'Golden Gate Bridge'\n        }}\n      /\u003e\n\n      \u003cp\u003eSome text...\u003c/p\u003e\n    \u003c/div\u003e\n  )\n}\n```\n\n| Prop                 | Type    | Required | Default           | Details |\n| ---                  | ---     | ---      | ---               | ---     |\n| `image`              | object  | yes      | none              | The original image by default |\n| `zoomImage`          | object  | no       | `image`           | The image to be used for zooming |\n| `originalImage` \u003cimg src=\"https://img.alicdn.com/tfs/TB1PWfhnsIrBKNjSZK9XXagoVXa-128-128.png\" width=\"16\" height=\"16\"\u003e               | string  | no       | `image`           | Specify the original image （`image`, `zoomImage`） |\n| `zoomTransitionDuration`  \u003cimg src=\"https://img.alicdn.com/tfs/TB1PWfhnsIrBKNjSZK9XXagoVXa-128-128.png\" width=\"16\" height=\"16\"\u003e         | number  | no       | `300ms`           | Animation time when opening the zoomImage |\n|`unzoomTransitionDuration`\u003cimg src=\"https://img.alicdn.com/tfs/TB1PWfhnsIrBKNjSZK9XXagoVXa-128-128.png\" width=\"16\" height=\"16\"\u003e      | number  | no       | `300ms`           | Animation time when closing the zoomImage |\n| `zoomMargin`                  | number  | no       | `40`              | Pixel number to offset zoomed image from the window |\n| `isZoomed`                    | boolean | no       | `false`           | For more direct control over the zoom state |\n| `shouldHandleZoom`            | func    | no       | `(event) =\u003e true` | Pass this callback to intercept a zoom click event and determine whether or not to zoom. Function must return a truthy or falsy value |\n| `shouldReplaceImage`          | boolean | no       | `true`            | Once the image has been \"zoomed\" and downloaded the larger image, this replaces the original `image` with the `zoomImage` |\n| `shouldRespectMaxDimension`   | boolean | no       | `false`           | When `true`, don't make the zoomed image's dimensions larger than the original dimensions. Only supported if no `zoomImage` is provided. Will also disable the zooming if the image's is already rendered at its maximum width \u0026 height |\n| `defaultStyles`               | object  | no       | `{}`              | For fine-grained control over all default styles (`zoomContainer`, `overlay`, `image`, `zoomImage`) |\n| `onZoom`                      | func    | no       | `() =\u003e {}`        | Pass this callback to respond to a zoom interaction. |\n| `onUnzoom`                    | func    | no       | `() =\u003e {}`        | Pass this callback to respond to an unzoom interaction. |\n\nEach one of these image props accepts normal `image` props, for example:\n\n| Prop | Type | Required | Details |\n| ------ |  ---- | ------- | ------- |\n| `src` | string | yes | The source for the image |\n| `alt` | string | no | The alt text for the image |\n| `className` | string | no | Classes to apply to the image |\n| `style` | object | no | Additional styles to apply to the image |\n| ... | ... | no | ... |\n\n## Controlled vs Uncontrolled Modes\nSimilar to how an `\u003cinput /\u003e` works in React, if the consumer initially chooses to control the `isZoomed` value, then this means the consumer is now responsible for telling the component the value of `isZoomed`. If the consumer instantiates the component with a non-null `isZoomed` value and subsequently does _not_ pass a value for it on updates, then an error will be thrown notifying the consumer that this is a controlled component.\n\nThe reverse is true, as well. If the component is instantiated without an `isZoomed` value, then the component will handle its own `isZoomed` state. If a non-null `isZoomed` prop is passed _after_ instantiation, then an error will be thrown notifying the consumer that this component controls its own state.\n\n## Browser Support\nCurrently, this has only been tested on the latest modern browsers. Pull requests are welcome.\n\n## Development\nThe source code is located within the `src` directory. Use `$ npm run build` to build the main file as well as the example during development and/or use `$ npm run dev` to have it watch for changes to `src/` and `example/src`.\n\nYou can view the built example as a file via `$ open example/build/index.html`, or you can use `$ npm run dev` to start a local dev server and navigate to [http://localhost:3000](http://localhost:3000).\n\n### Storybook\nThis project's different options and use cases are documented in [storybook](https://github.com/storybooks/storybook). You can use this in dev like so:\n\n* `$ yarn run storybook` (or `$ npm run storybook`)\n* navigate to http://localhost:6006\n\nThe page should look like this:\n\n![image](https://user-images.githubusercontent.com/592876/30678386-097f05c2-9ee6-11e7-936d-56a12b59d4b8.png)\n\n## Contributing\n\n1. Check out the [issues](https://github.com/rpearce/react-medium-image-zoom/issues)\n1. Fork this repository\n1. Clone your fork\n1. Check out a feature branch (`$ git checkout -b my-feature`)\n1. Make your changes\n1. Run `$ yarn run build` to compile your changes and build the example\n1. Test your example (see the \"Development\" section above)\n1. Push your branch to your GitHub repo\n1. Create a pull request from your branch to this repo's `X-0-stable` branch (where `X` is the correct major version you're targeting)\n1. When all is merged, pull down the upstream changes to your master\n  * `$ git remote add upstream git@github.com:rpearce/react-medium-image-zoom.git`\n  * `$ git fetch upstream`\n  * `$ git merge upstream/master`\n1. Delete your feature branch\n\n## Contributors\n\nThanks goes to these wonderful people ([emoji key](https://github.com/kentcdodds/all-contributors#emoji-key)):\n\n\u003c!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section --\u003e\n\u003c!-- prettier-ignore --\u003e\n| [\u003cimg src=\"https://avatars1.githubusercontent.com/u/4642599?v=4\" width=\"100px;\"/\u003e\u003cbr /\u003e\u003csub\u003e\u003cb\u003eCameron Bothner\u003c/b\u003e\u003c/sub\u003e](https://github.com/cbothner)\u003cbr /\u003e[💻](https://github.com/rpearce/react-medium-image-zoom/commits?author=cbothner \"Code\") [📖](https://github.com/rpearce/react-medium-image-zoom/commits?author=cbothner \"Documentation\") [🐛](https://github.com/rpearce/react-medium-image-zoom/issues?q=author%3Acbothner \"Bug reports\") [💡](#example-cbothner \"Examples\") [🤔](#ideas-cbothner \"Ideas, Planning, \u0026 Feedback\") [👀](#review-cbothner \"Reviewed Pull Requests\") [⚠️](https://github.com/rpearce/react-medium-image-zoom/commits?author=cbothner \"Tests\") | [\u003cimg src=\"https://avatars2.githubusercontent.com/u/12982155?v=4\" width=\"100px;\"/\u003e\u003cbr /\u003e\u003csub\u003e\u003cb\u003eJeremy Bini\u003c/b\u003e\u003c/sub\u003e](https://github.com/jeremybini)\u003cbr /\u003e[💻](https://github.com/rpearce/react-medium-image-zoom/commits?author=jeremybini \"Code\") [🐛](https://github.com/rpearce/react-medium-image-zoom/issues?q=author%3Ajeremybini \"Bug reports\") | [\u003cimg src=\"https://avatars1.githubusercontent.com/u/7355199?v=4\" width=\"100px;\"/\u003e\u003cbr /\u003e\u003csub\u003e\u003cb\u003eismay\u003c/b\u003e\u003c/sub\u003e](https://ismaywolff.nl)\u003cbr /\u003e[🐛](https://github.com/rpearce/react-medium-image-zoom/issues?q=author%3Aismay \"Bug reports\") [🤔](#ideas-ismay \"Ideas, Planning, \u0026 Feedback\") | [\u003cimg src=\"https://avatars0.githubusercontent.com/u/220647?v=4\" width=\"100px;\"/\u003e\u003cbr /\u003e\u003csub\u003e\u003cb\u003eRajit Singh\u003c/b\u003e\u003c/sub\u003e](https://www.qeek.co)\u003cbr /\u003e[🐛](https://github.com/rpearce/react-medium-image-zoom/issues?q=author%3Arajit \"Bug reports\") | [\u003cimg src=\"https://avatars1.githubusercontent.com/u/16122?v=4\" width=\"100px;\"/\u003e\u003cbr /\u003e\u003csub\u003e\u003cb\u003eRoberto Saccon\u003c/b\u003e\u003c/sub\u003e](https://github.com/rsaccon)\u003cbr /\u003e[🐛](https://github.com/rpearce/react-medium-image-zoom/issues?q=author%3Arsaccon \"Bug reports\") | [\u003cimg src=\"https://avatars0.githubusercontent.com/u/6598350?v=4\" width=\"100px;\"/\u003e\u003cbr /\u003e\u003csub\u003e\u003cb\u003ewtfdaemon\u003c/b\u003e\u003c/sub\u003e](https://github.com/wtfdaemon)\u003cbr /\u003e[🐛](https://github.com/rpearce/react-medium-image-zoom/issues?q=author%3Awtfdaemon \"Bug reports\") | [\u003cimg src=\"https://avatars2.githubusercontent.com/u/592876?v=4\" width=\"100px;\"/\u003e\u003cbr /\u003e\u003csub\u003e\u003cb\u003eRobert Pearce\u003c/b\u003e\u003c/sub\u003e](https://robertwpearce.com)\u003cbr /\u003e[💻](https://github.com/rpearce/react-medium-image-zoom/commits?author=rpearce \"Code\") [💬](#question-rpearce \"Answering Questions\") [⚠️](https://github.com/rpearce/react-medium-image-zoom/commits?author=rpearce \"Tests\") [🐛](https://github.com/rpearce/react-medium-image-zoom/issues?q=author%3Arpearce \"Bug reports\") [💡](#example-rpearce \"Examples\") [🎨](#design-rpearce \"Design\") [👀](#review-rpearce \"Reviewed Pull Requests\") [🤔](#ideas-rpearce \"Ideas, Planning, \u0026 Feedback\") [📖](https://github.com/rpearce/react-medium-image-zoom/commits?author=rpearce \"Documentation\") |\n| :---: | :---: | :---: | :---: | :---: | :---: | :---: |\n| [\u003cimg src=\"https://avatars1.githubusercontent.com/u/606159?v=4\" width=\"100px;\"/\u003e\u003cbr /\u003e\u003csub\u003e\u003cb\u003eJosh Sloat\u003c/b\u003e\u003c/sub\u003e](http://www.joshsloat.com)\u003cbr /\u003e[🐛](https://github.com/rpearce/react-medium-image-zoom/issues?q=author%3Ajoshsloat \"Bug reports\") [💻](https://github.com/rpearce/react-medium-image-zoom/commits?author=joshsloat \"Code\") [💡](#example-joshsloat \"Examples\") [👀](#review-joshsloat \"Reviewed Pull Requests\") [🤔](#ideas-joshsloat \"Ideas, Planning, \u0026 Feedback\") [📖](https://github.com/rpearce/react-medium-image-zoom/commits?author=joshsloat \"Documentation\") [🎨](#design-joshsloat \"Design\") [💬](#question-joshsloat \"Answering Questions\") | [\u003cimg src=\"https://avatars1.githubusercontent.com/u/5960217?v=4\" width=\"100px;\"/\u003e\u003cbr /\u003e\u003csub\u003e\u003cb\u003eAswin\u003c/b\u003e\u003c/sub\u003e](https://github.com/aswinckr)\u003cbr /\u003e[💬](#question-aswinckr \"Answering Questions\") | [\u003cimg src=\"https://avatars3.githubusercontent.com/u/1233347?v=4\" width=\"100px;\"/\u003e\u003cbr /\u003e\u003csub\u003e\u003cb\u003eAlex Shelkovskiy\u003c/b\u003e\u003c/sub\u003e](https://github.com/alexshelkov)\u003cbr /\u003e[🐛](https://github.com/rpearce/react-medium-image-zoom/issues?q=author%3Aalexshelkov \"Bug reports\") | [\u003cimg src=\"https://avatars1.githubusercontent.com/u/7365629?v=4\" width=\"100px;\"/\u003e\u003cbr /\u003e\u003csub\u003e\u003cb\u003eAdrian Bindiu\u003c/b\u003e\u003c/sub\u003e](http://adrian-design.com)\u003cbr /\u003e[🐛](https://github.com/rpearce/react-medium-image-zoom/issues?q=author%3ASnowsoul \"Bug reports\") | [\u003cimg src=\"https://avatars3.githubusercontent.com/u/110935?v=4\" width=\"100px;\"/\u003e\u003cbr /\u003e\u003csub\u003e\u003cb\u003eKendall Buchanan\u003c/b\u003e\u003c/sub\u003e](https://github.com/kendagriff)\u003cbr /\u003e[🐛](https://github.com/rpearce/react-medium-image-zoom/issues?q=author%3Akendagriff \"Bug reports\") | [\u003cimg src=\"https://avatars2.githubusercontent.com/u/25674779?v=4\" width=\"100px;\"/\u003e\u003cbr /\u003e\u003csub\u003e\u003cb\u003eKaycee\u003c/b\u003e\u003c/sub\u003e](https://github.com/HippoDippo)\u003cbr /\u003e[💻](https://github.com/rpearce/react-medium-image-zoom/commits?author=HippoDippo \"Code\") | [\u003cimg src=\"https://avatars2.githubusercontent.com/u/9633371?v=4\" width=\"100px;\"/\u003e\u003cbr /\u003e\u003csub\u003e\u003cb\u003eAnuj\u003c/b\u003e\u003c/sub\u003e](http://shuffle.do)\u003cbr /\u003e[🐛](https://github.com/rpearce/react-medium-image-zoom/issues?q=author%3Aoyeanuj \"Bug reports\") [💬](#question-oyeanuj \"Answering Questions\") |\n| [\u003cimg src=\"https://avatars1.githubusercontent.com/u/10273946?v=4\" width=\"100px;\"/\u003e\u003cbr /\u003e\u003csub\u003e\u003cb\u003eLudwig Frank\u003c/b\u003e\u003c/sub\u003e](https://github.com/ludwigfrank)\u003cbr /\u003e[🐛](https://github.com/rpearce/react-medium-image-zoom/issues?q=author%3Aludwigfrank \"Bug reports\") [💻](https://github.com/rpearce/react-medium-image-zoom/commits?author=ludwigfrank \"Code\") |\n\u003c!-- ALL-CONTRIBUTORS-LIST:END --\u003e\n\nThis project follows the [all-contributors](https://github.com/kentcdodds/all-contributors) specification. Contributions of any kind welcome!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchenbin92%2Freact-image-zoom","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchenbin92%2Freact-image-zoom","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchenbin92%2Freact-image-zoom/lists"}